.slide {
    width: 400px;
    height: 600px;
    overflow: hidden;
    position: relative;
    background-color: #efe1e1;
    border: 8px solid #27242b;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
  }
  .slide > div {
    width: 100%;
    height: 100%;
    background-size: cover;
    position: absolute;
    animation: slide 25s infinite;
    opacity: 0;
  }
  .slide > div:nth-child(2) {
    animation-delay: 5s;
  }
  .slide > div:nth-child(3) {
    animation-delay: 10s;
  }
  .slide > div:nth-child(4) {
    animation-delay: 15s;
  }
  .slide > div:nth-child(5) {
    animation-delay: 20s;
  }
  .slide > div:nth-child(6) {
    animation-delay: 25s;
  }
  @keyframes slide {
    10% {
      opacity: 1;
    }
    20% {
      opacity: 1;
    }
    30% {
      opacity: 0;
    }
    40% {
      transform: scale(1.2);
    }
  }
  