* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
}

/* NAVIGATIEBALK */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #80c0f0;
    z-index: 1000;
}

/* HAMBURGER */
.hamburger {
    display: none;
    font-size: 20px;
    padding: 4px 10px;
    cursor: pointer;
}

#menu-toggle {
    display: none;
}

/* HOOFDMENU */
.menu {
    list-style: none;
    display: flex;
}

/* MENU ITEMS */
.menu li {
    position: relative;
}

/* LINKS */
.menu a {
    display: flex;
    align-items: center;
    height: 24px;
    padding: 0 12px 0 28px; /* ruimte voor webhead */
    background: #80c0f0;
    color: #000000;
    text-decoration: none;
    position: relative;
    white-space: nowrap;
}

/* Altijd lege ruimte links reserveren */
.menu a::before {
    content: "";
    position: absolute;
    left: 6px;
    width: 16px;
    height: 16px;
}

/* Hover toont webhead.gif */
.menu a:hover::before {
    background: url("webhead.gif") no-repeat center;
    background-size: 16px 16px;
}

/* SUBMENU */
.menu ul {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #80c0f0;
    display: none;
    min-width: 200px;
}

/* Sub-submenu */
.menu ul ul {
    top: 0;
    left: 100%;
}

/* Toon submenu bij hover */
.menu li:hover > ul {
    display: block;
}

/* Hover-stijl voor links */
.menu a:hover {
  background-color: rgba(0, 0, 0, 0.10);
}

/* Arrow rechts bij submenu */
.has-sub > a::after {
    content: "";
    width: 16px;
    height: 16px;
    margin-left: auto;
    background: url("arrow_black.gif") no-repeat center;
    background-size: 16px 16px;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .hamburger {
        display: block;
    }

    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    #menu-toggle:checked + .hamburger + .menu {
        display: flex;
    }

    .menu ul {
        position: static;
        padding-left: 15px;
    }

    .menu li:hover > ul {
        display: none;
    }

    .menu li:focus-within > ul {
        display: block;
    }
}