.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  padding: 48px 48px 32px 48px;
  overflow: hidden;

  .hero-title {
    display: inline-block;
    font-size: 28px;
    font-weight: 400;
    line-height: 48px;
    margin: 0 8px 0 0;
    text-transform: uppercase;

    &.is-standard-case {
      text-transform: none;
    }
  }
}

section#intro {
  display: flex;
  align-items: center;
  position: relative;
  width: 900px;
  height: 480px;
  margin: 0 auto;
  padding: 0;
  color: white;

  @media (max-width: 780px) {
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 100vw;
    padding: 70px 0 32px;

    button {
      margin: 0;
      height: 60px;
    }
  }

  .homepage-container {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    margin-top: -7%;
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    .hero-cta + .hero-cta {
      margin-top: 15px;
    }

    @media (max-width: 780px) {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
      max-width: 100%;
      padding: 0;
    }
  }

  .headline-container {
    margin: 32px 0;
    text-align: center;
  }

  .hero-headline {
    font-size: 40px;
    line-height: 64px;
    font-weight: 500;
    color: $pink;

    &:after {
      display: none;
    }

    @media (max-width: 780px) {
      text-align: center;
    }

    @media (max-width: 575px) {
      font-size: 32px;
      line-height: 50px;
    }
  }

  .hero-subheadline {
    font-size: 22px;
    line-height: 32px;
    color: $accentgrey;
  }

  .hero-logo {
    display: flex;
    width: 400px;

    @media (max-width: 780px) {
      justify-content: center;
    }

    img {
      width: 400px;
      height: 400px;
      margin-bottom: 8px;
      padding: 0;
      filter: drop-shadow(0 2px 2px rgba($black, 0.24));

      @media (max-width: 780px) {
        width: 250px;
        height: 250px;
      }
    }
  }
}

.announcement-bar {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  max-width: 50vw;
  margin: 0 auto;
  padding: 16px;
  background-color: $white;
  border-radius: 4px;
  box-shadow: 0 2px 2px rgba($black, 0.24), 0 0 2px rgba($black, 0.12);
  box-sizing: border-box;
  transition: all 0.3s ease-in;

  @media (max-width: 992px) {
    flex-direction: column;
    text-align: center;
    padding: 32px 16px;
  }

  @media (max-width: 768px) {
    width: 100%;
    max-width: none;
  }

  & > * {
    margin: 8px;
  }

  img {
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.26));
  }

  .button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    min-width: 160px;
    font-size: 16px;
    color: $white;
    background-color: $pink;
    border-radius: 48px;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
    box-sizing: border-box;
    cursor: pointer;

    &:hover {
      color: rgba($white, 0.7);
    }
  }

  .material-icons {
    display: none;
    right: 0;
    position: static;
    transition: all 0.3s ease-in;
    font-size: 16px;
  }

  p {
    strong {
      font-weight: 700;
    }

    font-size: 16px;
    margin: 8px;
    text-align: center;
  }
}

// ANGULAR LINE
.background-sky {
  background-color: $pink;
  background: $pink;
  color: $white;
}

.home-row .card {
  @include card(70%, auto);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 70%;
  min-width: 270px;
  text-align: center;
  height: auto;
  margin: auto;
  padding: 24px;
  box-shadow: 0 6px 6px rgba(10, 16, 20, 0.15), 0 0 52px rgba(10, 16, 20, 0.12);

  @media (max-width: 600px) {
    margin: 16px auto 0;

    h2 {
      margin: 0;
    }

    img {
      max-width: none;
      height: 70px;
    }
  }

  @media (max-width: 1300px) {
    img {
      height: 70px;
      max-width: none;
    }
  }

  img {
    margin: 16px;
  }

  .card-text-container {
    margin: 0 16px;

    p {
      text-align: left;
      color: $darkgray;
      margin: 0;
      padding: 8px 0;
    }
  }

  &:hover {
    h2 {
      color: $pink;
    }
  }

  ul {
    list-style-type: none;
  }
}

.text {
  color: $darkgray;
}

.button.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 184px;
  height: 40px;
  padding: 0 24px;
  font-size: 18px;
  font-weight: 600;
  line-height: 40px;
  background-color: $white;
  border-radius: 48px;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
  box-sizing: border-box;
  cursor: pointer;

  &:hover {
    opacity: 0.9;
  }
}

aio-shell {
  &.page-home {
    section {
      padding: 0;
    }
  }

  &.page-home,
  &.page-resources,
  &.page-events,
  &.page-contribute {
    article {
      padding: 32px;

      @media (max-width: 800px) {
        padding: 24px;
      }
    }
  }

  &.page-features {
    article {
      padding: 0 3rem;
    }
  }

  &.page-home,
  &.page-resources,
  &.page-events,
  &.page-features {
    .content img {
      @media (max-width: 1300px) {
        max-width: none;
      }
    }

    .feature-section img {
      max-width: 70px;
    }

    @media (max-width: 600px) {
      mat-sidenav-container.sidenav-container {
        padding-top: 0;
      }
    }
  }

  .cta-bar .hero-cta {
    color: $pink;
  }
}

.cta-bar.announcement-bar {
  background: none;
  box-shadow: none;
}

.text-headline {
  font-size: 20px;
  font-weight: 500;
  color: $pink;
  margin-top: 10px;
  text-transform: uppercase;
}

aio-shell:not(.view-SideNav) {
  mat-sidenav-container.sidenav-container {
    max-width: none;
  }
}

div[layout='row'] {
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;

  @media (max-width: 480px) {
    display: block;
  }
}

.layout-row {
  flex-direction: row;
}

.home-rows {
  overflow: hidden;
  @media (max-width: 600px) {
    margin: 0;
  }
}

.background-superhero-paper {
  background-size: 100%;
  background-blend-mode: multiply;
}

.home-row {
  max-width: 920px;
  margin: 32px auto;

  .promo-img-container,
  .text-container {
    max-width: 50%;

    @media (max-width: 480px) {
      max-width: 100%;
      text-align: center;

      &:nth-child(even) {
        flex-direction: column-reverse;
      }
    }
  }

  .text-block {
    padding-right: 15%;

    @media (max-width: 600px) {
      padding: 0;
    }
  }

  .promo-img-container {
    img {
      max-width: 90% !important;
    }

    p {
      margin: 0 20px;
    }

    img {
      max-width: 90%;

      @media (max-width: 599px) {
        max-width: 100%;
        float: initial !important;
      }
    }
  }
}

.marketing-banner {
  background-color: lighten($pink, 10);
  margin-top: 64px;
  padding: 32px;

  @media (max-width: 600px) {
    margin-top: 56px;
    padding: 18px;
  }

  .banner-headline {
    text-transform: uppercase;
    font-size: 24px;
    font-weight: 300;
    color: white;
    margin: 0;
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;

    @media (max-width: 600px) {
      font-size: 18px;
      font-weight: 400;
    }

    &:after {
      display: none;
    }
  }
}
.page-features .marketing-banner {
  margin-bottom: 20px;
}

.blm-background {
  background-color: black;
  color: white;
  display: flex;
  min-height: calc(100vh - 64px);
}

.text-container.blm-container {
  text-align: center;
  line-height: inherit;
  max-width: inherit;
}

.blm-text {
  font-size: 2rem;
  line-height: inherit;
}

.blm-list-item {
  margin: 10px 0;
}
