*, *::before, *::after {
    box-sizing: border-box;
}

:root {
   background-color:  oklch(92.045% 0.05111 309.56);
    color: oklch(0.38 0.22 330);
};

body {
    color:  oklch(0.38 0.22 330);
    font-family: system-ui, sans-serif;
    margin: 0;
    line-height: 1.5;
  
}

.m-1 { margin : 1rem ; }
.m-2 { margin : 2rem ; }
.p-1 { padding : 1rem ; }
.p-2 { padding : 2rem ; }


.container {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 1rem;
}

header {
    padding-block: 2.5rem; /* Past de hoogte aan de boven- en onderkant aan */
    background-color: oklch(24.711% 0.13142 287.896);
    width: 100%;
}


nav ul {
    list-style: none;
    padding: 0;
    margin:  -2rem; }

nav li {
    margin-bottom: 0.25; 
}

/* Standaard weergave van het 2e item */
nav li:nth-child(2) a {
    color: oklch(97.743% 0.00985 305.047);
}

nav a {
    color: oklch(75.973% 0.14382 299.066);
    text-decoration: none;
    display: block; /* Zorgt ervoor dat de link de volledige breedte van zijn container pakt */
    padding: 1rem 2rem; /* Geeft de link ruimte */
}

nav a:hover, 
nav a:focus {
    background-color: oklch(85% 0.1 299); 
    color: oklch(24.711% 0.13142 287.896);
}

main {
    padding-block: 2rem;
}

a[href*="mozilla"] {
    background-color: oklch(56.117% 0.21736 28.014 / 0.4); /* De / 0.4 bepaalt de alfawaarde (transparantie) */
}
a[href*="../"] {
       color:  oklch(0.38 0.22 330);
 }

h1, h2, h3 {
    line-height: 1.2;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

h2 {
    margin-bottom: 3rem;
}

p {
    margin-top: 2rem;
}

h2 + p {
    font-style: italic;
}

p, ol {
    margin-bottom: 1rem;
}



.container--narrow {
    max-width: 40rem;
}

.highlight {
    font-weight: bold;
    font-style: italic;
}

footer p {
    color: oklch(75.973% 0.14382 299.066);
    text-decoration: underline;
    display: inline-block;
    padding: 0.25rem 1rem;
}

footer {
    background-color: oklch(24.711% 0.13142 287.896);
    padding-block: 2rem;
    font-size: 0.9rem;
    width: 100%; /* Loopt over de volle breedte */
}

footer .highlight {
    font-weight: normal;       /* Niet vet */
    font-style: normal;        /* Niet cursief */
    color: oklch(85% 0.1 299); /* Een lichte tekstkleur met voldoende contrast tegen je donkere footer */
}

footer p:last-child {
    margin-bottom: 0;
}

