@import url('https://fonts.cdnfonts.com/css/ica-rubrik-black');
@import url('https://fonts.cdnfonts.com/css/poppins');

.bannerr{
    width: 100%;
 
    text-align: center;
    overflow: hidden;
    position: relative;
    height: 480px;
    background: linear-gradient(rgba(0, 170, 28, 0.5), rgba(16, 185, 1, 0.5)) ;
}
.bannerr .sliderr{
    position: absolute;
    width: 180px;
    height: 220px;
    top: 10%;
  
    left: calc(50% - 100px);
    transform-style: preserve-3d;
    transform: perspective(1000px);
    animation: autoRun 20s linear infinite;
    z-index: 2;
}

.bannerr .videoo{
    position: relative;
   max-width: 100%;
    object-fit: cover;
    height: 550px;
}
.bannerr h1{
  position: relative;
  bottom:330px;
}


.bannerr h1{ position: relative;
    font-size: 65px;
  
    color: #fffffff6;
    text-shadow: 0px 3px 4px rgb(0, 0, 0);


  
    animation: weight-change 3.5s ease-in-out infinite alternate, kerning-animation 3.6s ease-in-out infinite alternate;
    }


@keyframes autoRun{
    from{
        transform: perspective(1000px) rotateX(-10deg) rotateY(0deg);
    }to{
        transform: perspective(1000px) rotateX(-10deg) rotateY(360deg);
    }
}

.bannerr .sliderr .item{
    position: absolute;
    inset: 0 0 0 0;
    transform: 
        rotateY(calc( (var(--position) - 1) * (360 / var(--quantity)) * 1deg))
        translateZ(500px);
}
.bannerr .sliderr .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25%;
}
.bannerr .contentt{
    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-between;
    align-items: center;
    z-index: 1;
}
.bannerr .contentt h1{
    font-family: 'ICA Rubrik';
    font-size: 16em;
    line-height: 1em;
    color: #25283B;
    position: relative;
}
.bannerr .contentt h1::after{
    position: absolute;
    inset: 0 0 0 0;
    content: attr(data-content);
    z-index: 2;
    -webkit-text-stroke: 2px #d2d2d2;
    color: transparent;
}
.bannerr .contentt .author{
    font-family: Poppins;
    text-align: right;
    max-width: 200px;
}
.bannerr .content h2{
    font-size: 3em;
}

/*product*/
.wrapper{
    margin: 100px auto;
    max-width: 1100px;
  }
  .wrapper nav{
    display: flex;
    justify-content: center;
  }
  .wrapper .items{
    display: flex;
    max-width: 720px;
    width: 100%;
    justify-content: space-between;
  }
  .items span{
    padding: 7px 25px;

    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    color: #12a500;
    border-radius: 50px;
    border: 2px solid #12a500;
    transition: all 0.3s ease;
    line-height: 75px;
  }
  .items span.active,
  .items span:hover{
    color: #fff;
    background: #12a500;
  }
  
  .gallery{
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
  }
  .gallery .image{
    width: calc(100% / 4);
    padding: 7px;
  }
  .gallery .image span{
    display: flex;
    width: 100%;
    overflow: hidden;
  }
  .gallery .image img{
    width: 100%;
    vertical-align: middle;
    transition: all 0.3s ease;
  }
  .gallery .image:hover img{
    transform: scale(1.1);
  }
  .gallery .image.hide{
    display: none;
  }
  .gallery .image.show{
    animation: animate 0.4s ease;
  }
  @keyframes animate {
    0%{
      transform: scale(0.5);
    }
    100%{
      transform: scale(1);
    }
  }
  
  .preview-box{
    position: fixed;
    top: 67%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: #fff;
    max-width: 700px;
    width: 100%;
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    border-radius: 3px;
    padding: 0 5px 5px 5px;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.2);
  }
  .preview-box.show{
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
    transition: all 0.3s ease;
  }
  .preview-box .details{
    padding: 13px 15px 13px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .details .title{
    display: flex;
    font-size: 18px;
    font-weight: 400;
  }
  .details .title p{
    font-weight: 500;
    margin-left: 5px;
  }
  .details .icon{
    color: #22a302;
    font-style: 22px;
    cursor: pointer;
  }
  .preview-box .image-box{
    width: 100%;
    display: flex;
  }
  .image-box img{
    width: 100%;
    border-radius: 0 0 3px 3px;
  }
  .shadow{
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 2;
    display: none;
    background: rgba(0,0,0,0.4);
  }
  .shadow.show{
    display: block;
  }
  
  @media (max-width: 1000px) {
    .gallery .image{
      width: calc(100% / 3);
    }
    .items span{
        line-height: 4;
    }
  }
  @media (max-width: 800px) {
    .gallery .image{
      width: calc(100% / 2);
    }
  }
  @media (max-width: 700px) {
    .wrapper nav .items{
      max-width: 600px;
    }
    nav .items span{
      padding: 7px 15px;
      line-height: 4;
    }
  }
  @media (max-width: 600px) {
    .wrapper{
      margin: 30px auto;
    }
    .wrapper nav .items{
      flex-wrap: wrap;
      justify-content: center;
    }
    nav .items span{
      margin: 5px;
      line-height: 4;
    }
    .gallery .image{
      width: 100%;
    }
  }
@media (max-width: 768px) {
  nav {
    padding: 10px;
  }

  nav .items span {
    justify-content: center;
    gap: 10px;
    line-height: 4;
  }

  .bannerr h1{
    position: relative;
    bottom: 295px;
    FONT-SIZE: 35PX;
  }

  nav .item {
    padding: 6px 10px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  nav .items span {
    gap: 5px;
    line-height: 4;
  }

  nav .item {
    font-size: 12px;
    padding: 5px 8px;
  }
}


/*product*/








@media screen and (max-width: 1023px) {
    .bannerr .sliderr{
        width: 160px;
        height: 200px;
        left: calc(50% - 80px);
    }
    .bannerr .sliderr .item{
        transform: 
            rotateY(calc( (var(--position) - 1) * (360 / var(--quantity)) * 1deg))
            translateZ(300px);
    }
    .bannerr .contentt h1{
        text-align: center;
        width: 100%;
        text-shadow: 0 10px 20px #000;
        font-size: 7em;
    }
    .bannerr .contentt .author{
        color: #fff;
        padding: 20px;
        text-shadow: 0 10px 20px #000;
        z-index: 2;
        max-width: unset;
        width: 100%;
        text-align: center;
        padding: 0 30px;
    }
}
@media screen and (max-width: 767px) {
    .bannerr .sliderr{
        width: 100px;
        height: 150px;
        left: calc(50% - 50px);
    }
    .bannerr h1{
      
    }
    .bannerr{
      height: 320px;
    }

    
    .bannerr .videoo{
      
    
        position: relative;
       max-width: 100%;
        object-fit: cover;
        height: 550px;
    }

    .bannerr .sliderr .item{
        transform: 
            rotateY(calc( (var(--position) - 1) * (360 / var(--quantity)) * 1deg))
            translateZ(180px);
    }
    .bannerr .contentt h1{
        font-size: 5em;
    }
}


