/* zodat navbar veolledig aansluit op scherm */
html {
    background-color: black;
}

* {
    padding: 0px;
    margin: 0px;
}

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

    /* binnenkomst transition */
    opacity: 0;
    background-image: url(../Afbeeldingen/background.png);
    background-attachment: fixed;
    background-size: cover;
    animation: Binnenkomsttransition 0.5s ease forwards;
}


@keyframes Binnenkomsttransition {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.navbar {
    height: 70px;
    display: flex;
    align-items: center;
    padding: 0 40px;
    background-color: rgba(0, 0, 0, 0.316);
    backdrop-filter: blur(10px);

}

#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(81, 80, 80) !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(0, 0, 0, 0.5);
        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)*/
    }
}


p {
    line-height: 20px;
}


/* bovenste titel */

.titel {
    color: white;
    text-align: center;
    width: 80%;
    position: relative;
    margin: 30px auto;
}

/* Tekstje onder titel */

#welkom {
    text-align: center;
    padding: 30px;
    color: white;
}

/* Titels die left staan, bijv "POP" */

.titel-left {
    color: white;
    position: relative;
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 20px;
}

/* after voor lijn onder titels */

.titel::after,
.titel-left::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--titel-after-color, white), transparent);

}

/* container-om-alles voor zwart vlak */

#container-om-alles {
    background-color: rgba(0, 0, 0, 0.277);
    margin: 0px auto;
    padding-top: 40px;
    padding-bottom: 40px;
    width: 100%;
}

/* inner container voor content */

#container-om-velden {
    width: 100%;
    margin: auto;
    max-width: 1200px;

}

/* velden POP en stage */

#POP-veld,
#stages-veld {
    color: rgb(255, 255, 255);
    margin: auto;
}

/* verhaal binnen velden */

.verhaal {
    margin: 30px 10px;
}


/* Container met stagecontent */

#RETO-container {
    transition: 0.3s;
    display: block;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#plaatjeRETO {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 1;
    object-fit: cover;
    height: auto;

}

/* container om left & rechter deel van RETO container */

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



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

#right {
    width: 100%
}

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


    #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;
    text-align: center;
}



/* de gehele CV */

#CV-container {
    color: black;
    transition: 0.2s;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
    height: fit-content;
    min-width: 500px;
    width: 70%;
    background-color: rgb(238, 238, 238);
    padding: 30px;

    &:hover {
        transform: translateY(-10PX);
    }
}

/* bij 500px wordt min-width en tekst kleiner, zodat voor telefoons alles goed op shcerm staat */
@media only screen and (max-width: 500px) {
    #CV-container {
        min-width: 300px !important;
        font-size: small;
        padding: 10px;
    }
}


/* profielfoto in de CV */

#cvimg {
    display: block;
    width: 150px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    background: radial-gradient(circle, rgb(204, 204, 204) 51%, rgb(154, 154, 154) 100%);
    padding: 10px;
    border-radius: 50%;
    box-shadow: rgba(0, 0, 0, 0.132) 0px 5px 15px;
}

/* blauwe tekst in de CV (MBO 4 blabla) */

#opleiding-text {
    color: rgb(53, 53, 128);
    font-weight: 600;
}

/* mijn beschrijving */

#over-mij-tekst {
    margin-bottom: 20px;
    color: black;
}

/* container om de linker zijkant met titels in de CV */
#middenstuk {
    display: block;
    height: fit-content;
    width: 50%;
    flex-wrap: wrap;
}

/* titels zijn de blauwe kopjes (dus vaardigheden, opleidingen etc) */
.titels {
    border-radius: 5px;
    color: white;
    padding: 15px;
    background-color: rgba(56, 63, 123, 0.905);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}


/*  de lijstjes onder de titels */
#persoonlijke-info,
#vaardigheden,
#opleidingen,
#werkervaring,
#stages,
#Certificaten {
    color: black !important;
    text-align: start;
    width: fit-content;
    display: block;
    gap: 15px;
    padding: 20px;
}

/* tekstjes waar datum in staat, iets grijzer */
#datum {
    color: rgb(44, 44, 44);
    font-style: italic;
}

/* flex container om linker en rechter zijkant, zodat het naast elkaar komt  */
#flex-wrapper-middenstuk-en-zijkant {
    display: flex;
    justify-content: center;
    gap: 20%;
}


/* bij 1000px komen de 2 zijkanten onder elkaar en middenstuk wordt 100% */

@media only screen and (max-width: 1000px) {
    #flex-wrapper-middenstuk-en-zijkant {
        flex-direction: column;
    }

    #middenstuk {
        width: 100% !important;
    }
}


/* download knop voor cv onderaan CV */
#download-cv-btn {
    display: block;
    transition: 0.2s;
    background-color: rgba(56, 63, 123, 0.905);
    color: white;
    border: none;
    text-decoration: none;
    padding: 20px;
    border-radius: 10px;

    &:hover {
        background-color: rgba(21, 26, 73, 0.905);
        transform: scale(1.02);
    }
}