/* Algemeen */
body {
    font-family: 'Georgia', serif;
    background-color: #e8f5e9; /* Lichte groene achtergrondkleur */
    color: #333;
    margin: 0;
    padding: 0;
    display: block;
    max-width: 1200px; /* Maximale breedte van de inhoud */
    margin: 0 auto; /* Centreer de inhoud horizontaal */
}

header {
    width: 100%;
    position: relative;
    height: auto; /* verhoog de hoogte van de header */
    margin-bottom: 5px; /* voeg een margin-bottom toe */
}

.banner {
    width: 100%;
    height: auto; /* Pas de hoogte aan om de banner responsief te maken */
    overflow: hidden;
    position: relative;
}

.banner img {
    width: 100%;
    height: auto; /* Zorg ervoor dat de afbeelding responsief is */
    object-fit: cover;
}

nav {
    width: 100%;
    background-color: #333;
    z-index: 1000;
    margin-top: -5px;
    padding: 10px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
}

nav ul li {
    display: inline-block;
    margin-right: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

nav ul li a:hover {
    background-color: #c79f33;
    padding: 10px 20px;
}

.menu-icon {
    display: none;
}

.thumbnail {
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin: 5px;
}

.social-media-banner {
    background-color: #333;
    color: #ccc;
    padding: 10px;
    text-align: center;
}

.social-media-banner p {
    margin-bottom: 10px;
}

.social-media-banner a {
    color: #fff;
    text-decoration: none;
}

.social-media-banner i {
    font-size: 24px;
    margin-right: 10px;
    display: inline-block;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #333;
    color: #ccc;
}

#contact form {
    width: 95%;
    padding: 30px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#contact form label {
    display: block;
    margin-bottom: 10px;
}

#contact form input, #contact form textarea {
    width: 100%;
    height: 30px;
    padding: 10px;
    margin: 0 20px 20px -10px; /* Margin links en rechts */
    border: 1px solid #ccc;
    border-radius: 5px;
}

#contact form textarea {
    height: 150px;
    margin-bottom: 20px;
}

#contact form button {
    width: 100%;
    height: 40px;
    background-color: #c79f33;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px; /* Tekstgrootte */
    font-weight: bold; /* Tekstgewicht */
}

/* Flexbox-instellingen */
.content-row {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.text-column {
    width: 60%;
    margin-right: 20px;
}

.image-column {
    width: 40%;
    text-align: center;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
  display: none;
}

.overlay.open {
  display: block;
}

/* Media queries voor kleine schermgroottes */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .menu-icon {
        display: block;
        font-size: 30px;
        cursor: pointer;
        color: white;
        padding: 5px;
        background-color: rgb(0 0 0 / 80%);
        text-align: center; /* Centreer de tekst */
        margin: 0 auto; /* Centreer het icoon */
    }

    #contact form button {
      position: relative;
      top: 0;
     }

    nav ul.open {
        display: block;
        position: fixed; /* Verander naar fixed om over de body heen te steken */
        top: 60px; /* Pas de top-waarde aan om de hoogte te corrigeren */
        left: 50%; /* Begin in het midden */
        transform: translateX(-50%); /* Centreer horizontaal */
        width: 100%; /* Volledige breedte */
        max-width: 200px; /* Maximale breedte */
        background-color: #333; /* Zwarte achtergrondkleur */
        z-index: 1000;
        padding: 20px;
        flex-direction: column; /* Zorg ervoor dat het menu naar beneden opent */
    }

    nav ul li {
        display: block;
        margin-bottom: 10px;
    }

    #contact form {
        padding: 10px;
    }

    #contact form input, #contact form textarea {
        height: 25px;
        padding: 5px;
    }

    #contact form textarea {
        height: 100px;
    }

    #contact form button {
        height: 30px;
    }

    .content-row {
        flex-direction: column;
        align-items: flex-start; /* Tekst naar links uitlijnen */
    }

    .text-column, .image-column {
        width: 100%;
        text-align: left; /* Tekst naar links uitlijnen */
    }

    .image-column img {
        width: 100%;
        height: auto;
    }
}

/* Media queries voor extra kleine schermgroottes */
@media (max-width: 480px) {
    #contact form {
        padding: 5px;
    }

    #contact form input, #contact form textarea {
        height: 20px;
        padding: 2px;
    }

    #contact form textarea {
        height: 50px;
    }

    #contact form button {
        height: 25px;
    }

    .content-row {
        flex-direction: column;
        align-items: flex-start; /* Tekst naar links uitlijnen */
    }

    .text-column, .image-column {
        width: 100%;
        text-align: left; /* Tekst naar links uitlijnen */
    }

    .image-column img {
        width: 100%;
        height: auto;
    }
}
