*,*::before,*::after  {
    box-sizing: border-box;
}
@font-face {
    font-family: "Fredoka";
    src: url("Fredoka-VariableFont_wdth,wght.woff2") format("woff2");
}
:root {
    font-family: "Fredoka", arial, sans-serif;
    --color-bg: oklch(98% 0.01 100);
    --color-primary: oklch(0.6 0.119 195.473);
    --color-primary-hover: oklch(67% 0.15 195);
    --color-secondary: oklch(75% 0.12 140);
    --color-text: oklch(30% 0.02 270);
    --color-border: oklch(94% 0.02 100);
    --radius: 0.75rem;
    font-size: 1.125rem
}
.container  {
    max-width: 80rem;
    margin-inline: auto;
    padding-inline: 1rem;
}
body {
    margin: 0;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
}

section {
    margin-bottom: 2rem;
    padding: 1rem;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: 0 0.1rem 0.3rem oklch(0% 0 0 / 0.05);
}

h1,h2,h3 {
    color: var(--color-primary);
    margin-top: 0;
}
img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 0.5rem 0;
}

a {
    color: var(--color-text);
    text-decoration: underline;
    transition: color 0.2s;
    &:hover, &:focus-visible {
        color: var(--color-secondary);
        text-decoration: underline;
    }
}
p {
    max-width: 40em;
}
.cards ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 0;
    justify-content: center;

    li {
        display: flex;
        flex-direction: column;
        min-width: 20rem;
        max-width: 23.5rem;
        position: relative;
        margin-block: 1rem;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 0 1rem oklch(0% 0 0 / 0.05);
        background-color: var(--color-bg);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        &:hover, &:focus-visible {
            transform: translateX(-6px) translateY(-6px);
            box-shadow: 0 0 2rem oklch(0.657 0 89.876);
        }
    }
    .content {
        padding: 1rem;
    }
    li picture{
        order: -1;
        border-top-right-radius: 10px;
        border-top-left-radius: 10px;
        max-height: 20rem;
        overflow: hidden;
    }
    .overlay-link {
        position: absolute;
        inset: 0;
        text-indent: 100%;
        overflow: hidden;
        white-space: nowrap;
    }
    li a:not(.overlay-link){
        z-index: 1;
    }
}
.socials ul {
    display: flex;
    list-style: none;
    justify-content: center;
    img {
        max-width: 5rem;
        min-width: 5rem;
    }
}
footer {
    display: flex;
    justify-content: center;
    padding: 1rem;
    color: var(--color-text);
    border-top: 1px solid var(--color-border);
    font-size: 0.9rem;
}
img {
    max-width: 30rem;
}
.projecten {
    display: flex;
    flex-direction: column;
    img {
        order: -1;
    }
}
@media  (min-width: 40em) {
    .afbeelding-uitlijnen {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        flex-wrap: wrap;
    }
}
@media (min-width: 60em) {
    .projecten {
        flex-direction: row;
        justify-content: space-between;
        img {
            order: 1;
        }
    }
}

