.header {
  position: relative;
  color: $text_inverse;

  .green-opaque {
    background-color: rgba(31, 108, 64, 0.4);
  }

  .lime-opaque {
    background-color: rgba(0, 157, 73, 0.4);
  }

  .yellow-opaque {
    background-color: rgba(255, 185, 82, 0.4);
  }

  .orange-opaque {
    background-color: rgba(255, 132, 48, 0.4);
  }

  .header-background {
    height: 100%;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center;

    img {
      height: 100%;
    }

    .container {
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;

      .row {
        margin-left: unset;
        margin-right: unset;
      }
    }

    .header-text-container {
      width: 100%;

      h1,
      p {
        color: $text_inverse;
        text-align: left;

        a {
          strong {
            font-weight: bold;
            color: #ffffff !important;
          }
        }

        strong {
          a {
            font-weight: bold;
            color: #ffffff !important;
          }
        }
      }
    }
  }

  .text-header-background {
    padding: 30px 0px;
    height: 100%;
    background-repeat: no-repeat;
    -webkit-background-size: auto 100%;
    background-size: auto 100%;
    background-position: top right;

    &.overlapped {
      padding: 30px 0px 230px 0px;
    }

    img {
      height: 100%;
    }

    .header-text-container {
      margin-top: 5%;
      width: 100%;

      h1,
      h2,
      p {
        color: $text_inverse;
        text-align: left;

        a {
          font-weight: bold;
          color: #ffffff !important;
          strong {
            font-weight: bold;
            color: #ffffff !important;
          }
        }

        strong {
          font-weight: bold;
          color: #ffffff !important;
          a {
            font-weight: bold;
            color: #ffffff !important;
          }
        }
      }

      h1 {
        margin-bottom: 0px;

        &.mb-50 {
          margin-bottom: 50px;
        }
      }
    }
  }

  .header-content {
    position: absolute;
    top: $nav_height;
    padding-top: 64px;
    width: 100%;

    h1 {
      color: $text_inverse;
    }
  }
}

@media only screen and (max-width: $breakpoint_medium) {
  .header {
    .header-content {
      top: $nav_height_mobile;
    }
  }
}
