<style>
.slide-smp {
  position: relative;
  overflow: hidden;
  width: 320px;
  height: 302px;
  margin: auto;
  background: #fff;
}

.slide-smp img {
  display: block;
  position: absolute;
  width: inherit;
  height: inherit;
  left: 0;
  opacity: 0;
  animation: slideAnimeSMP 16s ease infinite;
  animation-fill-mode: forwards;
  transition: opacity 0.5s ease;
}

.slide-smp img:nth-of-type(1) {
  animation-delay: 0s;
  opacity: 1;
}

.slide-smp img:nth-of-type(2) {
  animation-delay: 4s;
}

.slide-smp img:nth-of-type(3) {
  animation-delay: 8s;
}

.slide-smp img:nth-of-type(4) {
  animation-delay: 12s;
}



.slide-smp img:not(:nth-of-type(1)) {
  opacity: 0;
}

@keyframes slideAnimeSMP {
  0% {
    opacity: 0;
  }
  12.5% {
    opacity: 1;
  }
  18.75% {
    opacity: 1;
  }
  28% {
    opacity: 1;
  }
  45% {
    opacity: 0;
  }
  62.5% {
    opacity: 0;
  }
  75% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}


</style>

