body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f4f4f4;
    overflow: hidden;
}

.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
    padding: 10px 20px;
    background-color: #375950;
    color: white;
}
.hamburger-altijd {
    font-size: 30px;
    padding: 10px 20px;
    background-color: #375950;
    color: white;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 5;
    display: none;
}

.overlay.active {
    display: block;
}

.container {
    display: flex;
    flex: 1;
    width: 100%;
    overflow: hidden;
    flex-direction: row; /* Standaard (desktop) */
}

.content {
    flex: 5;
    padding: 20px;
    background-color: #375950;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	border: none;
    box-sizing: border-box;
    overflow-y: auto; /* Scrollbalk voor content op desktop als nodig */
    display: flex;
    flex-direction: column; /* Om iframe 100% hoogte te kunnen geven op desktop */
}

.menu {
    flex: 1;
    padding: 20px;
    background-color: #375950;
	color: #fff;
    //box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    //border-left: 1px solid #ccc;
    box-sizing: border-box;
    overflow-y: auto;
}

.menu ul.hoofd {
    list-style: none;
    padding: 0;
}

.menu ul.sub {
    list-style: none !important;
    padding: 0 0 0 10px !important;
}

.menu li {
    margin-bottom: 2px;
}

.menu a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    display: block;
    //padding: 5px 0;
    transition: color 0.3s ease;
	cursor: crosshair;
}

.menu .hoofd ul li {
	padding: 0 0 0 0; !important;
}

.menu a:hover, .menu-header-wrapper a:hover h2 {
    color: #375950 !important;
	background-color: #FDB902;
}

.menu ul.hoofd li.active a {
    color: #375950 !important;
	background-color: #FDB902;
    font-weight: bold;
}

.sub-dir-naam {
  padding-top:10px;	
}

h1, h2, li strong {
    color: #FDB902;
}

/* De iframe styling, geldig voor desktop */
.content iframe {
    width: 100%;
    height: 100%; /* Neemt 100% hoogte van .content op desktop */
    border: none;
}

.sub-dir-naam {
	padding-top: 10px !important;
}

/* @media only screen and (max-width: 1350px) { */

@media only screen and (max-width: 600px) {
	.menu a {
		font-size: 12px;
		font-size: 14px;
	}

    .menu {
        position: absolute;
        top: 0;
        right: 0;
        width: 250px; /* of bijvoorbeeld 80% */
        height: 100vh;
        background-color: #375950;
        display: none;
        z-index: 10;
        overflow-y: auto;
    }

    .menu.active {
        display: block;
    }

    .hamburger {
        display: block;
        font-size: 30px;
        cursor: pointer;
        padding: 10px 20px;
        background-color: #375950;
        color: white;
        z-index: 20;
    }
	.content {
		font-size: 18px !important;
	}
}


/* Media Query voor kleinere schermen (bijv. smartphones) */
/* @media (max-width: 768px) { */

/* @media only screen and (max-width: 992px) { */

@media only screen and (max-width: 500px) {
    .container {
        flex-direction: column; /* Stapel items verticaal */
    }

    .content {
        flex: 1; /* Laat content de resterende ruimte innemen, naast het menu */
        order: 2; /* Plaats content onder het menu */
        border-left: none;
        border-top: 1px solid #ccc;
        /* Verwijder display:flex en flex-direction:column hier als je geen specifieke behoefte hebt om de iframe flex te maken op mobiel,
           anders kan het de hoogteberekening verstoren in combinatie met de onderstaande height */
        display: block; /* Keer terug naar standaard blokgedrag */
    }

    .menu {
        flex: 0 0 auto; /* Laat het menu zijn natuurlijke hoogte innemen */
        order: 1; /* Plaats het menu boven de content */
        border-left: none;
        border-bottom: 1px solid #ccc;
    }

    /* Specifieke styling voor de iframe op kleinere schermen */
    .content iframe {
        height: calc(100vh - 100px/* Hoogte van menu + eventuele padding/margins van container */);
        /* Dit is tricky en moet precies berekend worden. Een vaste min-height is vaak eenvoudiger. */
        min-height: 450px; /* Geef de iframe een minimale hoogte op mobiel */
        /* Je kunt ook een vaste hoogte geven, bijv. height: 600px; */
    }
	
	.menu a {
    	padding: 0;
		font-size: 10px;
		font-size: 14px;
	}

	.menu {
        position: absolute;
        top: 0;
        left: 0;
        width: 250px; /* of bijvoorbeeld 80% */
        height: 100vh;
        background-color: #375950;
        display: none;
        z-index: 10;
        overflow-y: auto;
    }
	.content {
		font-size: 12px !important;
	}
}