:root {
  --highlight-color: #bf811c;
  --body-bg: #f6cff6;
  --link-bg: #ffffff90;
}

p a {
  background-color: var(--link-bg);
}

.font-display {
  font-family: "DM Sans", sans-serif;
}

/* SECTIONS */

.section--title {
  width: 100%;
  color: white;
  align-items: flex-end;
  justify-content: center;
  transform: skew(0, 0.5deg);
  top: -10px;

  .section--bgImage-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }

  .section--bgImage {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .section--bgImage-fixed {
    opacity: 1;
  }

  + .section--text {
    @media (orientation: landscape) {
      padding-top: 10vmin;
    }
  }
}

.title-container {
  flex-direction: column;
  padding: 20px;
  margin-top: 80vh;
  margin-bottom: 8vh;
  padding: 0;
  justify-content: center;
  background-color: #000000dd;
  box-shadow: 0 4px 2px #00000020;
  transform: rotate(-1deg);
  backdrop-filter: blur(10px);
  padding: 10vmin;
  padding-top: 30vh;
  letter-spacing: -0.05em;
  filter: blur(1px);

  h1 {
    font-size: calc(1em + 8vmin);
    line-height: 1;
    margin: 0;
    font-weight: 900;
    color: var(--body-bg);

    &:before {
      content: "God Vibrations!";
      position: absolute;
      left: 0.05em;
      bottom: 0.05em;
      transform: rotate(-1deg) scale(0.99);
      opacity: 0.7;
      max-width: 5ch;
    }

    &:after {
      content: "God Vibrations!";
      position: absolute;
      left: -0.05em;
      bottom: -0.05em;
      transform: rotate(0.5deg) scale(1.01);
      opacity: 0.4;
      max-width: 5ch;
      filter: blur(1px);
    }
  }

  p {
    font-size: calc(1em + 2vmin);
    font-weight: 800;
    line-height: 1;
    margin-top: 0.25em;
    transform: rotate(1deg);
    color: var(--body-bg);
  }
}

.title-icon {
  position: absolute;
  width: 20vmin;
  bottom: -8vmin;
  left: 50%;
  transform: translateX(-50%) rotate(5deg);
  opacity: 0.9;
}

.section--text .section--heading {
  font-size: calc(2em + 3vmin);
  transform: rotate(-1deg);
}

footer .title-icon {
  position: absolute;
  top: -13vmin;
  bottom: initial;
  z-index: 10;
  transform: translateX(-50%) rotate(-5deg);
}
