/* Voeg hier BOVENAAN je CSS de basis stijlen toe, inclusief kleurvariabelen */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400&family=Playfair+Display:ital,wght@0,400;1,400&display=swap');

:root {
    --color-background: black;
    /* Of een andere basiskleur */
    --color-text: white;
    /* Of een andere tekstkleur */
    --color-primary: #ffffff;
    /* Voorbeeld */
    --color-yellow: #ffee00;
    /* Voorbeeld */
    --color-secondary: #00aaff;
    /* Voorbeeld */
    --color-red: #ff4444;
    /* Voorbeeld */
    --color-purple: #cc66ff;
    /* Voorbeeld */

    --indicator-size: 10px;
    /* Voorbeeld */
    --indicator-total-height: 100px;
    /* Voorbeeld, pas aan aan de hoogte van je .indicator ul */
}

/* ----- PLAK HIER DE VOLLEDIGE CSS CODE DIE JE HEBT MEEGELEVERD ----- */
/* BEGIN VAN GELEVERDE CSS */
@layer base, rhythm, layout, components, default, overwrites;

html {
    /* Create a snapping rule on the html element */
    scroll-snap-type: y mandatory;

    /* Create a timeline scope, so we can target any element on the page */
    timeline-scope: --section, --main, --site-header;

    /* Basis font-size en font-family */
    font-family: sans-serif;
    color: var(--color-text);
}

/* We'll want to match these colors for the best melty effect */
/* But play around with them (and add a color to section) to see happens */
body,
.content {
    background-color: var(--color-background, black);
    margin: 0;
    /* Reset default body margin */
}

main {
    view-timeline: --main;
}



.section {
    /* Creating a snapping rule on the section element */
    scroll-snap-align: start;
    scroll-snap-stop: always;

    /* Attach the timeline to the section element*/
    view-timeline: --section;

    /* Set each section to the full dynamic height of the viewport */
    height: 100dvh;
    display: flex;
    /* Helpt content centreren indien nodig */
    justify-content: center;
    align-items: center;
}

.content {
    /* Fix the content, so it doesn't scroll with the section */
    overflow: hidden;
    position: fixed;
    inset: 0;

    /* Animate the content based on the section scrolling */
    --contrast: 4;
    --blur: 0.5rem;

    animation: blink ease-in-out both;
    animation-timeline: --section;

    /* Zorg dat content binnen de .content div goed gepositioneerd is */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    /* Voeg wat padding toe */
    text-align: center;
}

.content h2 {
    margin-bottom: 1rem;
}

.content .text {
    max-width: 800px;
    /* Limiteer de breedte voor leesbaarheid */
    text-align: left;
    /* Zet tekst links binnen .text */
}

.content .text img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.content .text ul {
    list-style: disc;
    margin-left: 20px;
}


@keyframes blink {

    0%,
    100% {
        filter: blur(var(--blur)) contrast(var(--contrast));
        opacity: 0;
        visibility: hidden;
    }

    50% {
        filter: blur(0) contrast(1);
        opacity: 1;
        visibility: visible;
    }
}

/* Styling voor de Header en Navigatie (Basis, aan te passen) */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    margin-left: 20px;
    /* Ruimte aan de linkerkant */
    margin-right: 20px;
    /* Ruimte aan de rechterkant */
    align-items: center;
    z-index: 10;
    background: transparent
    /* Lichte achtergrond voor zichtbaarheid */
}




/* Styling voor Navigatie Indicator */
.site-header nav {
    position: fixed;
    /* Of absolute binnen header */
    right: 2rem;
    top: 50%;

    transform: translateY(-50%);

}

/* Styling for the Indicator Container */
.indicator {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    /* Stack dots vertically */
    align-items: center;
    /* Center dots horizontally */
    height: var(--indicator-total-height);
    /* Total height of the indicator */
}

/* Styling for Each Dot */
.indicator li a {
    display: block;
    width: var(--indicator-size);
    height: var(--indicator-size);
    background-color: grey;
    /* Default color for inactive dots */
    border-radius: 50%;
    /* Make dots circular */
    margin-bottom: calc((var(--indicator-total-height) - 5 * var(--indicator-size)) / 4);
    /* Dynamic spacing */
    transition: background-color 0.3s ease, transform 0.3s ease;
    /* Smooth transition for color and animation */
}

/* Remove margin for the last dot */
.indicator li:last-child a {
    margin-bottom: 0;
}

