/* HERO CAROUSEL */
#hero-carousel {
  position: relative;
  height: 80vh;
  overflow: hidden;
  padding: 1rem;
}
.slides-container {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}
.slide {
  background-color: rgba(255, 0, 0, 0.283);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 1s ease-in-out;
  z-index: -1;

}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 999;
  background-attachment: fixed;
}
.slide-content {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 45%;
  transform: translate(-50%, -50%);
  color: var(--white);
  /* background-image: linear-gradient(to right, var(--primary),var(--primary-l),transparent);   */
  padding: 4rem;
  /* display: none; */
  width: 60%;
  margin: auto;
}
.slide-content .award {
  background-color: gold;
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
  color: black;
  margin: 0.6rem 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: Roboto Mono;
  font-weight: 700;
  max-width: fit-content;
}
@media (max-width: 1200px) {
  .slide-content {
    width: 80%;
    margin: auto;
    left: 50%;
  }
  #hero-carousel{
  height: 50vh;
    
  }
}
.slide-content p {
  margin: 0.4rem auto;
}
.active-slide {
  opacity: 1;
  z-index: 0;
}
@media (max-width: 1000px) {
  #hero-carousel {
    height: 60vh;
    padding: 0;
  }
}
@media (max-width: 768px) {
  #hero-carousel {
    max-height: 90vh;
  }
  #hero-carousel .slide-content{
    padding: 4rem 0;
  }
  #hero-carousel .title{
    font-size: 2.8rem;
    
  }
}
