
/* HERO IMAGE AT TOP OF PAGE*/

.hero-container {
    overflow: hidden;
    position: relative;
    max-height: 52vh;
    height: 52vh;
  }
  
  .hero-image {
    position: absolute;
    bottom: 0;
    /* liner gradient tints the image darker for readability*/
    background-image: linear-gradient( rgba(0,0,0,.3), rgba(0,0,0,.3) ), url(../images/Mikkel-2048.jpeg);
    background-size: cover;
    height: auto;
    width: 100vw;
    background-color: #141c25;
    display: flex; /* Change to `display: none` for no hero image */
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
    padding: 21vh 0;
  }
  
  .ALA-top {
    position: relative;
    text-align: center;
    font-size: 100px;
    color: #ffffff;
    padding-right: 133px;
    margin-bottom: -5.0rem;
    font-weight: bold;
  }
  
  .ALA-bottom {
    position: relative;
    text-align: center;
    font-size: 100px;
    color: #EEECEA;
    padding-left: 105px;
    font-weight: bold;
  }
  
  .ALA-byline {
    font-size: 20px;
    text-align: center;
    color: #ffffff;
    padding-top: 0px;
  }
  
  .credit-text {
    position: absolute;
    text-align: left;
    left: 2%;
    bottom: 5%;
  }
  
  .ALA-species-credit {
    font-size: 11px;
    color: white;
  }
  
  .ALA-image-credit {
    text-align: left;
    font-size: 14px;
    color: white;
  }
  
  @media (min-width: 992px){
    .credit-text {
      position: absolute;
      bottom: 3%;
    }
  }
  
  @media (max-height: 876px) {
    .hero-container {
      max-height: 75vh;
      height: 66vh;
      display: flex;
    }
  }
  
  @media screen and (max-width: 952px){
  /*--    --*/
  .hero-container {
    max-height: 75vh;
    height: 66vh;
    display: flex;
  }
  .hero-image {
    position: relative;
    background-attachment: scroll;
    background-position: 84% center;
    display: block;
    padding: none;
    align-content: center;
    object-fit: cover;
    padding: 6vh 0;
  }

  /* Scale down the name on mobile */
  .ALA-top {
    font-size: 12vw;
    padding-right: 16vw;
    margin-bottom: -2rem;  /* Changed from -3.5rem to add more spacing */
  }
  
  .ALA-bottom {
    font-size: 12vw;
    padding-left: 0vw;
  }

  .ALA-byline {
    font-size: 3.5vw;
    padding: 0 5vw;
  }
}