/* settings voor de header*/

#header-kop{
    position: fixed;
    top:0px;
    width: 100%;
    height: var(--headerbalk-klein);
    border-bottom-width:0px;
    border-bottom-color:var(--headerbalk1);
    border-bottom-style: solid;
    z-index: 50;
}

#header-rij1{
    height:50%;
    width:100%;
    background-color: var(--headerbalk1);
}
#header-rij2{
    height:50%;
    width:100%;
    background-color: var(--headerbalk2);
}
#header-rij3{
    height:2px;
    width:100%;
    background-color: #000000;
}

#header-koptekst{
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    font-size: var(--header-naam-text-klein);
    line-height: var(--header-naam-text-klein);
    margin-left: var(--header-naam-links-klein);
    color: var(--headerkoptext);
}

#header-imgNMLOGO {
    visibility: hidden;
    height: calc(var(--headerlogo-klein));
    top: 0px;
    margin-left: 20px;
    position: fixed;
    z-index: 999;
}

#header-menu-bar {
    top: 0px;
    width: 100%;
    position: fixed;
    visibility: visible;
    z-index: 80;
}

#zoek-button{
    width: 25px;
    height: 25px;
    background-color: var(--darkmode-css-button-bg);
    border-style: solid;
    padding: 0px;
    margin-left: 8px;
    margin-top: 2px;
    border-radius: 10px;
}

#leden-button{
    width: 25px;
    height: 25px;
    background-color: var(--darkmode-css-button-bg);
    border-style: solid;
    padding: 0px;
    margin-left: 8px;
    margin-top: 2px;
    border-radius: 10px;
}

#inlog-leden {
    display:none;
}

@media screen and (min-width: 900px){
    #header-koptekst{
        font-size: var(--header-naam-text-groot);
        line-height: var(--header-naam-text-groot);
        margin-left: var(--header-naam-links-groot);
    }

    #header-kop{
        height: var(--headerbalk-groot);
    }

    #header-imgNMLOGO {
        height: calc(var(--headerlogo-groot));
    }
    
    #header-menu-bar {
        visibility: hidden;
    }

    #header-imgNMLOGO {
        visibility: visible;
    }

    #leden-button {
        display: none;
    }

    #header-rij2 {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;   /* menuregel onderaan */
    }
    
    #menuregel {
        display: flex;
        height: 35px;
        align-items: center;
        justify-content: center;   /* nav in het midden */
        position: relative;        /* nodig voor absolute #inlog */
        width: 100%;               /* volledige breedte van de parent */
        padding: 0px 0;
        box-sizing: border-box;
    }
            
    #inlog-leden {
        display: block;
        position: absolute;
        right: 20px;                    /* nu echt helemaal rechts van het scherm */
        top: 50%;
        transform: translateY(-50%);
    }

    #inlog-leden a {
        text-decoration: none;
        background-color: var(--headerbalk1);
        padding: 5px;
        color: #fff;
    }
    
}

