/**

 _   _             _             _   _     ______            
| \ | |           (_)           | | (_)    | ___ \           
|  \| | __ ___   ___  __ _  __ _| |_ _  ___| |_/ / __ _ _ __ 
| . ` |/ _` \ \ / / |/ _` |/ _` | __| |/ _ \ ___ \/ _` | '__|
| |\  | (_| |\ V /| | (_| | (_| | |_| |  __/ |_/ / (_| | |   
\_| \_/\__,_| \_/ |_|\__, |\__,_|\__|_|\___\____/ \__,_|_|   
                      __/ |                                  
                     |___/                                   

*/

/* ------------------------------------------------ Navbar positie & achtergrond */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #eae0d5;
    padding: 1% 0;
    z-index: 1000;
    display: block;
    box-shadow: 10px 5px 50px rgba(0, 0, 0, 0.238);
}

/* ------------------------------------------------ Opmaak van de navbar */
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100vw;
    margin-left: auto;
    margin-right: auto;
}

/* ------------------------------------------------ Opmaak van de Links */
nav ul li a {
    color: #0a0908;
    text-decoration: none;
    font-size: 1em;
    padding: 5% 0%;
    display: block;
    position: relative;
    margin: 0 10px;
}

/* ------------------------------------------------ Onderstreping bij hover */
nav ul li a:hover::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4%;
    background-color: black;
    transition: width 0.3s ease;
}

/* ------------------------------------------------ Actieve link krijgt zwarte lijn */
nav ul li a.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4%;
    background-color: black;
}

/* ------------------------------ MOBILE-FRIENDLY STYLES ------------------------------ */

/* Als het scherm kleiner is dan 768px (tablet/telefoon) */
@media (max-width: 768px) {

    nav {
        padding: 2% 0;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li a {
        font-size: 1.2em;
        margin: 5px 0;
    }
}

/* Als het scherm kleiner is dan 480px (mobiel) */
@media (max-width: 480px) {

    nav {
        padding: 3% 0;
    }

    nav ul li a {
        font-size: 1em;
        padding: 4% 0%;
    }
}


