b@font-face {
    font-family: SUSEMono;
    src: url("../fonts/SUSEMono-VariableFont_wght.woff2") format("woff2");
}

*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --blue: oklch(0.755 0.153 231.639);
    --dark-blue: oklch(0.20 0.03 250);
    --light-bg: oklch(0.98 0.01 270);
    --light-text: oklch(0.25 0.02 250);
    --white: oklch(0.99 0 0);

    font-family: "SUSEMono", sans-serif;
}
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background: var(--light-bg);
    color: var(--light-text);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 90rem;
    margin-inline: auto;
    padding-inline: 1rem;
}

.content {
    flex: 1 0 auto;
}

header {
    background: var(--dark-blue);
    color: var(--white);
    padding-block: 1rem;
    box-shadow: 0 2px 6px oklch(0.2 0 0 / 0.4);

    nav {
        ul {
            list-style: none;
            display: flex;
            justify-content: center;
            gap: 3rem;
            margin: 0;
            padding: 0;
        }

        a {
            color: var(--white);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease-in-out;

            &:hover {
                color: var(--blue);
            }
        }
    }
}

main {
    .box {
        text-align: center;
        margin-block: 3rem;
        background: var(--white);
        padding: 2.5rem;
        border-radius: 1.25rem;
        box-shadow: 0 5px 15px oklch(0.25 0 0 / 0.1);
		li{
            list-style: none;
        }
        img {
            width: 200px;
            aspect-ratio: 1;
            border-radius: 50%;
            margin-block: 1rem;
            border: 4px solid var(--dark-blue);
        }

        a {
            display: inline-block;
            margin-block: 1rem;
            background: var(--dark-blue);
            color: var(--white);
            padding: 0.6rem 1.2rem;
            border-radius: 1.6rem;
            text-decoration: none;
            transition: background 0.3s ease-in-out;

            &:hover {
                background: var(--blue);
            }
        }
    }
}

section {
    margin-block: 3rem;
}

h1, h2 {
    color: oklch(0.22 0.02 250);
    text-align: center;
    margin-block-end: 1rem;
}

.cards {
    ul {
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        list-style: none;
        padding: 0;
        justify-content: center;
    }

    li {
        width: 25rem;
        background: var(--white);
        border-radius: 1rem;
        box-shadow: 0 5px 15px oklch(0.25 0 0 / 0.1);
        overflow: hidden;
        transition: transform 0.3s ease;
		list-style: none;
        &:hover {
            transform: translateY(-5px);
        }

        img {
            width: 100%;
            height: 12.5rem;
            object-fit: cover;
        }

        .card {
            padding: 1.5rem;

            p:first-child {
                font-weight: bold;
                color: var(--dark-blue);
            }

            a {
                display: inline-block;
                margin-top: 0.5rem;
                color: var(--dark-blue);
                text-decoration: none;
                font-weight: 500;

                &:hover {
                    text-decoration: underline;
                }
            }

        }
    }
}
/*.overlay-link{
    inset: 0;
    position: absolute;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}*//*Werkt niet?*/

.socials {
    ul {
        display: flex;
        justify-content: center;
        list-style: none;
        gap: 2rem;
        flex-wrap: wrap;
        margin-block-start: 1rem;

        li {
            display: flex;
            align-items: center;
            gap: 0.5rem;

            img {
                width: 30px;
                aspect-ratio: 1;
                transition: transform 0.3s ease;

                &:hover {
                    transform: scale(1.1);
                }
            }

            a {
                color: var(--light-text);
                text-decoration: none;
                font-weight: 500;

                &:hover {
                    color: var(--blue);
                }
            }
        }
    }
}


form {
    padding: 1rem;

    label {
        display: block;
        margin-block: 0.5rem;
        font-weight: bold;
    }

    input:not([type=submit]),
    textarea {
        display: block;
        width: 100%;
        max-width: 40rem;
        padding: .75em;
        border: 1px solid #666;
        border-radius: .3rem;
    }

    input[type=submit] {
        margin-block-start: 1rem;
        padding: .5em 2em;
        background: var(--dark-blue);
        color: var(--white);
        border: none;
        border-radius: 2rem;
        cursor: pointer;
        transition: background 0.3s ease;

        &:hover {
            background: var(--blue);
        }
    }
}

footer {
    background: var(--dark-blue);
    color: var(--white);
    text-align: center;
    padding-block: 1.5rem;
    font-size: 0.9rem;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    header nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    main .box img {
        width: 150px;
    }

    .cards li {
        width: 90%;
    }
}
@media (min-width: 1000px) {
    .container {
        padding-inline: 2rem;
    }

    .cards ul {
        justify-content: space-between;
    }

    footer {
        font-size: 1rem;
    }
}