/* Active Dot Styling */
.indicator li a.active {
    background-color: white;
    /* Change color to white for the active dot */
    transform: scale(1.2);
    /* Slightly enlarge the active dot */
}

/* Animation for Active Dot */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

/* Apply the pulse animation to the active dot */
.indicator li a.active {
    animation: pulse 1s infinite ease-in-out;
}



/* Header fade-out (zoals meegeleverd) */
.site-header label:last-of-type {
    view-timeline: --site-header inline;
}

.site-header::after {
    /* Dit was voor een gradient, kan weg of aangepast */
    /* content: ''; */
    /* Weglaten indien niet nodig */
    /* ... andere gradient stijlen ... */
    animation: fade-scroll ease-in-out both;
    animation-timeline: --site-header;
    animation-range: entry-crossing;
}

@keyframes fade-scroll {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* Add fade-out animation */
@keyframes fade-out {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        visibility: hidden; /* Ensure the elements are not interactive */
    }
}

/* Apply the animation to h1 and h3 */
.site-header h1,
.site-header h3 {
    animation: fade-out 1s ease-out 5s forwards; /* 1s duration, starts after 5s */
}

/* Selectie animaties (zoals meegeleverd) */
body:has([value="horizontal-scroll"]:checked) .content {
    animation: horizontal-scroll ease-in-out both;
    animation-timeline: --section;
}

body:has([value="backwards-scroll"]:checked) .content {
    animation: backwards-scroll ease-in-out both;
    animation-timeline: --section;
}

body:has([value="zoom-scroll"]:checked) .content {
    animation: zoom-scroll ease-in-out both;
    animation-timeline: --section;
}

/* Alternatieve animaties keyframes (zoals meegeleverd) */
@keyframes horizontal-scroll {
    0% {
        transform: translate3d(100%, 0%, 0);
        opacity: 0;
    }

    50% {
        transform: none;
        opacity: 1;
    }

    100% {
        transform: translate3d(-100%, 0%, 0);
        opacity: 0;
    }
}

@keyframes backwards-scroll {
    0% {
        transform: translate3d(0%, -100%, 0);
        opacity: 0;
    }

    50% {
        transform: none;
        opacity: 1;
    }

    100% {
        transform: translate3d(0%, 100%, 0);
        opacity: 0;
    }
}

@keyframes zoom-scroll {
    0% {
        filter: blur(5rem);
        transform: scale(0);
        opacity: 0;
        visibility: hidden;
    }

    50% {
        filter: blur(0);
        transform: none;
        opacity: 1;
        visibility: visible;
    }

    100% {
        filter: blur(3rem);
        transform: scale(1.5);
        opacity: 0;
        visibility: hidden;
    }
}

/* Styling voor sr-only class (verbergt visueel, behoudt voor screen readers) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Footer styling (basis) */
footer {
    padding: 1rem;
    text-align: center;
    background-color: #111;
    /* Donkere achtergrond */
    color: #aaa;
    position: relative;
    /* Zodat het na de main komt */
    z-index: 5;
    /* Lager dan header/nav */
}

/* EINDE VAN GELEVERDE CSS (met toevoegingen/aanpassingen) */

/* Voeg hieronder verdere custom styling toe indien nodig */

/* Standaard (verborgen) staat voor de animatie */
.content h2,
.content .text {
    opacity: 0;
    transform: translateY(30px);
    /* Start iets lager */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Staat wanneer de sectie zichtbaar wordt */
.content.is-visible h2 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
    /* Kleine vertraging voor de titel */
}

.content.is-visible .text {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
    /* Iets latere vertraging voor de tekst */
}

/* Reset voor de eerste sectie die direct zichtbaar is bij laden */
/* Dit werkt mogelijk niet perfect met de vaste positionering, testen! */


.timeline-container {
    position: relative;
    /* Basis voor absolute positionering van lijn/markers */
    max-width: 90%;
    /* Iets breder voor meer ruimte */
    width: 800px;
    /* Maximale breedte */
    margin: 40px auto;
    /* Ruimte boven/onder en centreren */
    padding: 30px 0;
    max-height: 70vh;
    overflow-y: auto;
    scrollbar-width: none; /* Hide scrollbar in Firefox */
    -ms-overflow-style: none; /* Hide scrollbar in Internet Explorer and Edge */
}

