@font-face {
  font-family: "Luna";
  src: url(/fonts/HS_LunaObscura.otf);
}

@font-face {
  font-family: "SuperHocker";
  src: url(/fonts/SuperHockey.ttf);
}

@font-face {
  font-family: "Matcha";
  src: url(/fonts/MatchaCih.otf);
}

html {
  color-scheme: light dark;

  --background-full: light-dark(#b3e4e9, #2e4057);
  --background-ul: light-dark(#ffe32a, #fce762);
  --text: light-dark(#354c6a, #ddbdd5);
  --text-ul: light-dark(#000000, #fff08e);
  --hover: light-dark(#86b0e5, #2d6a6f);
  --background0: light-dark(rgb(240, 148, 240), rgb(188, 50, 188));
  --background1: light-dark(rgb(207, 237, 186), rgb(137, 181, 106));
  --background2: light-dark(rgb(253, 201, 105), rgb(216, 146, 15));
  --active: light-dark(#3d5574, #92b9bd);
  --active2: light-dark(#75aef5, #92b9bd);
  --text-li-a: light-dark(#2965b3, #2e4057);
  --cookie: light-dark(rgb(143, 241, 234), rgb(3, 150, 140));
  --button: light-dark(#c9b010, #fce762);
  --buttonhover: light-dark(rgb(3, 59, 150), #96830b);
  --borderradius: 10px;
  --blocks: light-dark(white, #4c62c3);
  --blockshover: light-dark(blue, #f87060);
  --text-li-a: light-dark(#2965b3, #2e4057);
  --width: 325px;
  --widthbig: 500px;
  --widthbig2: 400px;
  --witruimte15px: 15px;
  --geel: #fce762;
  --blauw: blue;
  --wit: white;
}

/* border kleuren ook in de custom proper */

html:has([value="light"]:checked) {
  color-scheme: light;
  background-color: var(--background);
}

html:has([value="dark"]:checked) {
  color-scheme: dark;
  background-color: var(--background);
}

body {
  background-color: var(--background-full);
}

h1,
h2,
h3 {
  color: var(--text);
  text-align: center;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0 5rem;
  overflow: hidden;
  font-family: "Matcha";
  background-color: var(--background-ul);

  li {
    a {
      display: block;
      color: var(--text-li-a);
      padding: 16px 17px;
      text-decoration: none;
      float: left;
    }
  }
}

ul li a:hover {
  background-color: var(--hover);
  color: var(--wit);
}

ul li a.active {
  background-color: var(--active2);
}

form {
  color: var(--text-ul);
  text-align: center;
  padding: 0.5em;
  font-size: 20px;
}

/* main text */

main h2 {
  background-color: white;
  padding: 15px;
  max-width: 18em;
  margin: 0 auto;
  border-radius: 20px;
}

main {
  display: grid;
  grid-template-columns: 10em 10em 10em;
  align-items: start;
  place-items: center;
  grid-gap: 45px;
  grid-template-areas:
    "one one one"
    "two two ."
    ". three three";
  justify-content: center;
  @media (width < 45em) {
    grid-template-columns: 10em 10em;
    align-items: start;
    place-items: center;
    grid-gap: 45px;
    grid-template-areas:
      "one one"
      "two two"
      "three three";
    justify-content: center;
  }
}

main p:nth-of-type(1) {
  background-color: var(--background0);
  border: 3px solid var(--active);
  font-family: "SuperHocker";
  font-weight: 50;
  font-size: 25px;
  grid-area: one;
  padding: var(--witruimte15px);
  grid-area: one;
}

main p:nth-of-type(2) {
  grid-area: two;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 19px;
  background-color: var(--background1);
  padding: var(--witruimte15px);
  border: 3px solid var(--active);
}

main p:nth-of-type(3) {
  grid-area: three;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 19px;
  background-color: var(--background2);
  padding: var(--witruimte15px);
  border: 3px solid var(--active);
}

main a {
  background-color: green;

  p {
    color: pink;
  }

  img {
    width: 200px;
  }
}

/* end */

footer p {
  color: var(--zwart);
  text-align: center;
  font-size: 11px;
  font-family: "Luna", Times, serif;
}
