/* hero wrapper */
.hero__wrapper {
  display: block;
  width: 100vw;
  height: auto;
  position: inherit;
  padding-bottom: 90vw;
  position: relative;
  background: none;
  overflow: hidden;
}

/* carousel wrapper within hero */
.carousel__viewport {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* carousel slide page */
.carousel__page {
  position: absolute;
  width: 100%;
  height: 100%;
  padding-bottom: 12rem;
  text-align: center;
  counter-increment: item;
  scroll-snap-align: start;
}

.carousel__page.out {
  transition: all 1s;
  opacity: 0;
}
/* Bottom Gradient over image */
.page__image {
  width: 100%;
  height: 75vw;
  height: 90vw;
  object-fit: cover;
}
/* The first level wrapper. A gradient background that sticks to the bottom */
.slider-big-cell-bottom {
  width: 100%;
  position: absolute;
  bottom: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8)) transparent;
  padding: 3em 1em 1em 1em;
  text-transform: uppercase;
}

.carousel__title,
.carousel__header {
  text-shadow: rgb(0 0 0 / 50%) -1px -1px 3px, rgb(0 0 0 / 50%) 1px -1px 3px,
    rgb(0 0 0 / 50%) -1px 1px 3px, rgb(0 0 0 / 50%) 1px 1px 3px;
}
/* <h4> title in the bottom  */
.carousel__title {
  color: #fff;
  margin-bottom: 0.5rem;
  text-align: left;
  max-width: 20em;
  font-size: 1.5em;
  line-height: 1em;
  display: block;
}

/* Release date info on hero */
.carousel__header {
  margin-bottom: 0.5rem;
  top: 60vw;
  width: 100%;
  color: #fff;
  text-align: left;
  font-weight: 400;
  font-size: 4vw;
  height: auto;
}

.carousel__header em, .carousel__header span.when{
  font-style: normal;
  font-weight: 900;
}

.buy-buttons {
  text-align: left;
}

/* [BUY NOW] and [WATCH VIDEO] button */
.hero__btn {
  font-size: 3vw;
  position: relative;
  padding: 0.5em;
  width: min(42%, 11em);
  display: inline-block;
  box-sizing: border-box;
  content: "";
}

.carousel__btn__buy {
}

.carousel__btn__watch {
  color: #fff;
  border: 1px solid #fff;
  transform: translateX(4%);
}
a.carousel__btn__watch:hover {
    color: #fff;
}
.carousel__btn__trailer:active,
.carousel__btn__trailer:hover {
  color: #000;
  background: #fff;
  border: 1px solid #fff;
}

/* Pagination Dots wrapper */
.carousel__navigation {
  position: absolute;
  bottom: 1vw;
  --dot-size: 0.5rem;
  height: var(--dot-size);
  width: 100%;
  pointer-events: none;
}

/* <ol> for dots */
.carousel__navigation-list {
  margin: 0;
  padding: 0 0.5em 0 0;
  width: 100%;
  height: var(--dot-size);
  text-align: center;
  display: flex;
  justify-content: flex-end;
  gap: min(0.5rem, 2vw);
}

/* <li> for single dot */
.carousel__navigation-item {
  width: var(--dot-size);
  height: var(--dot-size);
  display: inline-block;
  position: relative;
  text-align: center;
}
/* Carousel Dot */
.carousel__navigation-button {
  color: transparent;
  width: var(--dot-size);
  height: var(--dot-size);
  top: 0;
  background: var(--uphe-gray);
  border: 2px solid var(--uphe-gray);
  display: block;
  border-radius: 100%;
  font-size: 0;
  line-height: 0;
  position: relative;
  transition: background-color 0.3s;
  pointer-events: all;
}
.carousel__navigation-item.active .carousel__navigation-button {
  background: #fff;
}

/* /////////////////////////// Video Player//////////// */
.hero__video-wrapper {
  z-index: 99;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
}
.hero__video-wrapper.ready {
  transition: opacity 1s;
}
.hero__video__wrapper__visible {
  background: #000;
  pointer-events: all;
  opacity: 1;
}
@keyframes video-fade {
  0% {
    opacity: 0;
    display: none;
  }
  100% {
    opacity: 1;
  }
}
.hero__video {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: transparent;
  object-fit: contain;
  /* opacity: 0; */
  transition: opacity 0.3s;
}