/* Centrale verticale lijn */
.timeline-container::after {
    content: '';
    position: absolute;
    width: 4px;
    /* Lijn dikte */
    background-color: #FFF;
    /* Lijn kleur (Wit) */
    top: 0;
    bottom: 0;
    left: 50%;
    /* Precies in het midden */
    margin-left: -2px;
    /* Compensatie voor lijndikte */
    z-index: 1;
    /* Achter de markers/content */
    transform: scaleY(0);
    /* Start met een onzichtbare lijn */
    transform-origin: top;
    /* Laat de lijn tekenen vanaf de bovenkant */

    animation: draw-line 3s ease-out forwards;
    /* Animatie voor het tekenen */
    animation-delay: 0.5s;
    /* Add a 1-second delay */
}

@keyframes draw-line {
    from {
        transform: scaleY(0);
        /* Start met een onzichtbare lijn */
    }

    to {
        transform: scaleY(1);
        /* Eindig met een volledige lijn */
    }
}

/* Elk item op de tijdlijn */
.timeline-item {
    padding: 10px 40px;
    /* Ruimte rondom content-blok */
    position: relative;
    /* Nodig voor absolute marker */
    width: 50%;
    /* Elk item neemt de helft in beslag */
    box-sizing: border-box;
    margin-bottom: 30px;
    /* Ruimte tussen items */
}

/* Verwijder margin van laatste item */
.timeline-item:last-child {
    margin-bottom: 0;
}


/* De ronde marker op de centrale lijn */
.timeline-item .timeline-marker {
    position: absolute;
    width: 18px;
    /* Grootte marker */
    height: 18px;
    background-color: #E95757;
    /* Marker kleur (Rood/Roze) */

    border-radius: 50%;
    /* Maak het een cirkel */
    top: 30px;
    /* Verticale uitlijning (aanpassen naar wens) */
    z-index: 4;
    /* Boven de centrale lijn */
}

/* Het content-blok met tekst */
.timeline-item .timeline-content {
    padding: 15px 20px;
    background-color: #E95757;
    /* Achtergrond kleur (Rood/Roze) */
    color: white;
    /* Tekst kleur */
    position: relative;
    /* Nodig voor de driehoek-pointer */
    border-radius: 6px;
    /* Afgeronde hoeken */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    /* Subtiele schaduw */
    transition: height 2s ease, padding 2s ease;
    overflow: hidden;
    /* Prevent content overflow during resizing */

}

.timeline-item .timeline-content h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.2em;
    
    font-weight: bold;
}

.timeline-item .timeline-content p {
    margin-bottom: 0;
    font-size: 0.95em;
    line-height: 1.5;
}

/* === Positionering Links === */
.timeline-item.left {
    left: 0;
    /* Item aan de linkerkant */
    padding-right: 30px;
    /* Extra ruimte tot het midden */
}

.timeline-item.left .timeline-marker {
    right: -9px;
    /* Marker op de lijn (helft van marker breedte) */
}

/* Driehoek-pointer voor LINKER items */
.timeline-item.left .timeline-content::after {
    content: " ";
    height: 0;
    position: absolute;
    top: 18px;
    /* Verticale uitlijning (match marker) */
    width: 0;
    z-index: 1;
    right: -10px;
    /* Positioneer rechts van content-blok */
    border: solid transparent;
    border-width: 10px 0 10px 10px;
    /* Vorm: driehoek wijzend naar rechts */
    border-left-color: #E95757;
    /* Kleur van de driehoek */
}

/* === Positionering Rechts === */
.timeline-item.right {
    left: 50%;
    /* Item aan de rechterkant */
    padding-left: 30px;
    /* Extra ruimte tot het midden */
}

.timeline-item.right .timeline-marker {
    left: -9px;
    /* Marker op de lijn (helft van marker breedte) */
}

/* Driehoek-pointer voor RECHTER items */
.timeline-item.right .timeline-content::after {
    content: " ";
    height: 0;
    position: absolute;
    top: 18px;
    /* Verticale uitlijning (match marker) */
    width: 0;
    z-index: 1;
    left: -10px;
    /* Positioneer links van content-blok */
    border: solid transparent;
    border-width: 10px 10px 10px 0;
    /* Vorm: driehoek wijzend naar links */
    border-right-color: #E95757;
    /* Kleur van de driehoek */
}

/* Styling for the image container */
.timeline-image {
    position: absolute;
    top: 0;
    width: 150px; /* Adjust width as needed */
    height: auto;
    z-index: 1;
}

