/* Algemene stijlen */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    color: #333;
    overflow-x: hidden; /* Voorkomt horizontale scroll */
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: url('/img/ofb-background.png') no-repeat center center fixed;
    background-size: cover;
}

header {
    background-color: rgba(76, 175, 79, 0.9);
    color: white;
    padding: 10px 10%;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box; /* Zorgt ervoor dat padding en borders binnen de breedte blijven */
}

header a.logo-link {
    display: flex;
    align-items: center;
}

header img.logo {
    width: 80px;
    height: auto;
    margin-right: 10px;
}

header h1 {
    margin: 0;
    font-size: 1.5em;
    text-align: center;
}

.navbar {
    position: relative;
    display: inline-block;
}

.menu-button {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    font-size: 1em;
    background-color: #4caf4f;
    cursor: pointer;
}

.menu-button:hover {
    background-color: #45a049;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(56, 142, 60, 0.9);
    min-width: 160px;
    z-index: 1;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: left;
}

.dropdown-content a {
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    color: white;
}

.dropdown-content a:hover {
    background-color: #45a049;
}

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

/* Content met semi-transparante achtergrond */
.content {
    padding: 3em;
    max-width: 900px;
    margin: 40px auto;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    flex-grow: 1;
    box-sizing: border-box; /* Zorgt ervoor dat padding en borders binnen de breedte blijven */
}

.content p {
    margin-bottom: 1.5em;
    line-height: 1.8em;
}

img.align-right {
    float: right;
    margin-left: 20px;
    margin-bottom: 20px;
    max-width: 50%;
    height: auto;
}

@media (max-width: 768px) {
    img.align-right {
        max-width: 100%;
        float: none;
        margin-left: 0;
        margin-bottom: 10px;
    }
}

/* CTA knop */
.cta {
    margin-top: 3em;
    text-align: left;
}

.cta a {
    background-color: #4CAF50;
    color: white;
    padding: 1.2em 3em;
    text-decoration: none;
    font-size: 1.3em;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta a:hover {
    background-color: #45a049;
}

/* Footer */
footer {
    background-color: rgba(76, 175, 79, 0.9);
    color: white;
    text-align: center;
    padding: 10px 10%;
    font-size: 10px;
    position: relative;
    bottom: 0;
    width: 100%;
    box-sizing: border-box; /* Zorgt ervoor dat padding en borders binnen de breedte blijven */
}

