/* HERO  */
.homepage-hero {
  /* background: linear-gradient(
    -303deg,
    #080f1c 0%,
    #0d1e38 40%,
    #3c210f 70%,
    #5e320d 101%
  ); */
  background-image: url(../../images/decoration/homepage-bg-gradient.jpg);
  height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  justify-content: flex-end;
  background-size: cover;
  padding-bottom: 2rem;


  &:before {
    pointer-events: none;
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    pointer-events: none;
    opacity: 1;
    top: 0;
    right: 0;
    background-image: url(../../images/decoration/pattern-transparent-dark.png);
    background-size: 200px;
    background-repeat: repeat;
    background-position: center right;
  }

  &:after {
    pointer-events: none;
    content: "";
    width: 60%;
    height: 100%;
    position: absolute;
    pointer-events: none;
    opacity: 1;
    top: 40px;
    right: 0;
    background-image: url(../../images/decoration/decoration-logo-mcs-bg-homepage.svg);
    background-repeat: no-repeat;
    background-position: top right;
  }

  > .container {
    position: relative;
    z-index: 1;
  }

  h2 {
    span {
      display: block;
    }

    span:nth-child(1) {
      text-transform: uppercase;
      color: #fff;
      font-weight: 300;
      font-size: 1.75rem;
    }

    span:nth-child(2) {
      color: #fff;
      font-weight: 600;
      font-size: 2.375rem;
      margin: 10px 0px 10px;
    }

    span:nth-child(3) {
      color: #5d91e5;
      font-weight: 300;
      font-size: 2.25rem;
      margin-bottom: 40px;
    }
  }

  .btn-outline-secondary {
    color: #fff;
    box-shadow: inset 0 0 0 2px #ffffff;

    &:hover {
      opacity: 0.8;
    }
  }
}

@media (min-width: 1200px) {
  .homepage-hero {
    justify-content: center;
    &:after {
      background-position: 120% center;
      background-size: 80%;
    }
    > div {
      margin-top: 5rem;
    }
    h2 {
      span:nth-child(1) {
        font-size: 64px;
        line-height: 4.1875rem;
      }

      span:nth-child(2) {
        font-size: 88px;
        line-height: 5.1875rem;
      }

      span:nth-child(3) {
        font-size: 64px;
        line-height: 5.1875rem;
      }
    }
  }
}

@media (min-width: 1400px) {
  .homepage-hero {
    &:after {
      background-position: 130% center;
      background-size: 70%;
    }

    h2 {
      span:nth-child(1) {
        font-size: 5rem;
        line-height: 4.1875rem;
      }

      span:nth-child(2) {
        font-size: 7.5rem;
        line-height: 7.1875rem;
      }

      span:nth-child(3) {
        font-size: 5rem;
        line-height: 5.1875rem;
      }
    }
  }
}
