@font-face {
    font-family: 'Open Sans';
    src: url(../fonts/OpenSans-VariableFont_wdth,wght.woff2) format('woff2');
}

*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    font-family: 'Open Sans', sans-serif;
    font-weight: normal;
    line-height: 1.6;
    scroll-behavior: smooth;
    --bg_main: oklch(0.9894 0.0069 148.66);
    --bg_2: oklch(0.5296 0.145 148.66);
    --primary: oklch(0.0815 0.0069 148.66);

    background-color: var(--bg_main);
    color: var(--primary);
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}

main {
    flex-grow: 1;
}

.container {
    max-width: 80rem;
    margin-inline: auto;
    padding-inline: 1rem;

    h2 {
        margin-block-start: 2rem;
    }

    p {
        font-size: 1.12rem
    }
}

header {
    background-color: var(--bg_2);
    color: var(--bg_main);
    margin-block-start: 0;
    padding-block:0.25rem 0.25rem;
    padding-inline: 4rem 4rem;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

     .logo {
         text-decoration: none;
         color: inherit;
         font-size: 2rem;
         font-weight: bolder;


    }
}

nav {
    ul {
        padding: 0;
        margin-inline-start: 2rem;
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        align-items: center;


        a{
            text-decoration: none;

            padding-inline: 2rem;
            padding-block: 1rem 1rem;
            display: inline-block;
            color: inherit;
            font-weight: bold;
        }
    }
}

.knop {
    display: inline-block;
    padding: 1rem;
    text-decoration: none;
    border-radius: 5px;
    background-color: oklch(0.5296 0.145 148.66);
    color: var(--bg_main);
    &:hover {
        background-color: oklch(0.5771 0.145 148.66);
        transition: background-color .1s ease-in-out;
    }
}

.cards {
    margin-block: 1.5rem;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;

        li {
            display: flex;
            flex-direction: column;
            flex-basis: 16rem;
            list-style: none;
            border: 1px solid var(--primary);
            border-radius: 12px;
            overflow: hidden;
            position: relative;
            background-color: oklch(1 0 148.66);

            img {
                order: -1;
                width: 100%;
            }
    }

    .inhoud {
        padding: 1rem;
        & > h3 {
            font-weight: bold;
            font-size: 1.25rem;

        }
        a {
            color: initial;
        }
    }
    .overlay-link {
        position: absolute;
        inset: 0;

        text-indent: 100%;
        white-space: nowrap;
        overflow: hidden;
    }
    li a:not(.overlay-link) {
        z-index: 1
    }
}

.socials {

    h2 {
        text-align: center;
    }

    ul {
        display: flex;
        justify-content: center;
        gap: 1rem;
        padding: 0;
        list-style: none;
        margin-block-end: 0;
    }
    li {
        margin-block-end: 0.25rem;

        a {
            display: flex;
            flex-direction: row;
            text-decoration: none;
            font-weight: bold;
        }
        img {
            width: 5rem;
            border-radius: 5rem;
            margin-block-end: -0.5rem;
        }
        p {
            font-weight: bolder;
        }
    }

}

footer {
    display: flex;
    justify-content: center;
    margin-block-start: .80rem;
    font-size: 1rem;
    background-color: oklch(0.5296 0.145 148.66);
    color: var(--bg_main);
}

.visually-hidden {
    border: 0;
    clip-path: inset(50%);
    height: 1px;
    margin: 0;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.overlay-link {
        position: absolute;
        inset: 0;
        text-indent: 100%;
        white-space: nowrap;
        overflow: hidden;
}

.over-mij {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.fotootje {
    width: 90%;
    border-radius: 16%;
    margin-inline-start: 2rem;
}

.php {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}