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

:root {
  color-scheme: light dark;
  --background: white;
  --text: black;
}

body {
  font-family: "Seraphs";
  background-color: var(--background);
  color: var(--text);
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: black;
    --text: white;
  }
}

main {
  display: grid;
  justify-items: center;
  align-content: start;
  min-height: 100vh;
  padding: 4rem 1.5rem;
  gap: 2rem;
}

h1 {
  font-size: clamp(3.5rem, 9vw, 8rem);
  margin: 0;
  text-align: center;

  position: relative;
  z-index: 10;

  font-variation-settings:
    "wght" 200,
    "SRFS" 0;
  transition-duration: 3s;
}

h1:hover {
  font-variation-settings:
    "wght" 100,
    "SRFS" 60;
}

.composition h1 {
  grid-column: 2;
  grid-row: 1;
}

.composition .herhaling {
  grid-column: 2;
  grid-row: 2;
}

.composition {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
  grid-template-rows: auto auto auto auto;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  position: relative;
}

.herhaling {
  display: grid;
  justify-items: center;
  gap: 0;
  width: 100%;
  line-height: 1.1;
}

.herhaling span:nth-of-type(1) {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-variation-settings:
    "wght" 200,
    "SRFS" 30;
}

.herhaling span:nth-of-type(2) {
  font-size: clamp(2rem, 4.8vw, 4rem);
  font-variation-settings:
    "wght" 170,
    "SRFS" 60;
}

.herhaling span:nth-of-type(3) {
  font-size: clamp(1.75rem, 3.6vw, 3rem);
  font-variation-settings:
    "wght" 130,
    "SRFS" 90;
}

.herhaling span:nth-of-type(4) {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-variation-settings:
    "wght" 100,
    "SRFS" 60;
}

.herhaling span:nth-of-type(5) {
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  font-variation-settings:
    "wght" 70,
    "SRFS" 30;
}

.refrein {
  display: contents;
}

.refrein p {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.75rem);
  opacity: 0.55;

  font-variation-settings:
    "wght" 110,
    "SRFS" 10;

  transition:
    opacity 0.8s ease,
    font-variation-settings 1.5s ease;
}

.refrein p:hover {
  opacity: 1;
}

.refrein p:nth-of-type(1) {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  align-self: end;
}

.refrein p:nth-of-type(1):hover {
  font-variation-settings:
    "wght" 160,
    "SRFS" 20;
}

.refrein p:nth-of-type(2) {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  align-self: center;
}

.refrein p:nth-of-type(2):hover {
  font-variation-settings:
    "wght" 200,
    "SRFS" 10;
}

.refrein p:nth-of-type(3) {
  grid-column: 3;
  grid-row: 3;
  justify-self: end;
  align-self: center;
}

.refrein p:nth-of-type(3):hover {
  font-variation-settings:
    "wght" 100,
    "SRFS" 60;
}

.refrein p:nth-of-type(4) {
  grid-column: 1;
  grid-row: 4;
  justify-self: start;
  align-self: start;
}

.refrein p:nth-of-type(4):hover {
  font-variation-settings:
    "wght" 200,
    "SRFS" 60;
}

@keyframes --tekst-verschijnt {
  0% {
    opacity: 0;
    translate: -40px 0;
  }

  100% {
    opacity: 1;
    translate: 0 0;
  }
}

.verses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 4rem;
  width: 100%;
  max-width: 760px;
  margin: 4rem auto;
}

.verse--sef {
  justify-self: end;
  text-align: right;
  font-variation-settings:
    "wght" 120,
    "SRFS" 80;
  letter-spacing: 0.02em;
}

.verse--abel {
  justify-self: start;
  text-align: left;
  font-variation-settings:
    "wght" 200,
    "SRFS" 30;
  letter-spacing: -0.02em;
}

.verse {
  width: max-content;
  max-width: 100%;
}

.verse h2 {
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  .verses {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.gen-z {
  letter-spacing: 0.5em;
}

.stiekem {
  opacity: 0.4;
  transition: opacity 0.5s ease;
}

.stiekem:hover {
  opacity: 1;
}

.techno {
  font-size: 1.5em;
  font-variation-settings:
    "wght" 200,
    "SRFS" 0;
}

.palestine {
  display: inline-block;
  animation: hartslag 2.3s ease-in-out infinite;
  transform-origin: center;
}

@keyframes hartslag {
  0% {
    transform: scale(0.7);
  }

  25% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.7);
  }

  75% {
    transform: scale(1);
  }

  100% {
    transform: scale(0.7);
  }
}

.fluide {
  display: inline-block;
  animation: fluide-beweging 3s ease-in-out infinite alternate;
}

