@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

html, body {
    height: 100%;
    margin: 0;
}

.container {
    height: 100vh;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start;
    padding: 20px;
}

h1 {
    color: rgb(167, 205, 241);
    text-shadow: 1px 1px 4px #000;
    margin-bottom: 20px;
    font-size: calc(1.5rem + 1vw);
}

p {
    color: black;
    text-align: justify;
    line-height: 1.8;
    font-size: calc(1rem + 0.5vw);
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    font-weight: 300;
}
.logo {
    width: 50px;
    height: auto;
    display: block;
    margin: 0 auto;
}
.nav {
    display: flex;
    background-color: white;
    border-bottom: 3px solid rgb(167, 205, 241);
    justify-content: space-evenly;
    align-items: center;
    padding: 10px;
}



.nav a {
    color: rgb(167, 205, 241);
    text-decoration: none;
    cursor: pointer;
    margin: 0 15px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 20px;
}

.nav a:hover {
    color: #ddd;
}

.section-image {
    width: 400px;
    height: auto;
}

.container section .content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.text {
    max-width: 600px;
    color: black;
    display: flex;
    flex-direction: column;
}

button {
    background-color: rgb(167, 205, 241);
    margin: 0;
    margin-top: 20px;
    width: 95%;
    margin-left: 3%;
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    
    .nav {
    display: flex;
    background-color: white;
    border-bottom: 3px solid rgb(167, 205, 241);
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}
    .nav a {
        margin: 10px 0;
        font-size: 18px;
    }

    

    h1 {
        font-size: 1.8rem;
    }

    p {
        font-size: 1rem;
        padding: 0 10px;
    }
     /* Zorg ervoor dat de secties niet over elkaar vallen */
    section {
        display: flex;
        flex-direction: column; /* Stapel de secties verticaal */
        align-items: center; /* Centreer de secties horizontaal */
        padding: 20px; /* Voeg wat ruimte toe aan de secties */
    }

    .container {
        display: block; /* Zorg ervoor dat de container de volledige breedte benut */
    }

    .container section .content {
        display: flex;
        flex-direction: column; /* Zorg dat de afbeelding en tekst verticaal gestapeld worden */
        align-items: center; /* Centreer alles */
        gap: 20px; /* Voeg ruimte tussen de elementen toe */
        width: 100%; /* Zorg ervoor dat de content de volledige breedte benut */
    }

    .section-image {
        width: 0%; /* Maak de afbeelding smaller voor kleinere schermen */
        max-width: 300px; /* Limiteer de maximale breedte */
        height: auto; /* Behoud de verhoudingen */
        margin: 0 auto; /* Centreer de afbeelding */
    }

    .text {
        text-align: center; /* Centreer de tekst */
        max-width: 100%; /* Laat de tekst de volledige breedte gebruiken */
        display: flex;
        flex-direction: column; /* Zorg dat de tekst en de button gestapeld worden */
        gap: 20px; /* Ruimte tussen de tekst en de button */
    }

    button {
        width: 100%; /* Maak de button de volledige breedte van de container */
        margin: 20px 0 0; /* Voeg ruimte boven de button toe */
        padding: 10px 15px; /* Maak de button groter voor betere toegankelijkheid */
        font-size: 1rem; /* Zorg voor goed leesbare tekst */
    }
    .inloggen {
                background-image: url('chef.png');
            }
}
