@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&display=swap');

:root {
    --base-color: #fcfcfc;
    --primary-color: #ff6f61;
    --secondary-color: #4a90e2;
    --text-color: #333333;
    --third-color: #032f74;
    --fourth-color: #620cca;
    --fifth-color: #28daf1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: 'Merriweather','Segoe UI', Tahoma, Geneva, Verdana, sans-serif serif;
    background-color: var(--background-color);
    color: var(--text-color);
}

body {  
    padding: 1em;
    background-color: var(--base-color)
}

h1, h2, h3 {
    font-family: 'Merriweather', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

nav {
    margin: 1em auto 3em auto;
    width: min(1000px, 100%);
}

nav ul {
    display: flex;
    align-items: center;
    list-style-type: none;
    gap: 2em;
}

nav li:first-child {
    margin-right: auto;
    font-family: 'Merriweather', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
}

nav a {
   text-decoration: none;
    color: var(--text-color);
}

nav a:hover {
    text-decoration: none;
}

header, section{
    margin: 2em auto;
    width: min(75em, 100%);
    background-color: var(--color-1);
    padding: min(2em, 15%);
    border-radius: 1em;     
}

.flex-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3em;
}

header img {
    max-width: 100%;
    border-radius: 1em;
    object-fit: cover;
    object-position: bottom;
}

.text-container {
    flex: 0 1 34em;

}

h1 {
    font-size: 2.5em;
}

.text-container p {
    margin:  .75em 0 1em 0;
    font-size: 1.25em;
}

.cta-button {
    display: inline-block;
    text-decoration: none;
    color: white;
    background-color: var(--primary-color);
    padding: .75em 1.25em;
    border-radius: .5em;
    font-weight: 600;
}

.secondary {
    background-color: var(--secondary-color);
}

.cta-button_2 {
    display: inline-block;
    text-decoration: none;
    color: white;
    background-color: var(--third-color);
    padding: .75em 1.25em;
    border-radius: .5em;
    font-weight: 600;
}

.cta-button_3 {
    display: inline-block;
    text-decoration: none;
    color: white;
    background-color: var(--fourth-color);
    padding: .75em 1.25em;
    border-radius: .5em;
    font-weight: 600;
}

.cta-button_4 {
    display: inline-block;
    text-decoration: none;
    color: white;
    background-color: var(--fifth-color);
    padding: .75em 1.25em;
    border-radius: .5em;
    font-weight: 600;
}

.ervaring-container{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 3em;
    flex-wrap: wrap;
}

.ervaring-tekst{
    flex: 1 1 400px;
}

.tekst-blok{
    margin-bottom: 2em;
}

.ervaring-fotos{
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.ervaring-fotos img{
    width: 250px;
    border-radius: 1em;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

@media (max-width: 768px){

    .ervaring-container{
        flex-direction: column;
        text-align: flex-start;
    }

    .ervaring-fotos{
        flex-direction: row;
        justify-content: center;
    }

    .ervaring-fotos img{
        width: 45%;
    }

}

.ervaring-uw {
    height: 320px;
    width: auto;
    border-radius: 1em;
    
}

.ervaring-tekst p{
    font-size: 22px;
}

h1 {
    font-size: 40px;
    margin-bottom: 2em;
}

.psych-effecten-container {
    display: flex;
    flex-direction: column;
    margin: 2em auto;
    width: min(75em, 100%);
    background-color: var(--base-color);
    padding: 2em;
    border-radius: 1em;
    gap: 2em;
}

.psych-effecten-tekst h1 {
    font-size: 2em;
    margin-bottom: 1em;
}

.psych-effecten-fotos .effect {
    display: flex;
    align-items: flex-start;
    gap: 1.5em;
    margin-bottom: 1.5em;
}

.effect-tekst h2 {
    font-size: 1.5em;
    margin-bottom: 0.5em;
}

.effect-tekst p {
    font-size: 1.1em;
    line-height: 1.4em;
}

.effect img {
    width: 240px;
    height: auto;
    border-radius: 0.5em;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .psych-effecten-fotos .effect {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .effect img {
        width: 80px;
        margin-top: 0.5em;
    }
}

.psych-effecten-container{
    display: inline-block;
    text-decoration: none;
    color: white;
    background-color: var(--primary-color);
    padding: .75em 1.25em;
    border-radius: .5em;
    font-weight: 600;
}

.ervaring-tekst{
    display: inline-block;
    text-decoration: none;
    color: white;
    background-color: var(--secondary-color);
    padding: .75em 1.25em;
    border-radius: .5em;
    font-weight: 600;
}

.school-container{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2em;
    flex-wrap: wrap;
}

.school-tekst{
    flex: 1 1 280px;
    display: inline-block;
    text-decoration: none;
    color: white;
    background-color: var(--fifth-color);
    padding: .75em 1.25em;
    border-radius: .5em;
    font-weight: 600;
}

.school-fotos{
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.school-fotos img{
    width: 200px;
    border-radius: 1em;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

@media (max-width: 768px){
   
    }
    .school-container{
        flex-direction: column;
        text-align: center;
    }
    
    .school-fotos{
        flex-direction: row;
        justify-content: center;
    }

    .school-fotos img{
        width: 45%;
    }

.hoofdtekst-school {
    font-size: 40px;
}

.midtekst-school {
    font-size: 24px;
}