/* MARK: fonts */
@font-face {
  src: url(../fonts/SeraphsVF.woff2);
  font-family: "Seraphs";
}
/*MARK: html-properties */
html {
  /* MARK: size-scale*/
  --step-3: 2.074em;
  --step-2: 1.728em;
  --step-1: 1.44em;
  --step0: 1.2em;
  --step1: 1em;
  --step2: 0.833em;
  --step3: 0.694em;
  --step4: 0.579em;
  --step5: 0.482em;
  /*MARK: other properties */
  --background-color: #222222;
  --text-color: oldlace;
  --text-shadow: 10px 10px 10px black;
}
/* MARK: items */
body {
  font-family: "Seraphs";
  font-size: 3em; /* 48px */
  line-height: 0.05em;
  grid-template-columns: repeat(3, 1fr);
  display: grid;
  background: var(--background-color);
  color: var(--text-color);
}

main {
  display: grid;
  grid-column: 2 / 3;
}

h1 {
  grid-column: 1 / -1;
  text-align: center;
  text-shadow: var(--text-shadow);
  text-transform: uppercase;
  font-size: 4em;
  font-variation-settings:
    "wght" 200,
    "SRFS" 2;
  transition-duration: 3s;
  &:hover {
    font-variation-settings:
      "wght" 150,
      "SRFS" 12;
  }
}

span {
  text-shadow: var(--text-shadow);
  font-size: var(--step-2);
  grid-row: 2/2;
  font-variation-settings:
    "wght" 125,
    "SRFS" 12;
  padding-left: 1em;
  letter-spacing: 0.1em;
}
/* MARK: PARAGRAPHS */
p {
  writing-mode: sideways-lr;
  text-align: end;
  font-variation-settings:
    "wght" 120,
    "SRFS" 2;
  display: grid;
  font-size: var(--step4);
  line-height: var(--step-3);
}

main p:nth-of-type(1) {
  grid-column: 1 / 2;
}

main p:nth-of-type(2) {
  grid-column: 2/3;
}

main p:nth-of-type(3) {
  grid-column: 3/4;
}

main p:nth-of-type(4) {
  grid-column: 4/5;
}
