.afiniti-video-wrapper {
  top: 0px;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  position: relative;
  background-color: #000000;
  user-select: none; /* Prevent text selection */
  -webkit-user-select: none; /* Safari/Chrome */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE/Edge */
}

.afiniti-video-wrapper .video-player {
  top: 0;
  left: 0;
  z-index: 99;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  position: fixed;
  aspect-ratio: 16/9;
}
.overlay-wrapper {
  height: calc(100dvh - 75px);
  transition: all 0.5s linear;
}
.afiniti-video-wrapper .overlay {
  /* top: 50%; */
  /* left: 50%; */
  opacity: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  background: #020a20;
  transition: all 0.5s linear;
  /* transform: translate3d(-50%, -50%, 0); */
}
.afiniti-video-wrapper .close-button {
  top: 48px;
  right: 5%;
  opacity: 0;
  width: 30px;
  height: 24px;
  border: none;
  z-index: 999;
  position: fixed;
  cursor: pointer;
  background: none;
  visibility: hidden;
  line-height: normal;
  transition: all 0.5s linear;
}
.afiniti-video-wrapper .content-container {
  top: 20%;
  padding: 0;
  width: 100%;
  height: 100%;
  display: flex;
  max-width: 1150px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  align-items: center;
}

.afiniti-video-wrapper .content-container.play-btn-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.afiniti-video-wrapper .content-container.play-btn-center .play-video-btn {
  margin: 0;
  padding: 0;
}

.afiniti-video-wrapper .content-wrapper {
  bottom: 150px;
  /* padding: 10px; */
  max-width: 75%;
  position: relative;
}

.afiniti-video-wrapper .content-container.play-btn-center .content-wrapper {
  bottom: 0;
}
.afiniti-video-wrapper .content-wrapper h3 {
  color: #ffffff;
  /* font-size: var(--e-global-typography-20eafb8-font-size); */
  /* line-height: 40px; */
  margin-bottom: 0;
  margin-top: 0;
  transition: all 0.5s linear;
  font-weight: 400;
  font-family: 'Polysans', Sans-serif !important;
}
.afiniti-video-wrapper .content-wrapper h4 {
  color: #ffffff;
  font-size: 40px;
  margin-top: 0px;
  margin-bottom: 35px;
  transition: all 0.5s linear;
  font-family: 'Polysans', Sans-serif !important;
}
.afiniti-video-wrapper .content-wrapper h7 {
  display: flex;
  font-size: 20px;
  margin-bottom: 20px;
  transition: all 0.5s linear;
  color: var(--e-global-color-d055c08);
  font-family: 'Polysans', Sans-serif !important;
}
.afiniti-video-wrapper .button-wrapper {
  display: flex;
  cursor: pointer;
  align-items: center;
  transition: all 0.5s linear;
}
.afiniti-video-wrapper .play-video-btn {
  border: none;
  color: #ffffff;
  cursor: pointer;
  font-size: 25px;
  font-weight: 400;
  background: none;
  margin-left: 10px;
  line-height: normal;
  letter-spacing: normal;
  text-decoration: underline;
  text-underline-offset: 10px;
  font-family: 'Polysans', Sans-serif !important;
}

.afiniti-video-wrapper .list-wrapper {
  right: 0;
  bottom: 25px;
  display: flex;
  margin: 0 30px;
  position: absolute;
}

.afiniti-video-wrapper .list-wrapper > div {
  margin-bottom: 10px;
}

.afiniti-video-wrapper .list-wrapper img {
  opacity: 0.6;
  transition: all 0.6s linear;
}

/* .afiniti-video-wrapper .list-wrapper .list-btn {
  width: 120px;
  height: 47px;
  display: flex;
  cursor: pointer;
  margin-right: 10px;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s linear;
} */

.afiniti-video-wrapper .content-container,
.afiniti-video-wrapper .nav_list {
  z-index: 11;
}

@media (min-width: 1800px) {
  .afiniti-video-wrapper .content-container {
    max-width: 1300px;
    padding: 0;
  }
}
@media (max-width: 1650px) {
  .afiniti-video-wrapper .content-container {
    max-width: 1150px;
  }
  .afiniti-video-wrapper .content-wrapper {
    max-width: 70%;
  }
  .afiniti-video-wrapper .content-wrapper h3 {
    line-height: 55px;
    font-size: 55px;
  }
  .afiniti-video-wrapper .content-wrapper h4 {
    margin-top: 0px;
    font-size: 35px;
  }
  .afiniti-video-wrapper .play-video-btn {
    font-size: 20px;
  }
  .afiniti-video-wrapper .button-wrapper svg {
    width: 50px;
    height: 50px;
  }
}
@media (max-width: 1366px) {
  .afiniti-video-wrapper .content-container {
    max-width: 85%;
  }
  .afiniti-video-wrapper .content-container .list-wrapper {
    justify-content: center;
    flex-wrap: wrap;
  }
  .afiniti-video-wrapper .content-wrapper {
    max-width: 80%;
  }
}

