:root {
  --white: white;
  --primary: #0b4639;
  --button-bg: #008485;
  --button-bg-hover: #333333;
  --button-color: #fff;
  --button-hover-color: #fff;
  --black: #333;
}

.heronew h1 {
  color: var(--white);
  text-align: center;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 4em;
  font-weight: 600;
  line-height: 1.2em;
}

.heronew {
  background-image: linear-gradient(0deg, #000000a8, #00000040 54%, #0000 76%, #0000), url('../images/multi-generational-black-family.jpg');
  background-position: 0 0, 50%;
  background-repeat: repeat, no-repeat;
  background-size: auto, cover;
  justify-content: center;
  align-items: flex-end;
  height: 100vh;
  padding: 0;
  display: flex;
  position: relative;
  color: var(--black);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75em;
}

.heronew-text-wrapper {
  z-index: 10;
  background-color: #0006;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: none;
  padding: 10% 5% 5%;
  display: flex;
  position: absolute;
  inset: 0%;
}

.heronew-sub-text {
  border-bottom: 1px none var(--primary);
  color: var(--white);
  text-align: center;
  letter-spacing: 1px;
  text-transform: uppercase;
  width: auto;
  min-width: 75%;
  margin-bottom: 10px;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  font-size: 2em;
}

.heronew .button-no-arrow {
  background-color: var(--button-bg);
  color: var(--button-color);
  text-transform: uppercase;
  padding: 15px 30px;
  font-weight: 500;
  line-height: 1.2em;
}

.heronew .button-no-arrow:hover {
  background-color: var(--button-bg-hover);
  color: var(--button-hover-color);
}

.heronew .button-no-arrow.marg {
  margin-right: 15px;
}

.heronew .button-holder-hero {
  align-items: center;
  display: flex;
}

h1.headingest-3 {
  margin-bottom: 10px;
  font-size: 3.5em;
}

.lal-text {
  color: #fff;
  letter-spacing: 10px;
  text-transform: uppercase;
  background-color: var(--primary);
  margin-bottom: 20px;
  padding: 10px 75px;
  font-size: 2em;
  line-height: 1em;
}

.background-video {
  z-index: 5;
  width: 100%;
  height: 100vh;
}

.heronew .button-no-arrow-st {
  background-color: var(--button-bg);
  color: var(--button-color);
  text-transform: uppercase;
  padding: 15px 30px;
  font-weight: 500;
  line-height: 1.2em;
}

.heronew .button-no-arrow-st:hover {
  background-color: var(--button-bg-hover);
  color: var(--button-hover-color);
}

@media screen and (max-width: 991px) {
  .heronew h1 {
    font-size: 2.8em;
  }

  .heronew {
    background-image: linear-gradient(0deg, #000000a8, #00000040 54%, #0000 76%, #0000), url('../images/lal.png');
    background-position: 0 0, 50% 100%;
    height: 800px;
  }

  .heronew-text-wrapper {
    justify-content: flex-end;
  }

  .heronew-sub-text {
    padding-bottom: 0;
    font-size: 1.5em;
  }

  h1.headingest-3 {
    font-size: 3em;
  }

  .lal-text {
    text-align: center;
    padding-left: 30px;
    padding-right: 30px;
    font-size: 1.2em;
  }

  .background-video {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .heronew {
    height: 500px;
    padding-top: 50px;
    padding-bottom: 20px;
  }

  .heronew-text-wrapper {
    width: 100%;
    padding-bottom: 2%;
    padding-left: 2%;
    padding-right: 2%;
  }

  .heronew-sub-text {
    letter-spacing: 2px;
    padding-left: 0;
    padding-right: 0;
    font-size: 1.2em;
  }

  .heronew .button-no-arrow {
    text-align: center;
  }

  .heronew .button-no-arrow.marg {
    margin-bottom: 10px;
    margin-right: 0;
  }

  .heronew .button-holder-hero {
    display: flex;
  }

  h1.headingest-3 {
    font-size: 2em;
  }

  .lal-text {
    letter-spacing: 5px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .heronew .button-no-arrow-st {
    text-align: center;
    display: none;
  }
}

@media screen and (max-width: 479px) {
  .hero {
    background-position: 0 0, 30% 0;
    height: 600px;
  }

  .hero-text-wrapper {
    padding-bottom: 0%;
    padding-left: 0%;
    padding-right: 0%;
  }

  .hero-sub-text {
    letter-spacing: 0;
    margin-left: 2%;
    margin-right: 2%;
    font-size: 1em;
  }

  .button-no-arrow {
    padding-left: 15px;
    padding-right: 15px;
    font-size: 16px;
  }

  .button-no-arrow.marg {
    width: 100%;
    margin-bottom: 0;
    font-size: .9em;
  }

  .button-holder-hero {
    width: 100%;
  }

  h1.headingest-3 {
    margin-left: 2%;
    margin-right: 2%;
  }

  .lal-text {
    letter-spacing: 0;
    margin-left: 2%;
    margin-right: 2%;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 1em;
  }

  .button-no-arrow-st {
    padding-left: 15px;
    padding-right: 15px;
    font-size: 16px;
  }
}