.timeline-image img {
    width: 75px;
    height: 75px;
    border: #ffffff 2px solid;
    
}

/* Default state for timeline images */
.timeline-image img {
    opacity: 0;
    transform: scale(0.8); /* Start slightly smaller */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Visible state for timeline images */
.timeline-image img.is-visible {
    opacity: 1;
    transform: scale(1); /* Reset to normal size */
}

/* Positioning for left timeline items */
.timeline-item.left .timeline-image {
    right: -180px; /* Position image to the right of the content */
}

/* Positioning for right timeline items */
.timeline-item.right .timeline-image {
    left: -105px; /* Position image to the left of the content */
}

/* ========== Responsive Aanpassingen ========== */
@media screen and (max-width: 768px) {

    /* Lijn naar links verplaatsen op kleine schermen */
    .timeline-container::after {
        left: 31px;
        margin-left: 0;
    }

    /* Items onder elkaar, volledige breedte */
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        /* Ruimte voor lijn/marker */
        padding-right: 25px;
    }

    /* Alle items visueel naar rechts verplaatsen */
    .timeline-item.left,
    .timeline-item.right {
        left: 0%;
        /* Reset positionering */
        padding-left: 70px;
        padding-right: 25px;
        /* Reset padding */
    }

    /* Marker altijd links positioneren */
    .timeline-item .timeline-marker {
        left: 22px;
        /* Uitlijnen met nieuwe lijn positie */
        right: auto;
        /* Verwijder rechts positionering */
    }

    /* Alle pointers naar links laten wijzen */
    .timeline-item.left .timeline-content::after,
    .timeline-item.right .timeline-content::after {
        left: -10px;
        /* Links van content-blok */
        border-width: 10px 10px 10px 0;
        /* Driehoek wijst naar links */
        border-right-color: #E95757;
        border-left-color: transparent;
        /* Zorg dat linker rand weg is */
        right: auto;
        /* Verwijder rechts positionering */
    }
}

/* ========== Einde Timeline Styling ========== */

/* ========== Timeline Animation Styling ========== */

/* BEGINSTATE (Verborgen) */

/* De centrale lijn kan initieel al zichtbaar zijn, of ook geanimeerd worden.
   Voorbeeld lijn-animatie (optioneel): */




/* Marker initieel verborgen */
.timeline-item .timeline-marker {
    opacity: 0;
    transform: scale(0.3);
    /* Start klein */
    transition: opacity 0.4s ease-out, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), height 1s ease-in-out;
    /* Ease met 'bounce' */
    /* visibility: hidden; */
    /* Optioneel */
}

/* Content blok initieel verborgen en verschoven */
.timeline-item .timeline-content {
    opacity: 0;
    transform: translateX(-40px);
    /* Start verschoven (wordt overschreven voor 'right') */
    transition: opacity 0.5s ease-out, transform 0.5s ease-out, height 1s ease-out, padding 0.5s ease-out;
    /* Eenvoudige overgang */
    /* visibility: hidden; */
    /* Optioneel */
}

/* Pas beginpositie aan voor rechter items */
.timeline-item.right .timeline-content {
    transform: translateX(40px);
    /* Start verschoven naar rechts */
}


/* ZICHTBARE STAAT (wanneer .is-visible class is toegevoegd) */

/* De class .is-visible wordt via JS toegevoegd aan .timeline-item */

.timeline-item.is-visible .timeline-marker {
    opacity: 1;
    transform: scale(1);
    /* Normale grootte */
    /* visibility: visible; */
    /* Delay voor de marker - verschijnt als eerste */
    transition-delay: 0.1s;
    /* Start animatie na 0.1s (relatief aan toevoegen .is-visible) */
}

.timeline-item.is-visible .timeline-content {
    opacity: 1;
    transform: translateX(0);
    /* Schuif naar de eindpositie */
    /* visibility: visible; */
    /* Delay voor de content - verschijnt na de marker */
    transition-delay: 0.3s;
    /* Start animatie na 0.3s */
}

/* Optioneel: Animeren van H3 (jaar) en P (content) apart binnen .timeline-content */

.timeline-item .timeline-content h3,
.timeline-item .timeline-content p {
    opacity: 0; /* Start onzichtbaar voor .is-visible animatie */
    transform: translateY(15px); /* Start verschoven voor .is-visible animatie */
    
    /* Correctie: Definieer de transitie hier */
    transition: opacity 0.4s ease-out,
                transform 0.4s ease-out;
}

