@import url('https://fonts.cdnfonts.com/css/ica-rubrik-black');
@import url('https://fonts.cdnfonts.com/css/poppins');
*{
    margin: 0;
    padding: 0;
}
.banner{
    width: 100%;
    height: 100vh;
    text-align: center;
    overflow: hidden;
    position: relative;
    background-image: url(bg.png);
    background-size: contain;
    background-repeat: no-repeat;

}
.banner .slider{
  position: absolute;
  width: 200px;
  height: 200px;
  top: 20%;
  left: calc(50% - 100px);
  transform-style: preserve-3d;
  transform:perspective(1000px);
  animation: autoRun 20s linear infinite;
  z-index: 2;
}
@keyframes autoRun {
    from{
        transform: perspective(2500px) rotateX(-15deg) rotateY(0deg);
    }
    to{
        transform: perspective(2500px) rotateX(-15deg)  rotateY(360deg);

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


}
.banner .slider .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.banner .content{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(1400px,100vw);
    height: max-content;
    padding-bottom: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    z-index: 1;
  }
.banner .content h1{
    font-family: 'ICA Rubrik Black', sans-serif;    
    font-size: 6em;
    /* line-height: 1em; */
    color: #25283B;
    position: relative;
}
.banner .content h1::after{
    position: absolute;
    inset: 0 0 0 0;
    content: attr(data-content);
    z-index: 2;
    -webkit-text-stroke: 2px #d2d2d2;
    color: transparent;
  }


.banner .content .author{
    font-family:Poppins;
    text-align: center;
    max-width:200px;
}

.banner .content h2{
    font-size:3em;
}

.banner .content .model{
    background-image: url("model.png");
    width: 100%;
    height: 65vh; /* Added the 'px' unit */
    position: absolute;
    bottom: 0;
    left: 0;
    background-size: auto 130%; /* Adjusted background size to fill width */
    background-repeat: no-repeat;
    background-position: top center;
    z-index: 1;
}