.img-box {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.img1 {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    background: center center no-repeat;
    animation: anime 6s 0s infinite;
    z-index: 0;
    opacity: 0;
}
.img1:nth-of-type(2) {
  -webkit-animation-delay: 3s;
  animation-delay: 3s;
}

.img2 {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    background: center center no-repeat;
    animation: anime 9s 0s infinite;
    z-index: 0;
    opacity: 0;
}

.img2:nth-of-type(2) {
  -webkit-animation-delay: 3s;
  animation-delay: 3s;
}

.img2:nth-of-type(3) {
  -webkit-animation-delay: 6s;
  animation-delay: 6s;
}


.img-box img {
	width: 100%;
}

@keyframes anime {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    60% {
        opacity: 0;
        z-index: 10;
    }
    100% {
        opacity: 0;
    }
}

@media only screen and (max-width: 750px) {
	
	.img-box {
	    aspect-ratio: 7 / 9;
	}

	
}

