* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;

    /* binnenkomst transition */
    opacity: 0;
    animation: Binnenkomsttransition 0.5s ease forwards;
}

.fixed-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Zorgt dat het achter je content blijft */

    background-image: url(../Afbeeldingen/background.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;

    /* Tip: Apple apparaten houden van deze regel voor soepele rendering */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

@keyframes Binnenkomsttransition {
    to {
        opacity: 1;
    }
}

#navbar-container {
    display: flex;
}

.navbar {
    height: 60px;
    display: flex;
    width: 100%;
    background: linear-gradient(90deg, rgb(55, 75, 130), rgb(45, 62, 108));
    box-shadow:
        rgba(0, 0, 0, 0.25) 0px 54px 55px,
        rgba(0, 0, 0, 0.12) 0px -12px 30px,
        rgba(0, 0, 0, 0.12) 0px 4px 6px,
        rgba(0, 0, 0, 0.17) 0px 12px 13px,
        rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

#navbar-titel {
    margin: 10px;
    font-size: 20px;
    color: white;
    position: absolute;
}

.navbar ul {
    z-index: 100;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    display: flex;
    gap: 20px;
    list-style: none;
}

.navbar ul li a {
    transition: 0.2s;
    color: white;
    text-decoration: none;

    &:hover {
        color: rgb(0, 0, 0);
    }
}

.navbar-active {
    color: rgb(162, 162, 162) !important;
}

#theme-toggle {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: white;
}

#theme-toggle:hover {
    color: black;
    transition: 0.3s;
}

#hamburger-btn {
    display: none;
    width: 50px;
    height: 50px;
}

/* bij kleine schermen, hamburger menu */
@media only screen and (max-width: 800px) {
    .navbar ul {
        pointer-events: none;
        width: 100%;
        opacity: 0;
        /* Verberg menu op kleinere schermen */
        position: absolute;
        top: 60px;
        right: 0;
        left: 0;
        background-color: rgba(54, 78, 139, 0.609);
        flex-direction: column;
        gap: 15px;
    }

    #navbar-titel {
        display: none;
    }

    #hamburger-btn {
        display: block;
        /* Toon de hamburger knop op kleinere schermen */
    }

    .navbar.active ul {
        pointer-events: all;
        transition: 0.3s;
        opacity: 1;
        /*menu weer tonen op active (hamburger knop)*/
    }
}

#achtergrondfade {
    height: 100vh;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.064) 0%,
            rgba(255, 255, 255, 0.377) 50%,
            rgba(93, 93, 93, 0.253) 100%);
}

#stage-container {
    margin-left: auto;
    margin-right: auto;
    width: 60%;
    min-width: 300px;
    background-color: rgba(255, 255, 255, 0.256);
    height: fit-content;
    text-align: center;
    border-radius: 30px;

}

#RETO-container {
    transition: 0.3s;
    display: block;
    display: flex;
    justify-content: center;
    flex-direction: column;
    box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
}

#plaatjeRETO {
    width: 100%;
    aspect-ratio: 3 / 1;
    object-fit: cover;
    padding: 20px;
    height: 300px;
}

#left-en-right-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

#left {
    width: 50%;
    padding: 20px;
    text-align: left;
}

#right {
    padding: 20px;
    width: 100%
}

@media only screen and (max-width: 700px) {
    #stage-container {
        width: 80%;
    }

    #left-en-right-container {
        display: flex;
        flex-direction: column;
    }

    #left {
        text-align: center;
        width: 100%;
    }
}

.kopje {
    border-bottom: 1px solid rgba(84, 84, 84, 0.465);
    padding: 10px;
    margin-bottom: 10px;
}