/* Carousel base class */

#carousel{
  position: relative;
  top: 40px;
  z-index: 1;
  background: rgba(var(--primary_tr), 1);
}
#carousel,
.carousel-item,
.carousel-control-prev,
.carousel-control-next {
  height: calc(90vh - 0px)
}
.carousel-item{
  background: rgba(var(--primary_tr), 1);
}
#carousel .container{
  background: transparent;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  z-index: 2;
  position: absolute;
  isolation: isolate;
  margin-block: auto;
  text-align: center;
  width: calc(100vw - 10%);
}
.carousel-item img{
  width: auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transition: all ease-in-out 300ms;
  aspect-ratio: 16 / 9;

  opacity: .75;
}
.carousel-caption {
  width: calc(100% - 10%);
  max-width: 1440px;
  top: calc(50% - 0px);
  transform: translate(-50%,-50%);
  left: 50%;
  z-index: 10;
}

.carousel-caption header .img-carousel-fluid{
  width: 80px;
  height: 80px;
  object-fit: contain;
}
.carousel-caption header span{
  font-size: 1.3em !important;
}
.carousel-caption h1{
  font-size: calc(1em + 3vw);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.3em;
  text-shadow: none;
  color: rgba(var(--black_tr), 1);
  text-transform: uppercase;
}
.carousel-caption h1 span{
  font-size: clamp(.5rem, 2vw, 1rem)!important;
}
.carousel-caption h1 b{
  display: block;
}
.carousel-item .text-white *{
  color: rgba(var(--whiteFull_tr), 1);
}
.carousel-item .text-black *{
  color: rgba(var(--black_tr), 1);
} 
.carousel-item .text-black .btn{
  color: rgba(var(--whiteFull_tr), 1) !important;
  text-shadow: none !important;
} 
.carousel-indicators {
  right: 0;
  top: 30px;
  margin-right: 10%;
  margin-bottom: 1rem;
  margin-left: 15%;
}
.carousel-indicators [data-bs-target] {
  background: rgba(var(--secondary_tr), 1);
  width: 35px;
  height: 10px;
  border-radius: 0px;
  opacity: 1;
}
.carousel-indicators .active {
  background: rgba(var(--whiteFull_tr), 1);
}
.carousel-indicators [data-bs-target]:hover{
  background: rgba(var(--primary_tr), 1);
}
.carousel-control-prev,
.carousel-control-next{
  background: rgba(var(--primary_tr), .0);
  top: calc(50% - 40px) !important;
  transform: translateY(-50%);
  transition: all ease-in-out .3s;
}
.carousel-control-prev:hover,
.carousel-control-next:hover{
  background: rgba(var(--primary_tr), .25);
  opacity: 1;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 4em;
  height: 4em;
}

/* RESPONSIVE CSS
-------------------------------------------------- */
@media (max-width: 1240px) {
  #carousel{
    top: 20px;
  }
}
@media (max-width: 810px){
  #carousel,
  .carousel-item,
  .carousel-control-prev,
  .carousel-control-next {
    height: calc(75vh - 0px);
  }
  .carousel-caption {
    width: calc(100% - 20%);
    max-width: auto;
    z-index: 10; 
    text-shadow: none;
    z-index: 9;
    isolation: isolate
  }
  #carousel .container{
    width: 100%;
    max-width: 100%!important;
    height: 100%;
    background: rgba(var(--blackFull_tr), .25);
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: 0;
    position: absolute;
    isolation: isolate;
  }
  .carousel-caption *{
    color: rgba(var(--whiteFull_tr), 1)!important;
    text-shadow: none!important;
  }
  .carousel-indicators {
    top: 20px;
    margin-right: 20px;
  }
  .text-white .btn{
    color: rgba(var(--whiteFull_tr), 1)!important;
  }

  #carousel .about .play-btn{
    position: absolute;
    left: calc(50% - 47px);
    top: calc(50% - 47px);
  }
  #carousel .img-carousel-fluid{
    display: none;
  }
  #carousel .ms-80{
    margin-left: 0!important;
  }
  .carousel-control-prev,
  .carousel-control-next{
    top: calc(50% - 0px) !important;
  }
}
