/*HERO*/

.hero {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    height: 100svh;
    max-height: 1000px;
    min-height: 400px;
    z-index: 0;
  }
  .hero-wrapper {
    min-height: 400px;
  }
  .hero-gradient {
    width: 100%;
    height: 100%;
    position: absolute;
    background-image: radial-gradient(circle, #00000000 25%, #000000a4 100%);
    mix-blend-mode: overlay;
    z-index: 1;
    pointer-events: none;
  }
  
  .hero-banner {
    position: absolute;
    height: 100svh;
    width: 100%;
    object-fit: cover;
    min-height: 400px;
    max-height: 1000px;
    transition: opacity 0.5s ease;
    z-index: -1;
  }
  .hero-banner.active {
    opacity: 1;
    z-index: 0;
  }
  .hero-text{
    position: absolute;
    left: 6rem;
    top: 35rem;
    line-height: 3.5rem;
    z-index: 1;
    text-shadow: 0 0 1em rgba(0, 0, 0, 0.2);
    pointer-events: none;
  }
  @media (max-height:750px){
    .hero-text {
      top: auto;
      bottom: 1.3rem;
    }
  }
  
  .hero-text h1 {
    font-weight: 700;
    font-size: 3rem;
  }
  .hero-text a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 300;
    font-size: 1.2rem;
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
    transition: opacity 1s ease;
    opacity: 1;
    pointer-events: all;
  }
  .hero-text h3 {
    font-size: 1.5rem;
    font-weight: 420;
    line-height: initial;
    width: min(650px, 80%);
  }
  .hero-text h4 {
    transition: all 0.75s ease;
  }
  .hero-text h5 {
    font-size: 1.2rem;
    font-weight: 420;
    line-height: initial;
    width: min(650px, 80%);
  }
  .hero-arrow {
    padding: 0.4rem; /* Arrow size */
    box-shadow: 2px -2px 0 0px white 
  }
  .hero-text a:hover > h4{
    letter-spacing: 0.15rem;
  }
  .hero-subtitle-mobile {
    opacity: 0;
    display:none;
    margin-left: 2rem;
    margin-top: 2rem;
  }
  .hero-subtitle-mobile a{
    color: #754c06;
  }
  .hero-subtitle-mobile .hero-arrow {
    box-shadow: 2px -2px 0 0px #754c06;
  }

  /*DYNAMIC SCREEN ADJUSTMENT*/
@media (max-width: 895px) {
/*    .hero-banner, .hero-wrapper{
      min-height: 600px;
    }*/
    .hero-text {
      left: 2rem;
      top: 40rem;
    }
      .hero-subtitle-mobile {
      display: flex;
      opacity: 1;
      position: initial;
    }
    .hero-subtitle-desktop {
      opacity: 0 !important;
      display: none !important;
    }
    @media (max-height:800px) {
      .hero-text {
        top: auto;
        bottom: 5.5rem;
      }
    }
  }
  
  @media (max-width: 441px) {
    .hero-banner, .hero-wrapper{
      min-height: 400px;
    }
    .hero .hero-text {
      text-align: left;
      line-height: 2.5rem;
      top: unset;
      right: 0rem;
      bottom: 6rem;
    }
    .hero .hero-text h1{
      font-size: 2.5rem;
    }
    .carousel-caption {
      font-size: 1rem !important;
      bottom: 70px !important;
    }
  }
  @media (max-width: 358px) {
    .hero .hero-text{
      text-align: center;
      vertical-align: middle;
      width: 100vh;
      line-height: 3.5rem;
      rotate: 270deg;
      inset: initial;
      bottom: 40%;
      right: -43vh;
    }
   .hero .hero-text h1 {
      font-size: 4rem;
    }
  }
  @media(min-height:900px) {
    .hero-text {
      top: auto;
      bottom: 10.5rem;
    }
  }