body {
    margin: 0;
    font-family: sans-serif;
    background-color: #f3f4f6;
    padding-top: 70px;

    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}



.content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
    padding: 0 60px;
}

.content-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    z-index: 10;
    max-width: 1100px;
    margin: 0 auto;
    padding: 64px 24px 96px;
    line-height: 1.6;
}

.content-container h1 {
    font-size: 50px;
    font-weight: bold;
    margin-bottom: auto;
}

.content-container p {
    font-size: 18px;
    max-width: 600px;
}

/* Afbeeldingscontainer */
.example {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1 / 1;
    background-image: url(images/wavetest.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;

    display: flex;
    justify-content: center;
    align-items: center;
}


/* MOBILE LAYOUT -------------------------------------- */

@media screen and (max-width: 768px) {

    body {
        padding-top: 40px;
        height: 100vh;
    }

    .content {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
        text-align: center;
    }

    .content-container {
        padding: 0;
        gap: 20px;
        max-width: 100%;
    }

    .content-container h1 {
        font-size: 36px;
    }

    .content-container p {
        font-size: 16px;
        max-width: 100%;
    }

    .example {
        max-width: 300px;
        width: 100%;
        aspect-ratio: 1 / 1;
    }

    .terugknop {
        position: static;
        /* niet meer fixed */
        top: auto;
        left: auto;
        margin: 16px auto;
        /* center in flow */
        display: inline-block;
        /* zodat padding/border-radius werkt */
    }
}

/* Afbeelding die erin wordt gewisseld door GSAP */
.example img {
    width: 70%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    transition: opacity 0.4s ease;
}

#footer-container {
    height: 60px;
    width: 100%;
}

.terugknop {
    position: fixed;
    bottom: 16px;
    right: 16px;
    width: fit-content;
    padding: 12px 20px;
    background: #5ab29f;
    color: white;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: 0.3s;
    z-index: 100;
}

.terugknop a {
    color: white;
    text-decoration: none;
}

.terugknop:hover {
    background: #4a9c8b;
    transform: scale(1.05);
}