/* .is-visible rules for h3 and p */
.timeline-item.is-visible .timeline-content h3 {
    opacity: 1;
    
    transform: translateY(0);
    transition-delay: 0.4s; /* Delay voor verschijnen */
}

.timeline-item.is-visible .timeline-content p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s; /* Delay voor verschijnen */
}

/* Default styles for hidden content */
.timeline-content .hidden-content {
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    max-height: 0; /* Collapse the height initially */
    overflow-y: hidden; /* Prevent scrolling initially */
    transition: opacity 0.6s ease, transform 0.6s ease, max-height 0.6s ease;
}

/* Show hidden content on hover */
.timeline-content:hover .hidden-content {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    max-height: 300px; /* Set a maximum height for the content */
    overflow-y: auto; /* Enable vertical scrolling if content exceeds max-height */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Optional: Style the scrollbar for better appearance */
.timeline-content .hidden-content::-webkit-scrollbar {
    width: 8px; /* Width of the scrollbar */
}

.timeline-content .hidden-content::-webkit-scrollbar-thumb {
    background-color: #ccc; /* Color of the scrollbar thumb */
    border-radius: 4px; /* Rounded corners for the scrollbar thumb */
}

.timeline-content .hidden-content::-webkit-scrollbar-thumb:hover {
    background-color: #aaa; /* Darker color on hover */
}

/* Hide original h3 and p on hover */
.timeline-content:hover h3,
.timeline-content:hover p {
    opacity: 0;
    transform: translateY(-10px);
    /* De transitie wordt geregeld door de basis h3/p stijl */
}

/* Image container styling */
.timeline-content .hidden-content .image-container {
    margin-top: 10px;
    text-align: center;
}

.timeline-content .hidden-content .image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    /* Optional: rounded corners */

}

/* Selecteer alleen DIRECTE kinderen om conflict te voorkomen */
.timeline-content:hover > h3,
.timeline-content:hover > p {
    opacity: 0;
    transform: translateY(-10px);

    /* Snelle fade-out */
    transition: opacity 0.3s ease, transform 0.3s ease;
    transition-delay: 0s !important; /* Forceer directe fade-out op hover */
}

/* Basisstijl voor de originele H3/P (uit .is-visible logica) */
.timeline-item .timeline-content > h3,
.timeline-item .timeline-content > p {
    opacity: 0;
    transform: translateY(15px);

    /* Basis transitie voor .is-visible EN voor hover fade-out */
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    transition-delay: 0s; /* Default delay */
}

/* .is-visible regels voor originele H3/P blijven zoals ze waren */
.timeline-item.is-visible .timeline-content > h3 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.timeline-item.is-visible .timeline-content > p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

/* ========== Einde Timeline Animation Styling ========== */

/* Styling for h1 */
h1 {
    font-family: 'Inter', sans-serif;
    /* Default font for the entire h1 */
    font-size: 2.5rem;
    /* Adjust size as needed */
    font-weight: 700;
    color: var(--color-text);
    /* Default text color */
}

/* Different font for "Datapunt" */
h1 .datapunt {
    font-family: 'Playfair Display', serif;
    /* Different font for "Datapunt" */
    font-style: italic;
    color: var(--color-text);
    /* Keep the default color */
}

/* Styling for "4A" */
h1 .four-a {
    font-family: inherit;
    /* Use the same font as the parent h1 */
    color: #E95757;
    /* Apply the red color */
}

/* Add dots before h2 */
h2 {
    position: relative; /* Nodig om ::before absoluut te positioneren */
    padding-left: 20px; /* Ruimte links voor de stip */
    font-size: 2em; /* Pas aan naar wens */
    margin-bottom: 1em; /* Ruimte onder de H2 */
    color: var(--color-text); /* Ensure text color is set */
    overflow: hidden; /* Clip the ::after pseudo-element */

    /* Initial state for fade-in */
    opacity: 0;
    transition: opacity 0.3s ease-out 0.6s; /* Delay matches block animation duration + delay */
}

h2::before {
    content: ''; /* Verplicht voor pseudo-elementen */
    display: inline-block; /* Zorgt ervoor dat het element zichtbaar is */
    width: 10px; /* Grootte van de stip */
    height: 10px; /* Grootte van de stip */
    background-color: #E95757; /* Kleur van de stip */
    border-radius: 50%; /* Maak de stip rond */

    /* Inline-block positionering */
    margin-right: 10px; /* Ruimte tussen de stip en de tekst */
    vertical-align: middle; /* Lijn de stip uit met de tekst */
    transform-origin: center; /* Zorg dat transformaties vanuit het midden gebeuren */
    transform: scale(1); /* Base state before hover animation */
    transition: transform 0.3s ease; /* Smooth transition back from hover */
}

