body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff700;
}

html, body {
    height: 150px;
    margin: 0;
}

hr {
    border: 10px solid #f9f9f9;
    width: 100%;
    margin: 20px auto;
}



header {
    background-color: #177860;
    color: white;
    padding: 20px;
    text-align: center;
}

nav {
    background-color: #0066CC;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 14px 20px;
    display: block;
    text-align: center;
}

nav li {
    display: inline;
    margin-right: 1rem;
}

nav a {
    color: #333;
    text-decoration: none;
    
}

.main {
    
    flex: 1;
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color:#fff700;
    border-radius: 10px;
    box-shadow: 0px 4px 6px #004D99;
    text-align: center;
}

.content {
    flex: 1; /* This makes the content grow to fill the space */
    padding: 20px;
}



section.vacatures {
    margin-top: 20px;
    text-align: center; /* Center the text within the vacatures section */
}

section.vacatures h2 {
    text-align: center; /* Center the heading within the vacatures section */
}

section.vacatures ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: center; /* Center the list within the vacatures section */
}

section.vacatures li {
    display: inline-block; /* Change display to inline-block to allow horizontal alignment */
    margin: 0 15px; /* Add some spacing between list items */
}


.over-ons {
    margin-top: 2rem;
}
h2, h3, p {
    text-align: center;
}
#nieuws, .centered-content, .vacatures, .over-ons {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 4px 6px gray;
}

#nieuws h2, .centered-content h2, .vacatures h2, .over-ons h2 {
    text-align: center;
    margin-bottom: 30px;
}

article {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-left: 5px solid #007bff;
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.1);
}

article h3 {
    margin-top: 0;
}

article .date {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 10px;
}

form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
}

form label {
    margin-bottom: 5px;
}

form input,
form textarea {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form input[type="submit"] {
    background-color: #0066CC;
    color: white;
    cursor: pointer;
}

form input[type="submit"]:hover {
    background-color: #004D99;
}

footer {
    background-color:#177860 ;
    color: white;
    text-align: center;
    padding: 1em 0;
    
    position: relative; /* changed from fixed to relative */
    bottom: 0;
    width: 100%;
}

footer h3 {
    margin: 0;
}

footer p {
    margin: 0;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Mobile first styles */
@media (max-width: 600px) {
    nav ul {
        flex-direction: column;
    }

    .centered-content, .vacatures, .over-ons, .contact {
        flex-basis: 100%;
    }
}

/* Tablet and larger screens */
@media (min-width: 601px) and (max-width: 992px) {
    nav ul {
        flex-direction: row;
    }
    
    .centered-content, .vacatures, .over-ons, .contact {
        flex-basis: calc(50% - 10px);
    }
}

/* Desktop and larger screens */
@media (min-width: 993px) {
    nav ul {
        flex-direction: row;
    }
    
    .centered-content, .vacatures, .over-ons, .contact {
        flex-basis: calc(25% - 10px);
    }
}

.centered-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style-type: none;
    padding: 0;
}

.centered-list li {
    text-align: center;
    margin-bottom: 10px;
}
