:root {
  --text-color: #444;
  --accent-color: #decc8f;
  --body-bg: white;
}

.section--bgImage {
  width: 100%;
  height: auto;
}

/* SECTIONS */
.section--title {
  width: 100%;
  color: white;
  background-color: #eef3f7;
  overflow: hidden;
  align-items: flex-start;
  justify-content: center;
  box-shadow: 0 2px 15px #00000040;
  transform: skew(0, 0.5deg);
  top: -10px;

  .title-container {
    width: 100%;
    padding: 10vh 25px;
    position: absolute;
  }

  .text-container {
    width: 100%;
    padding: 10vh 25px;
    position: absolute;
    bottom: 0;
    z-index: 3;
    color: black;
    text-align: center;
    align-items: center;
    justify-content: center;
    max-width: 70ch;
    @media (orientation: landscape) {
      padding-bottom: 20vh;
    }
    p {
      line-height: 1.3;
      font-size: calc(1.2em + 1vmin);
      @media (orientation: landscape) {
        font-size: calc(2em + 1vmin);
      }
    }
  }

  .section--bgImage-container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-top: 30vh;
    @media (orientation: landscape) {
      padding-top: 40vh;
    }

    &:before {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 5px;
      background-image: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.5) 100%
      );
      z-index: 2;
    }

    &:after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 30%;
      background-image: linear-gradient(
        180deg,
        rgba(228, 220, 81, 0) 0%,
        rgba(228, 220, 81, 0.8) 100%
      );
      z-index: 1;
    }
  }

  .section--bgImage {
    min-width: 760px;
  }

  h1 {
    font-family: "Climate Crisis", sans-serif;
    font-weight: 900;
    display: flex;
    color: #eb3916;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: calc(2em + 12vmin);
    text-align: center;
    line-height: 0.7;
    letter-spacing: -0.05em;
    margin: 0;
    width: 100%;

    @media (orientation: landscape) {
      font-size: calc(2em + 10vmax);
    }
    span {
      display: block;
      transform: rotate(-1deg);
      mix-blend-mode: multiply;
      opacity: 0.9;

      &:nth-child(2) {
        color: #f6821c;
        transform: rotate(-5deg);
      }

      &:nth-child(3) {
        color: #efb23b;
      }
    }
  }
}

footer .section--bgImage-container {
  background-color: black;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  clip-path: inset(0 0 0 0);
}