.hero__video__wrapper__visible .hero__video {
  /* opacity: 1; */
}
/* <> arrows */
.owl-nav {
  position: absolute;
  top: -55vw;
  top: 37vw;
  width: 100%;
  opacity: 0.8;
}
.owl-nav [class*="owl-"] {
  margin: 0;
  padding: 0;
}
.owl-prev {
  float: left;
  background: none;
  filter: drop-shadow(-1px 0 0px black);
}
.owl-next {
  float: right;
  background: none;
  filter: drop-shadow(1px 0 0px black);
}
.owl-nav .scroll-left-arrow,
.owl-nav .scroll-right-arrow {
  transform: rotate(90deg);
  width: 8vw;
  filter: invert(1);
  transition: opacity 0.3s;
}
.owl-nav .scroll-right-arrow {
  transform: rotate(-90deg);
}

@media (min-width: 700px) {
  /* hero wrapper */
  .hero__wrapper {
    width: 100%;
    padding-bottom: min(37vw, 480.01px);
    font-size: min(2vw, 1.5rem);
    --pagination-dot-size: 0.5rem;
  }

  /* carousel wrapper within hero */
  .carousel__viewport {
  }

  /* carousel slide page */
  .carousel__page {
    padding-bottom: 0;
  }

  .page__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  /* The first level wrapper. A gradient background that sticks to the bottom */
  .slider-big-cell-bottom {
    padding: 1.75em;
  }

  /* The 2nd level wrapper. Adds fancy line on the left and indent horizontally */
  .slider-big-cell-bottom__inner {
    border-left: 0.1em solid rgba(255 255 255 / 0.4);
    padding-left: 2em;
  }

  /* <h4> title in the bottom  */
  .carousel__title {
    color: #fff;
    margin: 0;
    text-align: left;
    max-width: 20em;
    font-size: 1.5em;
    line-height: 1em;
    display: block;
  }

  /* Release date info on hero */
  .carousel__header {
    top: auto;
    font-size: 0.7em;
    height: auto;
    margin: 0.25em 0 0.5em 0;
    text-align: left;
    position: relative;
  }

  .carousel__header em {
  }

  .buy-buttons {
    text-align: left;
  }

  /* [BUY NOW] and [WATCH VIDEO] button */
  .hero__btn {
    position: relative;
    font-size: 0.55em;
    width: 13em;
    left: auto;
    bottom: auto;
    padding: 0.55em 0 0.5em 0;
    transition: opacity var(--hover-transition-duration);
    border: 0.2em solid #fff;
  }

  .carousel__btn__buy {
    margin-right: 1em;
    transform: none;
  }

  .carousel__btn__watch {
    color: #fff;
    transform: none;
  }

  .hero__btn:active,
  .hero__btn:hover {
    opacity: 0.8;
  }

  /* Pagination Dots wrapper */
  .carousel__navigation {
    --dot-size: 0.9rem;
  }

  /* <ol> for dots */
  .carousel__navigation-list {
    padding: 0 1vw 0;
    height: 1rem;
    justify-content: center;
  }

  /* <li> for single dot */
  .carousel__navigation-item {
  }
  /* Carousel Dot */
  .carousel__navigation-button {
    width: var(--dot-size);
    height: var(--dot-size);
    background: var(--uphe-gray);
    border: 2px solid var(--uphe-gray);
    display: inline-block;
    transition: background-color 0.3s;
    vertical-align: top;
  }
  .carousel__navigation-item.active .carousel__navigation-button {
    background: #fff;
  }
}
/* <> arrows */
@media (min-width: 700px) {
  .owl-nav {
    top: -27vw;
    top: min(16vw, 13rem);
  }
}
@media (min-width: 700px) {
  .owl-nav .scroll-left-arrow,
  .owl-nav .scroll-right-arrow {
    width: min(4vw, 40px);
  }
}