@media (max-width: 767px) {
  .afiniti-video-wrapper .content-container {
    padding: 0;
    max-width: 90%;
  }
  .afiniti-video-wrapper .content-container .list-wrapper {
    margin: 0px;
  }
  .afiniti-video-wrapper .content-wrapper {
    max-width: 100%;
  }
  .afiniti-video-wrapper .content-wrapper h3 {
    font-size: 40px;
    line-height: 1;
  }
  .afiniti-video-wrapper .content-wrapper h4 {
    font-size: 25px;
  }
  .afiniti-video-wrapper .play-video-btn {
    font-size: 18px;
  }
  .afiniti-video-wrapper .button-wrapper svg {
    width: 40px;
    height: 40px;
  }
}

@media (orientation: landscape) and (max-height: 450px) {
  .banner-video,
  .afiniti-video-wrapper,
  .overlay-wrapper {
    height: calc(100vh + 66px + 100px);
  }
  .list-wrapper {
    bottom: 0 !important;
  }
  .nav_list .inner_wrap .list-btn .card-icon {
    width: 35% !important;
  }
}

/* Nav styles */

.nav_list {
  z-index: 1;
  width: 100%;
  bottom: 80px;
  height: 72px;
  display: flex;
  position: relative;
  align-items: center;
}

.nav_list .inner_wrap {
  gap: 10px;
  width: 100%;
  height: 100%;
  display: flex;
  margin: 0 auto;
  padding: 0 30px;
  max-width: 1300px;
  align-items: center;
  justify-content: space-between;
}

.nav_list .inner_wrap .list-btn {
  width: 22%;
  height: 62px;
  display: flex;
  padding: 0 10px;
  cursor: pointer;
  align-items: center;
  justify-content: flex-start;
  transition: all 0.3s linear;
  background: rgba(255, 255, 255, 0.2); /* white with 20% opacity */
  backdrop-filter: blur(20px); /* blur the background behind */
  -webkit-backdrop-filter: blur(10px); /* Safari support */
}

.list-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: #ccc;
  z-index: 1;
  opacity: 0.5;
}

.fill-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: #fff;
  z-index: 2;
  transition: width 0.1s linear;
}

.nav_list h7 {
  font-size: 18px;
  line-height: 19px;
  padding-left: 10px;
  color: var(--e-global-color-d055c08);
  font-family: var(--e-global-typography-c4dcdb3-font-family);
}
@media (max-width: 1799px) {
  .nav_list h7 {
    font-size: 15px;
  }
}
/* .nav_list .inner_wrap .list-btn:last-child {
  border: none;
} */

.nav_list .inner_wrap .list-btn .card-icon {
  height: auto;
  /* width: 40% !important; */
  transition: opacity 0.3s ease-in-out;
}

.mobile_arrow {
  display: none;
}

@media (max-width: 1366px) {
  .nav_list .inner_wrap .list-btn .card-icon {
    width: 32% !important;
  }
  .nav_list .inner_wrap .list-btn {
    height: 52px !important;
  }
}

@media (max-width: 767px) {
  .content-wrapper h3,
  .content-wrapper h7 {
    display: none !important;
  }
}
@media (max-width: 1023px) {
  .nav_list .inner_wrap .list-btn .card-icon {
    width: 46% !important;
  }
  .nav_list .inner_wrap {
    overflow-x: scroll;
    white-space: nowrap;
    transition: transform 0.5s ease;
    padding: 0 20px;
  }
  .nav_list .inner_wrap .list-btn {
    width: auto !important;
    flex-shrink: 0;
  }
  /* .nav_list .inner_wrap .list-btn h7 {
    display: block;
  } */
  .mobile_arrow {
    right: 0;
    width: 40px;
    height: 60px;
    display: flex;
    background: rgba(255, 255, 255, 0.6);
    position: absolute;
    align-items: center;
    justify-content: center;
  }
  .nav_list .inner_wrap::-webkit-scrollbar {
    display: none;
    /* for Chrome, Safari, and Opera */
  }
}
@media (min-width: 1366px) {
  .nav_list {
    height: 80px;
  }
  .overlay-wrapper {
    height: calc(100dvh - 80px);
  }
}
@media (min-width: 1700px) {
  .nav_list {
    /* height: 100px; */
  }
  .overlay-wrapper {
    height: calc(100dvh - 100px);
  }
}

.overlay-wrapper .mobile {
  display: block !important;
}
.overlay-wrapper .desktop {
  display: none !important;
}

@media (min-width: 768px) {
  .overlay-wrapper .mobile {
    display: none !important;
  }
  .overlay-wrapper .desktop {
    display: block !important;
  }
}

.fullbleed {
  width: 100vw !important;
  right: 0 !important;
  left: 0 !important;
  transition: all 0.3s linear;
  position: absolute;
}
.fullbleed .afiniti-video-wrapper {
  height: 100vh !important;
}
