@font-face {
    font-family: "neue-haas-grotesk-medium";
    src: url(NHaasGroteskTXPro-65Md.ttf);
}
@font-face {
    font-family: "neue-haas-grotesk-bold";
    src: url(NHaasGroteskTXPro-75Bd.otf);
}

#main-bg {
    position: relative;
    background-size: 100%;
    background-position: center;
    /* background-image: url('../img/andrey-andreyev-dh8ONmfQyQQ-unsplash-min.jpg'); */
    transition: all 0.8s ease-in;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
#main-bg.animate-bg{
    animation: bg 0.8s 1 linear;
}
.hero-section{
    overflow: hidden;
}
.hero-section .main_wrapper{
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 90px;
    padding-left: 30px;
    padding-right: 30px;
    margin: auto;
    width: 100%;
}
.hero-section::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(152deg, #141414 0%, #CACACA42 100%);*/
}
.swiper-slide img {
    width: 100%;
    height: auto;
}
.slider-dots{
    width: 30px;
    min-height: 600px;
}
.swiper-pagination{
    position: static;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    min-height: 600px;
    position: relative;
}
.swiper-pagination:before{
    content: "";
    height: 100%;
    width: 2px;
    background: #B0B7D04D;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-75%);
}
.swiper_navs{
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: calc(100% + 40px);
    left: 0;
    width: 100px;
}
.swiper_navs path{
    fill: white;
}
.swiper-button-prev,
.swiper-button-next {
    position: static;
    height: 40px;
    width: 40px;
    background-color: #949494b8;
    border-radius: 50%;
}
.swiper-button-next:after, .swiper-button-prev:after{
    font-size: 20px;
    color: white;
}
.slider-data{
    width: calc(50% - 50px);
    padding-left: 5%;
    padding-right: 5%;
}
.main-slider{
    position: relative;
    width: 50%;
}
.swiper {
    width: calc( 850px - 40px );
    position: relative;
    z-index: 1;
    padding: 50px 0;
}
.swiper-slide img{
    aspect-ratio: 1/1.2;
    object-fit: cover;
    border-radius: 5px;
    transition: all .5s;
    object-fit: cover;
}
.swiper-slide-prev{
    aspect-ratio: 1/1.7;
}
.swiper-slide-active img{
    aspect-ratio: 1/1.7;
}
.swiper-wrapper{
    align-items: center;
}
.bg-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    transition: opacity 0.3s ease-in-out; /* Smooth fade effect */
    opacity: 1;
}
.bg-yt-video{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    transition: opacity 0.3s ease-in-out; /* Smooth fade effect */
    opacity: 1;
}

