/* Algemene stijlen voor de website */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    box-sizing: border-box; /* Zorgt voor consistente padding en borderberekening */
}

header {
    background-color: #2eced5;
    color: white;
    text-align: center;
    padding: 20px 0;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2em;
    margin: 0 0 15px 0;
}

main {
    padding: 20px;
    max-width: 800px; /* Beperk de breedte van de content */
    margin: 20px auto; /* Centreer de inhoud */
    background-color: white; /* Achtergrond van content */
    border: 1px solid #ccc; /* Rand om de content */
    border-radius: 8px; /* Afronde hoeken */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Lichte schaduw */
}

/* Menu */
.menu {
    position: relative;
}

.menu-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.menu-item {
    text-decoration: none;
    color: white;
    font-weight: bold;
    margin: 0 15px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
}

.menu-item:hover {
    text-decoration: none;
    background-color: white;
    color: #2eced5;
}

/* Verberg menu-items voor kleine schermen */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    margin: 5px;
}

/* Responsieve weergave */
@media (max-width: 768px) {
    header {
        display: flex;
        align-items: center; /* Verticaal centreren */
        justify-content: space-between; /* Plaats hamburgerknop links, titel rechts */
        padding: 10px;
    }

    .menu-toggle {
        display: block; /* Toon de hamburgerknop */
        font-size: 1.5em; /* Zorg voor een duidelijke knop */
		text-align: left;
        margin-left: 0; /* Geen extra marges */
    }

    .menu-items {
        display: none; /* Verberg standaard het menu */
        flex-direction: column; /* Zet menu-items verticaal */
        position: absolute;
        top: 100%; /* Onder de header */
        width: 100%; /* Beslaat de volledige breedte van de pagina */
        background-color: #2eced5; /* Houd consistentie in achtergrondkleur */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optionele schaduw */
        z-index: 1000; /* Zorg dat het menu boven andere elementen staat */
    }

    .menu-items.active {
        display: block; /* Toon het menu wanneer geactiveerd */
		width: 100%;
		height: 400px;
		right: 0;
    }

    .menu-item {
        padding: 15px; /* Voeg ruimte toe rondom elk item */
        text-align: center; /* Centreer de tekst */
        color: white;
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Optionele scheidingslijn */
    }

    .menu-item:last-child {
        border-bottom: none; /* Verwijder scheidingslijn bij laatste item */
    }

    h1 {
        margin: 0; /* Verwijder marges van de titel */
        font-size: 2em; /* Houd originele grootte */
        text-align: right; /* Zorg dat de titel rechts wordt uitgelijnd */
    }

    main {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 15px;
    }

    header h1 {
        font-size: 1.5em;
    }

    .menu-item {
        font-size: 0.9em;
        padding: 8px;
    }
}

/* Algemene knoppenstijl */
button {
    background-color: #2eced5;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #1db7c2;
}

button.disabled {
    background-color: #ccc;
    color: #777;
    cursor: not-allowed;
}
