@font-face {
    font-family: 'Fredoka';
    src: url(../fonts/Fredoka-VariableFont_wdth\,wght.woff2) format('woff2');
}


*, *::before, *::after {
    box-sizing:border-box ;
}

:root {
    font-family: 'Fredoka', sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
    --bg: oklch(0.99 0.003 325);
    --primary: oklch(0.25 0.01 325);
}

body {
    background-color: var(--bg);
    color: var(--primary);
}

body {
    margin: 0;
}

.container {
    max-width: 80rem;
    margin-inline: auto;
    padding-inline: 1rem;
}


header {
    background-color: var(--primary);
    color: var(--bg);
}

nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin-inline-start: -2rem;

}

nav a {
    padding-block: 1rem;
    padding-inline: 2rem;
    display: block;
    color: inherit; 
    text-decoration: none;
}

.row {
    display: flex;
    gap: 2rem;

    > div {
        border: 0.0625rem dashed oklch(0.7 0.1853 232.87);
        padding: 1rem;
        flex-grow: 1;

        &:first-child {
            flex-grow: 2;
        }
    };
}

.visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 0.0625rem;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 0.0625rem;
}

main {
    nav {
        --text: oklch(0.99 0.003 325);
        --bg: oklch(0.45 0.32 40);
    }

    nav a {
        color: var(--text);
        background-color: var(--bg);
        transition: color .2s ease-in-out;
        
        &:hover,
        &:focus-visible {
            outline: 0.125rem solid oklch(0.3188 0.1828 260.88);
            background-color: oklch(0.7274 0.1927 225.46);
        }
    }

    nav li:first-child {
        margin-inline-end: auto;
    }

    nav li:first-child a {
        background-color: var(--text);
        color: oklch(0 0 260.88);
    }
}

.cards {
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
    transition-delay: 0.2s;
    transition: border-radius .2s ease-in-out .1s;
    flex-wrap: wrap;
    max-width: 80rem;


    img {
        order: -1;
        width: 100%;
        height: 6,25rem;
        display: block;
        transition: filter 0.3s ease, transform 0.3s ease;
    }


    li {
        display: flex;
        flex-direction: column;
        box-shadow: 0 0.25rem 0.5rem 0 oklch(0 0 260.88);
        transition: 0.3s;
        border-radius: 1rem;
        padding: 1rem;
        margin: 1rem;
        overflow: hidden;
        flex-basis: 18rem;
        
    }

    picture {
        order: -1;
    }
}


.overlay-link {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 0.2625rem;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 0.2625rem;
}

.cards li:hover {
    filter: hue-rotate(270deg) saturate(150%);
    transform: scale(1.05);
    
}

.content p {
    font-size: 0.7em;
}

.mylink {

    margin-right: 1em;
    
    a {
        color: oklch(60% 0.37 32.54);
        
        
    }
    
    ::before {
        content: url(../bronbestanden/deleteicon.png);
        vertical-align: middle;
        margin-right: 0.3rem;

    }
    

}

.mybutton  {
    background-color: oklch(60% 0.0817 132.07);
    border: 0.0625rem none;
    padding: 0.8rem;
    text-align: center;
    border-radius: 0.25rem;

    a {
        color: oklch(1 0 132.07);
        font-size: 1.2em;
        text-decoration: none;
    }

}




































