.slide {
  position: relative;
  width: 100%;
  padding-top: 30%;
  overflow: hidden;
  background-color: #fff;
}
 
@keyframes slideshow {
  0% {
    opacity: 0;
  }
 
  10% {
    opacity: 1;
  }
 
  20% {
    opacity: 1
  }
 
  30% {
    opacity: 0;
  }
 
  100% {
    opacity: 0;
  }
}
 
.slide img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  opacity: 0;
  animation: slideshow 35s linear infinite;
}
 
.slide img:nth-child(2) {
  animation-delay: 7s;
}

.slide img:nth-child(3) {
  animation-delay: 14s;
}

.slide img:nth-child(4) {
  animation-delay: 21s;
}

.slide img:last-child {
  animation-delay: 28s;
}