/* Custom properties */
/* ///////////////// */

:root {
  --title-color: #fffef9;
  --text-color: #504239;
  --text-color2: #fffef9;
  --background-color: #fffef9;
  --accent1: #faf7f1;
  --accent2: #f2eee2;
  --accent3: #faf7f1;
  --accent4: #504239;
  --footer: #504239;
  --header: #fffef9;
}

@media (prefers-color-scheme: dark) {
  :root {
    --title-color: #fffef9;
    --text-color: #f5efe8;
    --text-color2: #1c1816;
    --background-color: #13100e; 
    --accent1: #504239;
    --accent2: #262220;
    --accent3: #faf7f1;
    --accent4: #504239;
    --footer: #504239;
    --header: #13100e;
  }
}


/* Body */
/* ////// */

body {
  background-color: var(--background-color);
  color: var(--background-color);
  margin: 0;
  padding: 0;
}



/* Fonts, tekst deco */
/* ///////////////// */

/* Montserrat */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Noto Sans */
@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/NotoSans-VariableFont_wdth,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Dancing Script */
@font-face {
  font-family: "Dancing Script";
  src: url("../fonts/DancingScript-VariableFont_wght.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* h1 {
    ...
} =hidden, maakt niet uit */

h2 {
  font-family: "Montserrat", sans-serif;
  text-align: center;
  text-transform: uppercase;
}

h3 {
  font-family: "Noto Sans", sans-serif;
}

p {
  font-family: "Noto Sans", sans-serif;
}

button {
  font-family: "Montserrat", sans-serif;
}

a {
  font-family: "Noto Sans", sans-serif;
}

label {
  font-family: "Noto Sans", sans-serif;
  font-size: small;
}

main section:nth-of-type(4) p:first-of-type {
  font-family: "Dancing Script", cursive;
}

h2, h3, p, button, label {
  color: var(--text-color);
}



/* Visually hidden */
/* /////////////// */

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
/* Bron = https://www.a11yproject.com/posts/how-to-hide-content/ */
