/* MARK: Fonts */
@font-face {
  font-family: "Seraphs";
  src: url("SeraphsVF.woff2") format("woff2"); /* Modern Browsers */
}

body {
  font-family: "Seraphs";
  margin: 3em;
  background-color: rgb(253, 108, 41);
  color: rgb(19, 40, 79);
}

/* bron: https://www.w3schools.com/css/css_grid.asp */
main {
  display: grid;
  grid-template-columns: repeat(2, 33em);
  gap: 1em;
  justify-content: center;
}

/* MARK: Titel */
h1 {
  font-size: 7em;
  font-weight: 400;
  transition: 2s;
  text-transform: uppercase;

  &:hover {
    font-weight: 400;
    letter-spacing: 0.3em;
    /* writing-mode: sideways-rl; */
  }
}
/* MARK: Chorus */

@keyframes --the-animation {
  0% {
    font-weight: 400;
  }

  100% {
    font-weight: 700;
  }
}
section:nth-of-type(1) {
  grid-column: 2;
  grid-row: 1;
  p {
    font-size: 3em;
    font-weight: 100;
    line-height: 1em;
    letter-spacing: -0.1em;
    word-spacing: 0.2em;
    text-transform: uppercase;
    transform: skew(30deg);
  }

  span {
    font-size: 3rem;
    font-weight: 200;
    letter-spacing: -0.1em;
    text-transform: uppercase;
    display: inline-block;
    transform: skew(-60deg);

    animation-name: --the-animation;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-direction: alternate;
  }
}

/* MARK: Verse 1 */

section:nth-of-type(2) {
  grid-column: 1;
  grid-row: 2;
  span {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 0.5;
    letter-spacing: 0.4em;
    word-spacing: 0.2em;
    text-transform: uppercase;
    display: inline-block;
    transform: skew(30deg);
  }

  p {
    font-size: 2em;
    font-weight: 100;
    line-height: 1em;
    letter-spacing: -0.1em;
    word-spacing: 0.2em;
    display: inline-block;
    transform: skew(-30deg);
  }
}

/* MARK: Chorus */
section:nth-of-type(3) {
  grid-column: 2;
  grid-row: 3;

  p {
    font-size: 3em;
    font-weight: 100;
    line-height: 1em;
    letter-spacing: -0.1em;
    word-spacing: 1em;
    text-transform: uppercase;
    transform: skew(30deg);
  }
  span {
    font-size: 3rem;
    font-weight: 200;
    letter-spacing: -0.1em;
    text-transform: uppercase;
    display: inline-block;
    transform: skew(-57deg);

    animation-name: --the-animation;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-direction: alternate;
  }
}
