*, *::before, *::after {
    box-sizing: border-box;
}
@font-face {
    font-family: "Sansita";
    src: url("/fonts/Sansita-Regular.woff2") format("woff2");
}
:root {
    font-family: "Sansita", sans-serif;
    line-height: 1.6;
    --bg: oklch(0.95 0.015 230);
    --kleur: oklch(0.25 0.025 255);
    --nav: oklch(0.72 0.09 235);
    --hover: oklch(0.62 0.13 230);
    --accent: oklch(0.68 0.14 190);
    background-color: var(--bg);
    color: var(--kleur);
    scroll-behavior: smooth;


}
.container {
    max-width: 80rem;
    margin-inline: auto;
    padding-inline: 1rem;
}
header {
    background-color: var(--nav);
    position: sticky;
    top: 0;
    z-index: 1;
    nav {
        display: flex;
        list-style: none;
        padding: 0;

        a:first-child {
            margin-inline-end: auto;
        }

        ul {
            list-style: none;
            display: flex;
        }

        a {
            padding: .5rem .5rem;
            text-decoration: none;
            color: var(--kleur);
            display: block;
            transition: box-shadow 0.1s ease-in-out,
            background-color 0.2s ease-in-out;
            border-radius: .5rem;
        }
        a:hover, a:focus-visible{
            background-color: var(--hover);
            color: var(--bg);
            box-shadow: 0 0 .5rem oklch(0 0 0 / .7), 0 0 2rem oklch(0 0 0 / .1);
        }
        a:focus-visible {
            outline: 4px dotted;
        }
    }
}
body {
    margin: 0;

    main {
        padding-top: calc(5dvh + 2dvw);
        padding-bottom: calc(5dvh + 2dvw);
        .teasers{
            display:flex;
            gap: .75rem;
            margin: 0;
            padding: 0;
            list-style: none;
            flex-wrap: wrap;
            li{
                display: flex;
                flex-direction: column;
                position: relative;
                flex-basis: 25.5rem;
                border-radius: .75rem;
                overflow: hidden;
                transition: box-shadow 0.3s ease-in-out;
                background-color: var(--bg);
                box-shadow: 0 0 0.2rem oklch(0 0 0 /0.2), 0 0 2rem oklch(0 0 0/0.1);
            }
            img{
                order: -1;
                width: 100%;
                height: auto;
                aspect-ratio: 4 / 2.5;
            }
            a::after{
                content: "";
                position: absolute;
                inset:0;
            }
            h2 {
                margin-block-start: 0;
                font-size: 1.25rem;
            }
            .kaart{
                padding: 1rem;
            }
            li:hover {
                box-shadow: 0 0 .5rem oklch(0 0 0 / .7), 0 0 2rem oklch(0 0 0 / .1);
            }
        }
    }

    footer {
        background-color: var(--nav);
        color: var(--kleur);

        p:last-child {
            margin: 0;
        }
    }
}




.m-1{
    margin: 1rem;
}
.m-2{
    margin: 2rem;
}
.p-1{
    padding: 1rem;
}
.p-2{
    padding: 2rem;
}
.bold{
    font-weight: bold;
}
