*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
}

.banner1{
    width: fit-content;
    height: fit-content;
    margin-top: 2%;
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.banner1 .slider{
    width: 140px;
    height: 200px;
    left: calc(20% - 30px);
    transform-style: preserve-3d;
    transform: perspective(300px);
    animation: autoRun 27s linear infinite;
    z-index: 2;
    display: flex;
    margin-top: 75%;
}



@keyframes autoRun{
    from{
        transform: perspective(1700px) rotateX(-2deg) rotateY(0deg);
    }to{
        transform: perspective(1700px) rotateX(-2deg) rotateY(360deg);
    }
}

.banner1 .slider .item{
    position: absolute;
    inset: 10% 0 0 0;
    transform: 
        rotateY(calc( (var(--position) - 1) * (360 / var(--quantity)) * 1deg))
        translateZ(360px);
}

.banner1 .slider .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 400ms;
}

.banner1 .slider .item img:hover{
    scale: 1.15;
}

#slider1{
    animation-delay: 1000ms;
}

#slider2{
    animation-delay: 2000ms;
}

#slider3{
    animation-delay: 3000ms;
}

#slider4{
    animation-delay: 4000ms;
    margin-bottom: 64%;
}