.fade-out {
    opacity: 0;
}
.fade-in{
    opacity: 1;
}
.swiper-pagination-bullet {
    background-color: #B0B7D0;
    opacity: 0.75;
    transition: all .3s;
    position: relative;
    font-size: 4px;
    font-weight: bold;
    width: 7px; 
    height: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.swiper-pagination-bullet small{
    display: none;
}
.swiper-pagination-bullet.swiper-pagination-bullet-active{
    transform: scale(3);
}
.as-changing-widget{
    --speed: 0.8s;
    --gap: 40px;
    transition: all 0.3s ease-in-out;
    height: var(--h);
    --height: calc(var(--h) + var(--gap));
    overflow: hidden !important;
    position: relative;
}
.as-changing-widget>div{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.as-changing-widget>div.currentUp{
    z-index: 99;
}
.as-changing-widget>div.currentDown{
    z-index: 99;
}
.as-changing-widget>div.currentUp>*{
    animation: currentUp var(--speed) ease-in-out;
    transform: translateY(0);
}
.as-changing-widget>div.prev>*{
    animation: prev var(--speed) ease-in-out;
    transform: translateY(calc(-1* var(--height)));
}
.as-changing-widget>div.next>*{
    animation: next var(--speed) ease-in-out;
    transform: translateY(var(--height));
}
.as-changing-widget>div.currentDown>*{
    animation: currentDown var(--speed) ease-in-out;
    transform: translateY(0);
}
.as-changing-widget>div>*{
    color: white;
    transform: translateY(calc(-10* var(--height)));
    transition: none !important;
}
.as-changing-widget h2{
    font-size: 64px;
    font-family: "Roboto";
        color: white;
   
    background: linear-gradient(to bottom right,#fff 30%, #d5d8f6 80%,#fdf7fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.as-changing-widget>div>.slider_link{
    background: transparent;
    font-family: 'Open Sans',Arial,Helvetica,sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius:25rem;
    font-size: 14px;
    color: white;
    text-decoration: none;
    display: inline-block;
    border: 2px solid white;
    padding: 8px 50px;
    transition: background .3s,color .3s !important;
}
.as-changing-widget>div>.slider_link:hover{
    background: white;
    color: black;
}
.event-data{
    position: absolute;
    bottom: 10%;
    left: 10%;
}
.event-data .event-name{
    color: white;
    font-size: 19px;
    font-family: "Roboto";
}
.event-data .event-time{
    color: white;
    font-size: 14px;
    font-family: "Roboto";
}
.ratio{
    position: relative;
    width: 100%;
}
.ratio::before {
    display: block;
    padding-top: var(--bs-aspect-ratio);
    content: "";
}
.ratio-16x9 {
    --bs-aspect-ratio: 56.25%;
}
.ratio>* {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after{
    content: "";
    display: none;
}
.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after{
    content: "";
    display: none;
}
.swiper-button-prev i, .swiper-button-next i{
    color: black;
}
.swiper-button-prev svg, .swiper-button-next svg{
    opacity: 0.75;
    width: 12px;
}
.buttons{
    margin-top: 20px;
}
.discriptions{
    margin-top: 4px;
}
.top-gradient{
    height: 150px;
    width: 100%;
    position: absolute;
    top: 0;
    /*transform: translateY(50%);*/
    background: linear-gradient(to top, transparent,#101010);
}
.black-gradient{
    height: 200px;
    width: 100%;
    position: absolute;
    bottom: 0;
    /*transform: translateY(50%);*/
    background: linear-gradient(to bottom, transparent,#000);
}

@keyframes prev {
    0%   {transform: translateY(0);}
    100%   {transform: translateY(calc(-1 * var(--height)));}
}
  
  @keyframes next {
    0%   {transform: translateY(0);}
    100%   {transform: translateY(var(--height));}
  }
  
  @keyframes currentUp {
    0%   {transform: translateY(var(--height));}
    100%   {transform: translateY(0);}
  }
  
  @keyframes currentDown {
    0%   {transform: translateY(calc(-1 * var(--height)));}
    100%   {transform: translateY(0);}
  }

  @media(max-width:991px){
      .ratio{
          height: 100%;
        }
      .ratio>*{
          object-fit: fill;
          transform: scale(2.6);
          transform-origin: center;
          
        }
      #main-bg{
          min-height: unset;
      }
    .hero-section .main_wrapper{
        flex-direction: column;
    }
    .swiper-pagination{
        flex-direction: row;
        min-height: 0;
        height: auto;
    }
    .slider-dots{
        min-height: 0;
        height: auto;
        width: 100%;
        order: 3;
    }
    .slider-data{
        width: 100%;
    }
    .main-slider{
        width: 100%;
    }
    .hero-section .main_wrapper{
        min-height: 0;
        justify-content: center;
        align-items: center;
        
    }
    .swiper{
        width: 100%;
    }
    .as-changing-widget h2{
        font-size: 32px;
    }
    .as-changing-widget p{
        font-size: 14px;
    }
    .swiper_navs{
        top: 50%;
        transform: translateY(-50%);
        z-index: 999;
        width: 100%;
    }
    .slider-data{
        padding: 0;
    }
    .event-data .event-name{
        font-size: 16px;
    }
    .event-data .event-time{
        font-size: 12px;
    }
  }
  
  
  
  @media (min-width: 576px) {
    .hero-section .main_wrapper{
        max-width: 540px;
    }
  }
  @media (min-width: 768px) {
    .hero-section .main_wrapper{
        max-width: 720px;
    }
  }
  @media (min-width: 992px) {
    .hero-section .main_wrapper{
        max-width: 960px;
    }
  }
  @media (min-width: 1200px) {
    .hero-section .main_wrapper{
        max-width: 1140px;
    }
  }
  @media (min-width: 1400px) {
    .hero-section .main_wrapper{
        max-width: 1320px;
    }
}