h2::after {
    content: ''; /* Verplicht voor pseudo-elementen */
    position: absolute; /* Nodig om ::after absoluut te positioneren */
    top: 0; /* Positioneer bovenaan */
    left: 0; /* Positioneer links */
    width: 100%; /* Breedte van de block */
    height: 100%; /* Hoogte van de block */
    background-color: var(--color-primary); /* Kleur van de block */
    transform: translateX(-101%); /* Start volledig buiten beeld */
    z-index: 1; /* Zorg dat de block boven de tekst staat */
}

@keyframes bounce-dot-y {
    0%, 100% { transform: translateY(0); animation-timing-function: ease-out; }
    50% { transform: translateY(-8px); animation-timing-function: ease-in; }
}

@keyframes bounce-dot {
    0% {
        transform: scale(1);      /* Begin normaal */
        animation-timing-function: ease-in;
    }
    30% {
        transform: scale(1.4);    /* Groei flink */
        animation-timing-function: ease-out;
    }
    60% {
        transform: scale(0.8);    /* Krimp (onder normaal) */
        animation-timing-function: ease-in;
    }
    80% {
        transform: scale(1.1);    /* Veer iets terug */
        animation-timing-function: ease-out;
    }
    100% {
        transform: scale(1);      /* Eindig normaal */
    }
}

@keyframes block-reveal {
    0% {
        transform: translateX(-101%); /* Start volledig buiten beeld links */
    }
    45%, 55% {
        transform: translateX(0);     /* Bedek de tekst */
    }
    100% {
        transform: translateX(101%); /* Eindig volledig buiten beeld rechts */
    }
}

h2:hover::before {
    animation-name: bounce-dot;     /* Koppel aan de keyframes */
    animation-duration: 0.6s;       /* Duur van de bounce (pas aan!) */
    animation-timing-function: ease-in-out; /* Basis timing */
    animation-iteration-count: infinite; /* Laat de animatie oneindig herhalen */
    animation-fill-mode: forwards;  /* Behoud de laatste staat (scale 1) */
}

.content.is-visible h2 {
    opacity: 1;
}

.content.is-visible h2::after {
    animation: block-reveal 0.5s cubic-bezier(0.65, 0, 0.35, 1) 0.2s forwards;
    /* Duur: 0.5s */
    /* Easing: Een veelgebruikte ease-in-out curve */
    /* Delay: 0.2s (start kort na het toevoegen van .is-visible) */
    /* Fill Mode: forwards (houdt het buiten beeld rechts) */
}

/* Apply the SVG filter */

/* Styling for the leerdoelen container */
.leerdoelen-container {
    display: flex;
    gap: 20px; /* Space between columns */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* Styling for each column */
.leerdoel-column {
    flex: 1; /* Make columns take equal space */
    min-width: 300px; /* Minimum width for each column */
    padding: 10px;
    box-sizing: border-box;
}

/* Responsive adjustments for smaller screens */
@media screen and (max-width: 768px) {
    .leerdoelen-container {
        flex-direction: column; /* Stack columns vertically */
    }
}

/* Styling for the image containers */
.image-container {
    text-align: center;
    margin: 20px 0; /* Add spacing around the images */
}

.image-container img {
    max-width: 100%;
    height: auto;
    border: 2px solid #ccc; /* Optional: Add a border */
    border-radius: 8px; /* Optional: Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Add shadow */
}

/* Styling for the video container */
.video-container {
    width: 100%; /* Make the video take up the full width of its parent column */
    height: auto; /* Maintain the aspect ratio */
    border-radius: 8px; /* Optional: Add rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Add a shadow */
    display: block; /* Ensure it behaves like a block element */
}

/* Styling for the arrow */
.arrow-down {
    text-align: center;
    font-size: 24px; /* Adjust size of the arrow */
    color: #ffffff; /* Arrow color */
    margin: 10px 0; /* Add spacing around the arrow */
}

.video-container.hover {
    transform: scale(1.05); /* Slightly enlarge the video on hover */
    transition: transform 0.3s ease; /* Smooth transition for the scaling effect */
}
