/* Algemene stijl */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f0f4f2;
    color: #333;
}
	/* Navigatiebalk */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 15px 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000; /* betekent dat de navbar altijd op de voorste laag is*/
}

.logo {
    font-weight: bold;
    color: #2e7d32;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

/* animatie lijn onder tekst */
.nav-links a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: -5px;
    background: #2e7d32;
    transition: width 0.3s;
}

.nav-links a:hover { /* als je je muis over een link op de navbar haalt gaat de animatie bewegen*/
    color: #2e7d32;
}

.nav-links a:hover::after {
    width: 100%;
}

.overmij-section {
    padding: 40px;
    width: 80%;
    margin: auto;
    min-height: 300px;
}

/* Header */
header {
    background: linear-gradient(120deg, #2e7d32, #66bb6a);
    color: white;
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn 2s ease;
}/* Over mij sectie */
.overmij-section {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    text-align: center; /* centreert koppen en boxen */
}

.overmij-section h1 {
    color: #2e7d32;
    margin-bottom: 30px;
    font-size: 2em;
}

/* Box om iedere paragraaf */
.overmij-box {
    background-color: white;
    border: 2px solid #2e7d32;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    text-align: justify;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

/* Optioneel: responsive bron:http://w3schools.com/cssref/atrule_media.php*/
@media (max-width: 600px) {
    .overmij-section {
        padding: 15px;
    }
    .overmij-box {
        padding: 15px;
    }
}

/*FOOTER*/

footer { text-align: center;
    padding: 20px;
    background: #2e7d32;
    color: white;
}
