/* Globale instellingen */
html, body {
    height: 100%; /* Zorg ervoor dat de hoogte van de pagina 100% is */
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Voorkom horizontaal scrollen */
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: black;
    line-height: 1.6;
    background-image: url('/images/blackk.jpg'); /* Zorg ervoor dat het pad correct is */
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Zorg ervoor dat de achtergrond vast staat */
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

.hero {
    flex: 1; /* Zorg ervoor dat de hero-sectie de resterende ruimte inneemt */
    display: flex;
    align-items: center;
    justify-content: center; /* Centreer de inhoud horizontaal */
    flex-direction: column; /* Plaats de inhoud verticaal */
    padding: 2rem;
    background-color: #eaf2f8;
    margin-top: 3px;
    overflow-y: auto; /* Zorg ervoor dat verticaal scrollen mogelijk is */
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
}

.hero-content .cta-button {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background-color: #0073e6;
    color: white;
    font-weight: 600;
    border-radius: 5px;
    margin-top: 1rem;
    transition: background-color 0.3s;
}

.hero-content .cta-button:hover {
    background-color: #005bb5;
}

.hero-image img {
    width: 100%;
    height: 300px;
    max-width: 300px;
    border-radius: 7%;
}

/* About sectie */
.about {
    padding: 2rem;
    text-align: center;
    background-color: white;
    margin: 2rem auto;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background-color: #0073e6;
    color: white;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.5rem; /* Verklein de tekstgrootte */
    }

    .hero-content p {
        font-size: 1rem; /* Pas de tekstgrootte aan */
    }

    .hero-image img {
        height: 250px; /* Verklein de afbeelding */
        max-width: 250px;
    }

    .about {
        padding: 1.5rem; /* Verminder de padding */
        margin: 1.5rem auto;
    }

    .about h2 {
        font-size: 1.8rem; /* Pas de kopgrootte aan */
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem; /* Verminder de padding */
    }

    .hero-content h1 {
        font-size: 2rem; /* Nog kleinere tekstgrootte */
    }

    .hero-content p {
        font-size: 0.9rem; /* Pas de tekstgrootte verder aan */
    }

    .hero-image img {
        height: 200px; /* Verklein de afbeelding verder */
        max-width: 200px;
    }

    .about {
        padding: 1rem; /* Nog minder padding */
        margin: 1rem auto;
    }

    footer {
        font-size: 0.9rem; /* Maak de tekst in de footer kleiner */
    }

    .social-media a.button {
        padding: 0.7rem 1.5rem; /* Pas de social media knoppen aan */
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem; /* Kleinste tekstgrootte */
    }

    .hero-content p {
        font-size: 0.8rem; /* Kleinere tekstgrootte */
    }

    .hero-content .cta-button {
        padding: 0.5rem 1rem; /* Verklein de knop */
        font-size: 0.9rem;
    }

    .social-media a.button {
        padding: 0.5rem 1rem; /* Verklein de social media knoppen */
        font-size: 0.8rem;
    }

    .about h2 {
        font-size: 1.5rem; /* Pas de kopgrootte verder aan */
    }

    footer {
        padding: 0.5rem; /* Verminder de padding in de footer */
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        margin-top: 1rem;
    }
}

.social-media a.button {
    display: inline-block;
    padding: 0.9rem 1.7rem;
    background-color: #7a0085;
    color: white;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s, opacity 0.5s; /* Voeg fade-in-transitie toe */
    margin-top: 1rem; /* Voeg marge boven de knop toe */
    opacity: 1; /* Begin met onzichtbaar */
}

.social-media a.button:hover {
    background-color: #af00b5;
}

.social-media {
    animation: fadeIn 1s forwards; /* Fade-in animatie voor de container */
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}