/* Globale stijlen */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    min-height: 100vh;
}

body {
    /* Lettertype gewijzigd naar 'Inter' voor een professionelere uitstraling */
    font-family: 'Inter', sans-serif; /* Fallback fonts toegevoegd */
    background-image: url('Images_Milandekker.nl_Files/Img006.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 80px; /* Meer ruimte voor de vaste header */
}

h1 {
    /* Lettertype gewijzigd naar 'Inter' */
    font-family: 'Inter', sans-serif;
}


/* Coole regenboog navigatiebalk */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    background-image: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet, red);
    background-size: 800% 100%; /* Maakt de achtergrond breder dan het element */
    animation: rainbow-bg 10s linear infinite; /* Start de animatie */
    border-bottom: 3px solid #555; /* Donkere lijn voor contrast */
}

@keyframes rainbow-bg {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.main-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-link {
    display: inline-block;
    color: #fff; /* Witte tekst voor goed contrast */
    text-decoration: none;
    padding: 12px 25px;
    margin: 0 10px;
    background-color: rgba(0, 0, 0, 0.3); /* Licht doorzichtige achtergrond voor de tekst */
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.nav-link:active {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Eenvoudige navigatiebalk */
.simple-navbar {
    background-color: #333; /* DONKERE ACHTERGRONDKLEUR (bijna zwart) */
    padding: 15px 0;
    border-bottom: 1px solid #555; /* Iets donkerder streepje voor contrast */
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.simple-navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.simple-navbar li {
    margin: 0 20px;
}

.simple-navbar a {
    text-decoration: none;
    color: #f8f8f8; /* WITTE TEKSTKLEUR VOOR GOED CONTRAST OP ZWART */
    font-weight: bold;
    font-size: 1.2em;
    padding: 5px 0;
    transition: color 0.2s ease-in-out;
}

.simple-navbar a:hover {
    color: #fff; /* HELDER WIT BIJ HOVER VOOR GOED CONTRAST */
}

/* Main content */
.homepage-content {
    width: 90%;
    max-width: 600px; /* Iets bredere container voor meer content */
    /* Achtergrondkleur gewijzigd naar volledig wit voor een strakker design */
    background-color: #fff; /* Volledig dekkend wit */
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    margin-top: 80px; /* Ruimte onder de header */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Hero sectie */
.hero {
    margin-bottom: 40px;
}

.hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #222;
}

.hero-subtitle {
    font-size: 1.3em;
    color: #555;
    margin-bottom: 30px;
}

.logo-container {
    margin-bottom: 40px;
}

.logo {
    max-width: 180px;
    transition: transform 0.3s ease-in-out;
}

.logo:hover {
    transform: scale(1.08);
}

/* Welkom sectie */
.welcome-title {
    font-size: 2.2em;
    margin-bottom: 30px;
    font-weight: 600;
    color: #333;
}

/* Knoppen */
.button {
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: opacity 0.3s;
}

.button:hover {
    opacity: 0.9;
}

.aanmelden-registreren-knop {
    background-color: #007bff; /* Een blauwe achtergrond */
    color: white; /* Witte tekst */
    padding: 10px 20px; /* Wat ruimte rond de tekst */
    border: none; /* Geen rand */
    border-radius: 5px; /* Afgeronde hoeken */
    cursor: pointer; /* Verandert de muisaanwijzer in een handje */
    font-size: 16px;
}

.aanmelden-registreren-knop:hover {
    background-color: #0056b3; /* Een iets donkerdere blauwe kleur bij hover */
}

/* Commentaar sectie */
.comment-section {
    border: 1px solid #ccc;
    padding: 10px;
    margin-top: 20px;
}

.comment {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.comment-author {
    font-weight: bold;
    margin-right: 10px;
}

.comment-date {
    font-size: 0.8em;
    color: #888;
}

#comment-form label {
    display: block;
    margin-top: 10px;
}

#comment-form input[type="text"],
#comment-form textarea {
    width: 100%;
    padding: 5px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
}

#comment-form button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
}

#comment-form button:hover {
    background-color: #3e8e41;
}

/* Cookie Consent & Popup */
.cookie-consent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.cookie-consent-box {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 500px;
    margin: 0 20px;
}

.cookie-consent-text {
    font-size: 1.1em;
    color: #444;
    margin-bottom: 20px;
}

.cookie-consent-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.accept-cookies {
    background-color: #4CAF50;
    color: white;
}

.reject-cookies {
    background-color: #f44336;
    color: white;
}

.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f8f8f8;
    border-top: 1px solid #ccc;
    padding: 20px;
    z-index: 1000; /* Zorg ervoor dat hij boven andere elementen ligt */
    text-align: center;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.cookie-popup.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-content {
    max-width: 800px;
    margin: 0 auto;
}

.cookie-buttons button, .cookie-buttons a {
    margin: 10px;
    padding: 8px 15px;
    border: 1px solid #4CAF50;
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
    text-decoration: none;
}

.cookie-buttons button:hover, .cookie-buttons a:hover {
    background-color: #45a049;
}

#ga4Consent {
    margin-left: 5px;
}

/* Footer */
.main-footer {
    background-color: #f8f8f8;
    color: #777;
    padding: 20px 0;
    width: 100%;
    text-align: center;
    margin-top: auto; /* Zorgt ervoor dat de footer onderaan blijft */
    border-top: 1px solid #eee;
    font-size: 0.9em;
}

.main-footer a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}

.main-footer a:hover {
    color: #333;
}

/* Media Queries voor kleinere schermen */
@media (max-width: 768px) {
    .simple-navbar ul {
        flex-direction: column;
    }

    .simple-navbar li {
        margin: 10px 0;
    }

    .hero-title {
        font-size: 2em;
    }

    .hero-subtitle {
        font-size: 1em;
    }

    .logo-container {
        width: 80%;
    }

    .cookie-consent-box {
        width: 90%;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5em;
    }

    .hero-subtitle {
        font-size: 0.9em;
    }

    .cookie-consent-buttons button {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
}
/* CSS voor de advertentiecontainer */
.advertentie-container {
    border: 1px solid #ccc; /* Een lichte rand */
    padding: 10px; /* Ruimte rond de inhoud */
    margin: 20px auto; /* Centreer de advertentie en geef wat ruimte */
    max-width: 320px; /* Maximale breedte voor de advertentiebox */
    text-align: center; /* Centreer tekst in de container */
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1); /* Een subtiele schaduw */
    border-radius: 8px; /* Afgeronde hoeken */
}
.advertentie-container img {
    border-radius: 4px; /* Afgeronde hoeken voor de afbeelding */
}
