@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

:root {
  --blue: #011f4b ;
  --white: #FFFFFF;
  --gray: #7B8994;
  --lightgray: #47525D;
  --darkgray: #3D4640;
}


/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh; /*height of this element is equal to 100% of the viewport*/
  background-color: rgba(34, 39, 43, 0.8);
  overflow: hidden;
  position: relative;
}

#hero .carousel, #hero .carousel-inner, #hero .carousel-item, #hero .carousel-item::before {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

#hero .carousel-item::before {
  content: '';
  background-color: rgba(35, 48, 94, 0.2); /*slider opacity*/
}

#hero .carousel-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0px;
  top: 0px;
  left: 50px;
  right: 50px;
}

#hero .container {
  text-align: left;
}

#hero h2 {
  color: white;
  font-family: 'roboto', sans-serif;
  font-size: 80px;
  font-weight: 700;
}

#hero h6 {
  font-family: 'roboto', sans-serif;
  font-size: 25px;
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
  margin: 0 auto 30px auto;
  color: white;
}

#hero .carousel-inner .carousel-item {
  transition-property: opacity;
  background-position: center top;
}

#hero .carousel-inner .carousel-item,
#hero .carousel-inner .active.carousel-item-left,
#hero .carousel-inner .active.carousel-item-right {
  opacity: 0;
}

#hero .carousel-inner .active,
#hero .carousel-inner .carousel-item-next.carousel-item-left,
#hero .carousel-inner .carousel-item-prev.carousel-item-right {
  opacity: 1;
  transition: 0.5s;
}

#hero .carousel-inner .carousel-item-next,
#hero .carousel-inner .carousel-item-prev,
#hero .carousel-inner .active.carousel-item-left,
#hero .carousel-inner .active.carousel-item-right {
  left: 0;
  transform: translate3d(0, 0, 0);
}

#hero .carousel-control-prev, #hero .carousel-control-next {
  width: 10%;
}

#hero .carousel-control-next-icon, #hero .carousel-control-prev-icon {
  background: none;
  font-size: 36px;
  line-height: 1;
  width: auto;
  height: auto;
  border-radius: 50px;
  padding: 10px;
  transition: 0.3s;
  color: rgba(255, 255, 255, 0.5);
}

#hero .carousel-control-next-icon:hover, #hero .carousel-control-prev-icon:hover {
  background: lightgray;
  color: white;
}

#hero .carousel-indicators div {
  cursor: pointer;
  color: white;
  background: rgba(255, 255, 255, 0.2);
  width: 100px;
  height: 60px;
  font-size: 10px;
  transition: 0.3s;
  margin: 5px 5px 5px 5px;
  padding: 0px 7px 7px 7px;
  opacity: 1;
  align-items: left;
  font-family: 'roboto', sans-serif;
}

#hero .carousel-indicators div:hover {
  cursor: pointer;
  background: lightgray;
  color: black;
  font-family: 'roboto', sans-serif;

}

#hero .carousel-indicators div.active {
  opacity: 1;
  background: lightgray;
  color: black;
}

@media (max-width: 768px) {
  #hero h2 {
    font-size: 28px;
  }
  #hero h6 {
    font-size: 18px;
  }

  #hero .carousel-indicators div {
  height: 10px;
  font-size: 5px;
}
}

@media (min-width: 1024px) {
  #hero .carousel-control-prev, #hero .carousel-control-next {
    width: 5%;
  }
}

@media (max-height: 500px) {
  #hero {
    height: 120vh;
  }
@media (mid-width: 500px) {
  #hero .carousel-indicators div {
    height: 20px;
    
  }
}