/* ----------- INDEX PAGE -----------*/

/* 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(assets/home-hero.jpg);
    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;
  }
  
  .SWNC-top {
    position: relative;
    text-align: center;
    font-size: 100px;
    color: #ffffff;
    padding-right: 133px;
    margin-bottom: -2.4rem;
    font-weight: bold;
  }
  
  .SWNC-bottom {
    position: relative;
    text-align: center;
    font-size: 100px;
    color: #EEECEA;
    padding-left: 105px;
    font-weight: bold;
  }
  
  .SWNC-byline {
    font-size: 28px;
    text-align: center;
    color: #ffffff;
    padding-top: 0px;
  }
  
  .credit-text {
    position: absolute;
    text-align: left;
    left: 2%;
    bottom: 2%;
  }
  
  .SWNC-img-description {
    font-size: 14px;
    white-space: normal;
    line-height: 1.2;
    color: white;
    display: flex;
    justify-content: flex-end; /* Aligns content to the right */
    max-width: 80%; /* Ensures content doesn't span full width */
  }
  
  .SWNC-para {
   font-size: 20px; 
  }


  .SWNC-img-credit {
    text-align: left;
    font-size: 11px;
    color: rgb(210, 210, 210);
  }

  @media (min-width: 992px){
    .credit-text {
      position: absolute;
      bottom: 3%;
    }
  }
  
  @media (max-width: 768px){
    .SWNC-top, .SWNC-bottom {
      font-size: 50px; /* Reduce font size */
      padding-right: 20px; /* Adjust padding */
      padding-left: 20px;
      margin-bottom: -1.2rem; /* Adjust margin */
  }
    .SWNC-byline {
      font-size: 18px; /* Reduce font size */
      padding-top: 10px; /* Add some padding to separate from other text */
  }

  .credit-text {
      font-size: 10px; /* Reduce font size for small screens */
  }

  .SWNC-img-description {
      font-size: 9px; /* Reduce font size for image description */
      padding-right: 1%; /* Adjust padding for better fit */
  }

  .SWNC-para {
      font-size: 16px; /* Reduce paragraph font size */
  }
}

  @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;
    }
  
  }