/* Basis stijlen voor mobiele apparaten */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    color: #333;
}

.navbar {
    background-color: #fff;
    padding: 1em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    text-align: center;
}

.navbar a {
    display: block;
    margin: 0.5em 0;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.navbar a:hover {
    color: #007BFF;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: darken;
}

.hero img {
    width: 80%; /* Pas de breedte aan naar wens */
    max-width: 300px; /* Beperk de breedte tot maximaal 300px */
    height: auto;
    border-radius: 50%;
    margin-bottom: 1em;
}

.hero h1 {
    font-size: 2em; /* Kleinere font-size voor mobiel */
    margin-bottom: 0.5em;
}

.hero p {
    font-size: 1em; /* Kleinere font-size voor mobiel */
}

.hero a {
    display: inline-block;
    margin-top: 1em;
    padding: 0.75em 1.5em;
    background-color: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.hero a:hover {
    background-color: #0056b3;
}

.section {
    padding: 2em 1em; /* Kleinere padding voor mobiel */
    text-align: center;
}

.section h2 {
    font-size: 2em; /* Kleinere font-size voor mobiel */
    margin-bottom: 0.5em;
}

.section p {
    max-width: 90%; /* Grotere max-width voor mobiel */
    margin: 0 auto;
    font-size: 1em; /* Kleinere font-size voor mobiel */
    color: #666;
}

.services {
    display: flex;
    flex-direction: column; /* Stacks de items onder elkaar op mobiele apparaten */
    gap: 1.5em;
    align-items: center; /* Center de items horizontaal */
}

.service {
    background-color: #fff;
    padding: 1.5em; /* Kleinere padding voor mobiel */
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-decoration: none; /* Verwijder onderlijning van links */
    color: #333; /* Zorg ervoor dat de tekstkleur goed leesbaar is */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%; /* Zorg ervoor dat het blok de breedte van zijn container benut */
    max-width: 500px; /* Beperk de breedte tot maximaal 500px */
}

.service h3 {
    margin-top: 0;
    margin-bottom: 0.5em;
    font-size: 1.5em;
}

.service p {
    color: #666;
}

.service:hover {
    transform: scale(1.05); /* Vergroot de kaart een beetje bij hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Verhoog de schaduw bij hover */
}

.introduction{
    line-height:30px;
}

/* Stijlen voor grotere schermen */
@media (min-width: 600px) {
    .navbar a {
        display: inline-block;
        margin: 0 15px;
    }

    .hero img {
        width: 50%; /* Pas de breedte aan voor grotere schermen */
        max-width: 300px; /* Beperk de breedte tot maximaal 400px */
    }

    .hero h1 {
        font-size: 3em;
    }

    .hero p {
        font-size: 1.2em;
    }

    .section {
        padding: 3em 1em;
    }

    .section h2 {
        font-size: 2.5em;
    }

    .section p {
        max-width: 600px;
        font-size: 1.1em;
    }

    .services {
        flex-direction: row; /* Zet de items naast elkaar op grotere schermen */
        justify-content: center; /* Center de items horizontaal */
        flex-wrap: wrap;
    }

    .service {
        flex: 1 1 300px;
        max-width: 300px;
    }

}

@media (min-width: 992px) {
    .hero img {
        width: 40%; /* Pas de breedte verder aan voor nog grotere schermen */
        max-width: 400px; /* Beperk de breedte tot maximaal 500px */
    }

    .hero h1 {
        font-size: 4em;
    }

    .hero p {
        font-size: 1.5em;
    }
}
