/* Algemene opmaak voor het hele document */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(90deg, #1e3c72 0%, #2a5298 50%, #1e3c72 100%);
    color: #fff;
}

header {
    text-align: center;
    padding: 20px;
    background: linear-gradient(90deg, #1e3c72 0%, #2a5298 50%, #1e3c72 100%);
}

nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    position: relative; /* Hier hebben we de positie van de dropdown items verbeterd */
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #2a5298;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    top: 100%;
    left: 0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #1e3c72;
}

main {
    padding: 20px;
}

footer {
    text-align: center;
    padding: 10px;
    background: #1e3c72;
    color: #fff;
}

.centered-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.update-section, .content-section, section {
    background-color: #2a5298;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.update-section h2, .update-section h3, .update-section ul li, .content-section h2, .content-section p {
    color: #fff;
}

.update-section h2 {
    margin: 0 0 10px;
}

.update-section h3 {
    margin: 10px 0 5px;
}

.update-section ul {
    margin: 0;
    padding-left: 20px;
}

.update-section li {
    list-style-type: none;
}

/* Classes voor het aanpassen van de grootte van afbeeldingen */
.half-size {
    width: 50%;
    height: auto;
}

.quarter-size {
    width: 25%;
    height: auto;
}

.container {
    max-width: 1024px; /* Stelt de maximale breedte in van de tekstcontainer */
    margin: 0 auto; /* Centreert de container horizontaal */
    padding: 20px; /* Voegt wat ruimte rondom de tekst toe */
    line-height: 1.6; /* Zorgt voor betere leesbaarheid door de regelhoogte aan te passen */
}

@media screen and (max-width: 1024px) {
    .container {
        max-width: 90%; /* Zorgt ervoor dat de container goed schaalt op kleinere schermen */
    }
}
.sidebar a.new-item {
    background-color: #ffcc00; /* Gele achtergrond voor opvallen */
    color: #1e3c72;
    font-weight: bold;
    border-radius: 4px;
    padding: 10px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.sidebar a.new-item:hover {
    background-color: #ffd633; /* Iets lichtere gele kleur bij hover */
    box-shadow: 0px 0px 10px #ffcc00; /* Schaduw om te laten oplichten */
    color: #fff;
}
