@font-face {
    font-family: "Fredoka";
    src: url("../../../fonts/Fredoka-VariableFont_wdth,wght.woff2") format("woff2");
}

*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    font-family: "Fredoka", sans-serif;
}


:root {
    line-height: 1.6;
    color: oklch(0.93 0.015 250);
    background-color: oklch(0.22 0.03 260);

}

body {
    margin: 0;
}

h1 {
    color: oklch(0.6918 0.1455 250)
}

h2 {
    color: oklch(0.7975 0.1061 250)
}

code {
    background-color: oklch(0.3708 0.0896 260)
}


figcaption {
    color: oklch(0.7312 0.1554 299.86)
}

.sitenaam {
    color: oklch(0.6918 0.1455 250)
}

.belangrijk {
    color: oklch(1 0 359.15)

}


a {
    color: oklch(0.8198 0.0967 245.08); /* light blue, readable on dark */
}

.container {
    max-width: 90rem;
    margin-inline: auto;
    padding-inline: 1rem;
}

header {
    background-color: oklch(0.2712 0.0784 260);
    color: oklch(0.8198 0.0967 245.08)
}

footer {
    background-color: oklch(0.2285 0.0242 245.08);
}

nav ul {
    padding: 0;
    list-style: none;
    margin: 0 0 0 -2rem;
}

nav a {
    display: block;
    padding-block: 1rem;
    padding-inline: 2rem;
    color: inherit;
    text-decoration: none;
}

:focus-visible {
    outline: 4px dotted
}

nav a:hover,
nav a:focus-visible {
    background-color: oklch(0.3518 0.0784 260)
}

nav :nth-child(2) {
    color: oklch(0.792 0.1619 84.92);
    background-color: oklch(0.3589 0.0168 84.92);
}

main ol li:nth-child(odd) {
    background-color: oklch(0.3708 0.0896 260);
}

main ol li:nth-child(even) {
    background-color: oklch(0.28 0.05 260);
}

footer p:last-child {
    margin-bottom: 0;
}

h2 + p {
    font-style: italic;
}

a[href*="mozilla"] {
    background-color: oklch(0.792 0.1619 84.92)
}

.highlight {
    font-weight: bold;
    font-style: italic;
}

.container--narrow {
    max-width: 40rem
}

.m-1 {
    margin: 1rem
}

.m-2 {
    margin: 2rem
}

.p-1 {
    padding: 1rem
}

.p-2 {
    padding: 2rem
}

footer .highlight {
    font-weight: normal;
    font-style: normal;
    color: oklch(0.792 0.1619 84.92)
}

h2 {
    margin-bottom: 3rem
}

p {
    margin-top: 2rem
}

main {
    padding: 5dvh 5dvw;
}