/* Stijlen voor de desktop header */
#header-desktop {
    position: relative;
    background: linear-gradient(
        to right,
        #0e87c9,
        #1e9cd7 24.4437%,
        #0075be 72.4667%,
        #005b97 99.4382%
    );
    padding: 2.3em 3em;
    z-index: 1000; /* Ensure it's below the search box */
}

/* Stijlen voor de links in de desktop header */
#header-desktop a,
#header-desktop ul li a {
    color: white;
    padding: 14px 20px;
    text-decoration: none;
    font-size: large;
}

/* Stijlen voor de ongeordende lijst in de desktop header */
#header-desktop ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

/* Stijlen voor de lijstitems in de desktop header */
#header-desktop ul li {
    margin: 0 20px;
}

#header-desktop ul li a {
    position: relative;
    transition: color 0.3s;
}

/* Stijlen voor de hover en actieve status van de links */
#header-desktop ul li a:hover,
#header-desktop ul li a.active {
    color: rgb(255, 246, 222);
}

#header-desktop ul li a::before {
    content: "";
    position: absolute;
    bottom: 7px;
    left: 25%;
    right: 25%;
    height: 2px;
    background-color: #ffc21e;
    transform-origin: bottom;
    transform: scaleY(0);
    transition: transform 0.3s;
    border-radius: 2px;
}

#header-desktop ul li a:hover::before,
#header-desktop ul li a.active::before {
    transform: scaleY(1);
}

/* Stijlen voor het logo */
#logo-link {
    position: absolute;
    left: 1em;
    top: 50%;
    transform: translateY(-50%);
}

#logo {
    height: 70px;
}

/* Stijlen voor de menu- en icooncontainers */
#menu-container,
#icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

#icon-container {
    position: absolute;
    right: 0.8em;
    top: 50%;
    transform: translateY(-50%);
}

#icon-container svg,
#icon-container a svg {
    margin-left: -25px;
    width: 34px;
    height: 34px;
    fill: #ffffff;
}

#icon-container svg path,
#icon-container svg:hover path {
    fill: inherit;
    stroke: #ffffff;
    stroke-width: 0.1;
}

#icon-container svg:hover path {
    fill: #ffc21e;
    stroke: #ffc21e;
}

#icon-container .search-margin svg {
    margin-top: 2px;
}

#search-box {
    display: none;
    position: absolute;
    top: 50px; /* Adjust as necessary to place below the search icon */
    right: 0;
    background-color: white;
    padding: 10px;
    border: 1px solid #ccc;
    z-index: 1001; /* Ensure it's on top */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease; /* voor een vloeiende overgang */
}

#search-box input[type="text"] {
    width: 200px; /* Adjust as necessary */
    padding: 5px;
}

#search-box button {
    padding: 5px 10px;
}

/* Stijlen voor de mobiele weergave */
#hamburger-menu {
    position: absolute;
    top: 1em;
    right: 1em;
    font-size: 1.5em;
    cursor: pointer;
    z-index: 1000;
}

#mobile-menu {
    display: none;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

#mobile-menu a {
    display: block;
    padding: 15px;
    color: white;
    text-decoration: none;
    font-size: 1.5em;
}

#mobile-menu a.active {
    background-color: #0075be;
}

/* Responsieve stijlen voor verschillende schermgroottes */
@media screen and (max-width: 1300px) {
    #menu-container,
    #icon-container {
        display: none;
    }
    #logo {
        height: 40px;
    }
}

@media screen and (min-width: 1300px) {
    #hamburger-menu {
        display: none;
    }
}
