@font-face {
    font-family: "Josefin Sans";
    src: url("./fonts/JosefinSansRegular.ttf");
}

@font-face {
    font-family: "Josefin Sans";
    src: url("./fonts/JosefinSansBold.ttf");
    font-weight: bold;
}

@font-face {
    font-family: "Josefin Sans";
    src: url("./fonts/JosefinSansItalic.ttf");
    font-style: italic;
}

@font-face {
    font-family: "Josefin Sans";
    src: url("./fonts/JosefinSansBoldItalic.ttf");
    font-weight: bold;
    font-style: italic;
}

:root {
    font-family: "Josefin Sans", sans-serif;
    color: oklch(0.25 0.02 252);
    background-color: oklch(0.75 0.15 77);
    overscroll-behavior: none;
}

body {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

header {
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: oklch(0.81 0.15 319);
    box-shadow: 0.2rem 0.2rem 0 oklch(0.35 0.11 255);
}

header .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-size: 2.5rem;
    font-weight: bold;
    font-style: italic;
}

.logo::before {
    content: "";
    display: inline-block;
    width: 10rem;
    height: 4.6rem;
    margin-right: -3rem;
    background: url("./images/draak.png") center / contain no-repeat;
}

.logo:hover::before {
    background-image: url("./images/draak_wit.png");
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 0;
    list-style: none;
    font-size: 2rem;
    text-align: center;
}

h1 {
    margin-top: 6rem;
}

.slogan {
    margin-bottom: 6rem;
    font-size: 1.5rem;
    font-style: italic;
}

.kaarten {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    padding: 0;
    list-style: none;
}

.kaarten li {
    flex: 18rem;
}

.kaarten li,
.paneel {
    padding: 1rem;
    border-radius: 1rem;
    background-color: oklch(0.92 0.12 93);
    box-shadow: 0.6rem 0.6rem 0.4rem oklch(0.32 0.10 37);
    text-align: center;
}

.kaarten :is(h2, h3) {
    font-size: 1.25rem;
    color: oklch(0.35 0.11 255);
}

.kaarten img {
    width: 18rem;
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0.2rem 0.2rem 0 oklch(0.35 0.11 255);
}

.paneel {
    margin-bottom: 3rem;
}

p a {
    text-decoration: underline;
}

iframe {
    border: 0;
}

button,
input,
select {
    font: inherit;
}

.filter-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 1rem;
}

.form-field label {
    display: block;
}

footer {
    text-align: center;
    color: oklch(0.32 0.10 37);
}

@media (max-width: 40rem) {
    .logo {
        font-size: 1.5rem;
    }

    .logo::before {
        width: 6rem;
        height: 2.8rem;
        margin-right: -2rem;
    }

    nav ul {
        gap: 1rem;
        font-size: 1rem;
    }
}