@keyframes fluide-beweging {
  0% {
    transform: translateY(-3px) rotate(-2deg);
  }

  100% {
    transform: translateY(3px) rotate(2deg);
  }
}

.zwaktes {
  font-size: 0.7em;
}

.sterkst {
  font-size: 1.6em;
  font-variation-settings:
    "wght" 200,
    "SRFS" 0;
}

.tradfluencer {
  letter-spacing: 0.2em;
}

.necromancer {
  animation: verschijnen 4s ease-in-out infinite alternate;
}

@keyframes verschijnen {
  0% {
    opacity: 0.2;
  }
  100% {
    opacity: 1;
  }
}

.rising {
  display: inline-block;
  animation-name: rising;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

@keyframes rising {
  0% {
    translate: 0 0;
  }

  50% {
    translate: 0 -0.4em;
  }

  100% {
    translate: 0 0;
  }
}

.cancel-culture {
  font-size: 1.4em;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.kirac {
  display: inline-block;
  animation-name: kirac;
  animation-duration: 0.3s;
  animation-iteration-count: infinite;
}

@keyframes kirac {
  0% {
    translate: 0 0;
  }

  50% {
    translate: 0 -0.1em;
  }

  100% {
    translate: 0 0;
  }
}

.baudet {
  font-size: 0.35em;
  vertical-align: baseline;
}

.ongelijke-rechten {
  font-size: 1.7em;
  font-variation-settings:
    "wght" 200,
    "SRFS" 10;
}

.beweging {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  gap: 1rem;
  width: 100%;
  margin-top: 2rem;
}

.achteruit {
  animation: beweeg-links 0.7s steps(2, end) infinite alternate;
}

.vooruit {
  animation: beweeg-rechts 0.7s steps(2, end) infinite alternate;
}

@keyframes beweeg-links {
  0% {
    translate: 0 0;
  }

  100% {
    translate: -2em 0;
  }
}

@keyframes beweeg-rechts {
  0% {
    translate: 0 0;
  }

  100% {
    translate: 2em 0;
  }
}

.muziek-link {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--text);
  color: var(--background);
  text-decoration: none;
  border: 1px solid var(--text);
  font-size: 1rem;
  transition:
    background-color 0.3s,
    color 0.3s;
}

.muziek-link:hover {
  background-color: var(--background);
  color: var(--text);
}

.muziek-link:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 4px;
}

/* Clubverlichting in dark mode */

.club-hint {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-align: right;
  z-index: 2;
}
.clublicht {
  display: none;
}

.hint-dark {
  display: none;
}

@media (prefers-color-scheme: dark) {
  .hint-light {
    display: none;
  }

  .hint-dark {
    display: inline;
    color: #ff4da6;
  }
}

@media (max-width: 600px) {
  .club-hint {
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.55rem;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #08060b;
  }

  .clublicht {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.7;
    background:
      radial-gradient(
        ellipse at 15% 25%,
        rgb(255 25 90 / 35%),
        transparent 45%
      ),
      radial-gradient(
        ellipse at 85% 35%,
        rgb(145 35 255 / 35%),
        transparent 45%
      ),
      radial-gradient(ellipse at 55% 85%, rgb(20 75 255 / 25%), transparent 50%);

    background-size: 150% 150%;
    animation: clublicht-beweging 12s ease-in-out infinite alternate;
  }

  main,
  .credits {
    position: relative;
    z-index: 1;
  }
}

@keyframes clublicht-beweging {
  0% {
    background-position: 0% 0%;
  }

  100% {
    background-position: 100% 100%;
  }
}

@media (prefers-color-scheme: dark) {
  .based {
    color: #ff4da6;
    text-shadow:
      0 0 5px #ff4da6,
      0 0 15px rgb(255 77 166 / 65%);
  }

  .sterkst {
    color: #ff4da6;
    text-shadow: 0 0 8px rgb(255 77 166 / 75%);
  }

  .nu,
  .techno {
    color: #54d8ff;
    text-shadow: 0 0 8px rgb(84 216 255 / 75%);
  }

  .tijdsgeest,
  .ongelijke-rechten {
    color: #b58bff;
    text-shadow: 0 0 8px rgb(181 139 255 / 75%);
  }

  .palestine {
    color: #ff343f;
    text-shadow: 0 0 8px rgb(255 52 63 / 70%);
  }

  .complex,
  .schorpioen {
    color: #b51228;
    text-shadow: 0 0 8px rgb(149 8 79 / 75%);
  }
}

/* haalt drukke animaties weg voor bijv epilepsie */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
