/* ----------- HEADER ---------- */

header{
    width: 100%;
    position: fixed;
    top: 0;
    background-color: white;
    z-index: 10;
}

header .headernav{
    display: flex;
    justify-content: space-between;
    margin: 5px 10px 5px 20px;
}

header .headernav .logo img {
    width: 120px;
    margin-right: 100px;
    height: 120px;
}

header .headernav .navigatie .mobile-menu{
    display: none; 
    float: right;
    width: 50px;
    height: 50px;
}
header .headernav .navigatie .menuHamb {
    background-image: url('../img/icoon/menu.svg');
}


header .headernav .navigatie .menuClose{
    background-image: url('../img/icoon/cross.svg');
}

header .headernav .navigatie{
    width: 100%;
    margin-top: 20px;
    margin-right: 20px;
    font-size: 1.3em;
    overflow: hidden;
}

header .headernav .navigatie .flex{
    display: flex;
    justify-content: space-between;
}

header .headernav .navigatie ul.nav-ul{
    display: flex;
    justify-content: space-between;
}

header .headernav .navigatie ul li{
    padding-right: 50px;
}

header .headernav .navigatie ul li a{
    position: relative;
    color: black;
    text-decoration:none;
}
/*taalmobile*/
header .headernav .navigatie .flex ul li.langMobile{
    display: hidden;
    visibility: hidden;
}

header .headernav .navigatie .flex ul li.showlang{
    display: hidden;
    visibility: visible;
}

header .headernav .navigatie .flex ul li a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: black;
    visibility: hidden;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
  }

  header .headernav .navigatie .flex ul li a:hover:before {
    visibility: visible;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }

header .headernav .navigatie .flex ul li a:hover {
    color: black; 
}

header .headernav .navigatie .flex ul li a:visited{
    color:black !important;
}

header .headernav .navigatie .mobile-menu{
    overflow: hidden;
    height: 0;
    display: block;
    width: 0;
}

/* Extra */
header .headernav .navigatie .extraNav{
    display: block;
    float: right;
}

header .headernav .navigatie .extraNav a:hover{
    text-decoration: underline;
}

header .headernav .navigatie .extraNav .taalNav{
    padding-top:1.5px;
    font-size: 0.9em;
    align-items: center;
    float:right;
}
/*SEARCH ICOON */
/* header .headernav .navigatie .extraNav .search{
    width: 20px;
    height: 20px;
    background-image: url("../img/icoon/search.svg");
    background-size: cover;
    margin-top: 5px;
} */

/* ----------RESPONSIVE --------------*/
@media screen and (max-width: 1100px) {
    header .headernav .navigatie{
        font-size: 1.2em;
    }

    header .headernav .logo{
        width: 205px;
        display: inline-block;
    }
    
    header .headernav .logo img {
        width: 120px;
        height: 120px;
    }

    header .headernav .navigatie ul li{
        padding-right: 35px;
    }
} 

@media screen and (max-width: 980px) {
    /* MENU */
    header .headernav{
        display: block;
        overflow:auto;
        margin: 10px 20px;
    }
    header .headernav .navigatie{
        display: inline;
        margin-left: auto;
        width: 100%; 
        margin-right: 0; 
    }
    header .headernav .navigatie .mobile-menu{
        cursor: pointer;
        display: inline;
        height: 50px;
        width: 50px;
        margin-top: 10px;
        margin-left: 10px;
    }
    header .headernav .navigatie div{
        float: right;
    }
    header .headernav .navigatie ul{
        overflow: hidden;
        background: white;
        height: 0;
        display:block;
        padding: 0;
    }
    header .headernav .navigatie ul li{
        float: none;
        text-align: left;
        width: 100%;
        margin: 0;
        padding-left: 0;
        border-top: 1px solid black;
    }

    header .headernav .navigatie ul li a{
        background-color: white;
        color: black;
        padding: 10px 0 10px 0;
        display: block;
        margin: 0;
    }

    header .headernav .navigatie .flex{
        width: 100%;
    }
    header .headernav .navigatie ul.open{
        padding: 30px 0;
        height: auto;
        display: block;
        width: 100%;
    }

    header .headernav .navigatie ul, header .headernav .navigatie .extraNav{
        display: none;
    }
    header .headernav .navigatie ul li.langMobile{
        display: flex;
        justify-content: space-between;
        visibility: visible;
    } 
    header .headernav .navigatie ul li.langMobile a.inline{
        margin-top: 20px;
        margin-left: 0;
        width: 48%;
        font-size: 0.9em;
        text-align: center;
        border: 1px solid black;
        color: black;
    }

    header .headernav .navigatie .flex ul li a:before {
        content: "";
        position: absolute;
        width: 0%;
        height: 0px;
        bottom: 0;
        left: 0;
        background-color: white;
        visibility: hidden;
        -webkit-transform: scaleX(0);
        transform: scaleX(0);
        -webkit-transition: all 0s ease-in-out 0s;
        transition: all 0s ease-in-out 0s;
      }

    header .headernav .navigatie ul li a:hover:before {
        visibility: hidden;
        -webkit-transform: scaleX(0);
        transform: scaleX(0);
        background-color: white;
      }
}

@media screen and (max-width: 800px) {
    header .headernav .logo{
        float: left;
        display: inline;
        width: 90px;
    }
    header .headernav .logo img {
        width: 90px;
        height: 90px;
        margin-right: 0;
    }
}