.navbar {
    position: relative;
    z-index: 10;
    height: 4.5rem;
    /*was.5 kan ook naar 6*/
}

nav{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    flex-wrap: wrap;
}

.burger {
    display: none;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.navbar .menulink  {
    color: var(--text-col);
}

#links {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    min-width: 60vw;
    flex-wrap: wrap;
}

#logo{
    height: 100%;
    display: flex;
    justify-content: flex-end;
    width: 10vw;
    min-width: 5rem;
    margin-left: 4rem;
}
#logo > img {
    /*experiment met position absolute om image te fixxe*/
    box-sizing: unset;
    /*einde experiment*/
    height: 85%;
    width: auto;
    /*max-width: 5rem;*/
    margin-top: auto;
    margin-bottom: auto;
}


.menulink{
    display: flex;
    padding: 1.5rem 0.3rem 0.3rem;
    margin: 0 1rem 1rem;
    text-decoration: none;
    letter-spacing: 2px;
    font-size: 1.2rem;
    border-bottom: none;
    color: black;
    font-weight: 500;
    text-transform: uppercase;
    position: relative;
}

.menulink:hover::after{
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: white;
}

.fa-whatsapp::before, .fa-envelope::before{
    position:relative;
    left: 0;
    margin-right: 0.5rem;
    color: white;
}

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

    #logo {
        display: none;
    }
    nav {
        position: absolute;
        height: auto;
        top: 100%;
        left: -100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        background: rgba(0, 0, 0, 0.7);

        transition: left 0.2s;
    }

    .navbar {
        display: flex;
        align-content: center;
    }

    .burger {
        margin-left: 1rem;
        margin-top: auto;
        margin-bottom: auto;
        display: block;
        justify-self: center;
        width: 50px;
    }

    .burger > svg {
        height: 3rem;
        width: 100%;
        fill: var(--text-col);
    }



    nav.open {
        left: 0;


    }
    #links {
        flex-direction: column;

    }
    .menulink {
        color: var(--text-col);
        width: max-content;
    }

    .menulink:hover::after{
        display: none;
    }
}