.img-box {
    position: relative;
    width: 100%;
	aspect-ratio: 4 / 5;
    overflow: hidden;
}

.img1 {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    background: center center no-repeat;
    animation: anime 10s 0s infinite;
    z-index: 0;
    opacity: 0;
}
.img1:nth-of-type(2) {
  -webkit-animation-delay: 5s;
  animation-delay: 5s;
}

@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 {
    position: relative;
    width: 100%;
    }
    
}