*, *::before, *::after {
    box-sizing: border-box;
}

@font-face {
    font-family: "Fredoka";
    src: url("../fonts/Nunito-VariableFont_wght.woff2") format("woff2");
}

:root {
    font-family: "Fredoka", sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
    --bg: oklch(0.9176 0.0296 67.76);
    --text: oklch(0.2235 0.0296 64);
    background-color: var(--bg, oklch(0.95 0.0074 67.76));
    color: var(--text, oklch(0.1471 0 67.76));
}
body {
    margin: 0;
}
.container {
    max-width: 80rem;
    margin-inline: auto;
    padding-inline: 1rem;
}
header{
    --bg: oklch(0.4267 0.1159 315.53);
    --text: oklch(0.8206 0.0592 315.53);
    background-color: var(--bg, oklch(0.95 0.0074 67.76));
    color: var(--text, oklch(0.1471 0 67.76));
    a{
        text-decoration: none;
    }
    nav{
        ol{
        padding:0;
        margin:0;
        list-style: none;
        margin-inline: -2rem;
            a{
                display: block;
                padding-inline: 2rem;
                padding-block: 1rem;
                color: inherit;
                &:hover,&:focus-visible{
                    color: var(--bg, oklch(0.95 0.0074 67.76));
                    background-color: var(--text, oklch(0.1471 0 67.76));
                }
            }
        }
    }
}
.sitenaam{
    color: var(--text, oklch(0.1471 0 67.76));
    font-weight: bold;
    font-size: 1.5rem;
}
.cards{
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
    li{
        flex-basis:16rem;
        display: flex;
        flex-direction: column;
        position: relative;
        background-color: oklch(0.8383 0.1011 68.82);
        border-radius: .5em;
        overflow: hidden;
        box-shadow: 0 0 .2rem oklch(0 0 0 / .2), 0 0 2rem oklch(0 0 0 / .1);
        transition: box-shadow .3s ease-in-out;
        &:hover{
            box-shadow: 0 0 .2rem oklch(0 0 0 / .5), 0 0 2rem oklch(0 0 0 / .3);
        }
    }
    li > *:not(img) {
        margin-inline: 1rem;
        margin-block-end: 1rem;
    }
    img{
        order:-1;
        width: 100%;
    }
    a::after{
        content: "";
        position: absolute;
        inset: 0;
    }
}

