@font-face {
    font-family: "Fredoka";
    src: url("./fonts/Fredoka-Light.woff2") format("woff2")
}

*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    font-family: 'Fredoka', sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
    color: oklch(0.37 0.191 294.603);
    background-color: oklch(0.838 0.015 196.866 / 0.3);
}

body {
    margin: 0;
    padding: 0;
}

header {
    color: white;
    background-color: oklch(0.5703 0.2127 262.12);
    margin: 0;
    padding: 0;
}

header nav a {
    transition: transform .2s ease-in-out, color .2s ease-in-out;
    display: inline-block;

    &:hover,
    &:focus-visible {
        transform: scale(1.2);
        color: oklch(0.813 0.142 185.084);
    }
}

.container {
    display: flex;
    flex-direction: row;
}

nav {
    display: flex;
    align-items: center;
    width: 100%;
}

.nav-left {
    display: flex;
    vertical-align: middle;

    p {
        margin-left: 2.5rem;
    }

    a {
        margin-left: 2.5rem;
        margin-top: 0.5rem;
    }
}

.nav-right {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem;
    margin: 0 auto;
}

.nav-right li {
    flex-shrink: 1;
}

.navigatie {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: inherit;
}

.intro {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-block: 5rem;
    margin-inline: 5rem;
    font-size: 1.5rem;
}


.intro-tekst, .hi-my-name-is {
    max-width: 500px;
    width: 100%;
    height: auto;
    flex: 0 0 auto;
}



.tussentitel {
    margin: 5rem;
    font-size: 2rem;
}

.tussentekst {
    margin: 5rem;
}

.find-me {
    text-align: center;
    font-size: 2rem;
}

.button {
    margin-top: 5rem;
    display: inline-block;
    padding: 0.5rem 3rem;
    border: 1px solid oklch(0.37 0.191 294.603);
    background-color: oklch(0.594 0.148 262.248 / 0.36);
    text-decoration: none;
    font-weight: bold;
    color: oklch(0.37 0.191 294.603);
    border-radius: 0.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    transform: scale(105%);
    background-color: oklch(0.644 0.076 264.193);
}



.cards {
    list-style: none;
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: start;
}

.cards img {
    width: 100%;
    max-width: 200px;
    height: auto;
    display: block;
}

.cards-exercises {
    flex-direction: row;
    margin-left: 2.5rem;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
    border: 1px solid oklch(0.37 0.191 294.603);
    border-radius: 0.5rem;
    padding: 1rem;
    background-color: oklch(0.594 0.148 262.248 / 0.36);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.content:hover {
    transform: scale(105%);
    box-shadow: 0 8px 20px oklch(0.5703 0.2127 262.12);
}


.content a {
    align-self: flex-end;
    display: inline-block;
    padding: 0.1rem 0.6rem;
    border: 1px solid oklch(0.37 0.191 294.603);
    background-color: oklch(0.594 0.148 262.248 / 0.36);
    text-decoration: none;
    font-weight: bold;
    color: oklch(0.37 0.191 294.603);
    border-radius: 0.5rem;
}

.content a:hover {
        background-color: oklch(0.644 0.076 264.193);
}

.social-media {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.social-media img {
    width: 100px;
    height: auto;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-media img:hover {
    transform: scale(105%);
}

.about-me-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
}

.about-me-image {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    padding-left: 1rem;
}

.about-me-image img {
    width: 150px;
    height: auto;
    display: block;
}

.about-me-section p {
    flex: 1 1 300px;
    max-width: 60ch;
    margin: 0;
}


footer {
    text-align: center;
}

.doelen {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    align-items: flex-start;
}

.doelen-tekst {
    flex: 1 1 350px;
}

.doelen-image {
    flex: 0 1 400px;
}

.doelen-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
}

.description {
    max-width: 120ch;
}

.reflectie-deel {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}

.reflectie-blok {
    flex: 1 1 250px;
}

.reflectie-blok p:first-child {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.tussentekst.contact {
    width: 100%;
    max-width: 700px;
    margin: 5rem auto;
    text-align: center;
}

.contact form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 0.7rem;
    border: 1px solid oklch(0.37 0.191 294.603);
    background-color: oklch(0.838 0.015 196.866 / 0.6);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact form p {
    margin: 0;
    font-weight: bold;
    text-align: left;
}

.contact input[type="text"],
.contact input[type="email"],
.contact textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid oklch(0.37 0.191 294.603);
    font-family: inherit;
    font-size: 1rem;
    background-color: oklch(1 0 0);
    color: oklch(0.37 0.191 294.603);
}

.contact input:focus,
.contact textarea:focus {
    outline: none;
    border-color: oklch(0.5703 0.2127 262.12);
    box-shadow: 0 0 0 3px oklch(0.57 0.21 262.12 / 0.3);
}

.contact label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact .button {
    margin-top: 2rem;
    text-align: center;
}
