@font-face {
    font-family: "Fredoka";
    src: url("../../labo03/Oplossing/fonts/Fredoka-VariableFont_wdth,wght.woff2") format("woff2");
}

:root {
    --bg:         #0f1117;
    --surface:    #171a23;
    --surface-2:  #1f2330;
    --text:       #e6e8ef;
    --accent:     #4fd1c1;
    font-family: "Fredoka", sans-serif;
    line-height: 1.6;
    background-color: var(--bg);
    color: var(--text);
}

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

body {
    margin: 0;
}


.container {
    width: 100%;
    max-width: 90rem;
    margin-inline: auto;
    padding-inline: 1rem;
}

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


header {
    background-color: var(--surface);
    color: var(--text);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

main {
    padding-top: 5dvh;
    padding-bottom: 5dvh;
}

footer {
    background-color: var(--surface-2);
    color: var(--text);
    padding-block: 1rem;
    text-align: center;
}

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

a {
    color: var(--accent);
}

a:focus-visible {
    outline: 4px dotted;
}

li:focus-visible {
    outline: 4px dotted
}

a[href*="mozilla"] {
    background-color: #4fd1c140;
}

/* Nav */
nav > ul {
    padding: 0;
    margin: 0;
    list-style: none;
    margin-left: -2rem;
    margin-right: -2rem;
    margin-bottom: 1rem;
}

nav a {
    display: block;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 2rem;
    padding-right: 2rem;
    color: inherit;
    text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
    background-color: var(--surface-2);
    margin-left: 1rem;
    margin-right: 1rem;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

nav li:nth-child(2) {
    background-color: var(--surface-2);
    color: var(--accent);
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
}


h2 + p {
    font-style: italic;
}


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

footer .highlight {
    font-weight: normal;
    font-style: normal;
    color: var(--accent);
}

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


h2 {
    margin-bottom: 3rem;
}

p {
    margin-top: 2rem;
}

img{
    border: 5px solid white;
    border-radius: 1rem;
    margin-left: 1rem;
}
img:hover{
    transform: scale(1.05);
    transition: 1s ease;
}
