body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: beige
}

header { 
    color: #fff;
    padding: 0;
    text-align: center;
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 3px;
    text-transform: uppercase;
    background-image: url(/afbeelding/Afbeelding\ van\ WhatsApp\ op\ 2025-01-23\ om\ 09.37.34_defe1e74.jpg);
    background-size: cover;
    height: 900px;
    display: grid;
}

header h1 {
    margin: 0;
    z-index: 2;
}

header h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    
}
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #A89A8A;
}

nav ul li {
    float: right;
    border-right: 1px solid #bbb;
}

nav ul li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    height: 22px;
}

nav a:hover {
    background-color: #dfc6aa;
}

nav ul li a.active {
    background-color: rgba(241, 174, 115, 0.514);
    color: white;
}
#menu-toggle {
    display: none;
}

label {
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
    padding: 14px 16px;
    background-color: #A89A8A;
}
nav a.active {
    color: #e3ceb6;
    font-weight: bold;
}
nav img{
    width: 5%;
    float: left;
}


main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 32px;
    max-width: 1200px;
    margin: auto;
}

main img {
    width: 100%;
    border-radius: 10px; 
}

main h2 {
    font-size: 40px;
    color: #2575fc;
    text-align: center;
}

main p {
    font-size: 17.6px;
    text-align: justify;
    float: left;
}

.section {
    margin: 20px auto;
    max-width: 1200px;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.section  h2 {
    font-size: 24px;
    margin-bottom: 15px;
    text-align: center;
    color: #333;
}

.section p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    text-align: justify;
}

.section img {
    display: block;
    margin: 20px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.section img {
    width: 50%;
    height: auto;
    object-fit: cover;
}

.ding {
    margin: 20px auto;
    max-width: 1200px;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.ding h2 {
    font-size: 24px;
    margin-bottom: 15px;
    text-align: center;
    color: #333;
}

.ding p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    text-align: justify;
}

.ding img {
    display: block;
    margin: 20px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.main-content {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.main-content h1 {
    text-align: center;
    font-size: 28px;
    color: #222;
    margin-bottom: 20px;
}

.main-content h2 {
    font-size: 24px;
    margin-top: 20px;
    color: #444;
}

.main-content p {
    font-size: 16px;
    margin-bottom: 15px;
}

.image {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
    display: block;
}

.ervaring {
    padding: 20px;
    max-width: 800px;
    margin: 20px auto;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.ervaring h1 {
    text-align: center;
    font-size: 28px;
    color: #222;
    margin-bottom: 20px;
}

.ervaring h2 {
    font-size: 24px;
    margin-top: 20px;
    color: #444;
}

.ervaring p {
    font-size: 16px;
    margin-bottom: 15px;
}

.imag {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.img {
    max-width: 100%;
    height: auto;
    border: 2px solid #ddd;
    border-radius: 5px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

footer {
    background-color: #A89A8A;
    padding: 15px;
    text-align: center;
    font-family: Arial, sans-serif;
  }
  
footer h3 {
    margin-bottom: 10px;
    color: #333;
  }
  
footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
footer li {
    margin: 8px 0;
  }
  
footer a {
    color: #cdd9e2;
    text-decoration: none;
  }
  
footer a:hover {
    text-decoration: underline;
  }
  
footer p {
    margin-top: 15px;
    font-size: 12px;
    color: #333;
  }

  @media only screen and (max-width: 480px) {
    body {
      font-size: 14px; /* Kleinere tekst op gsm voor betere leesbaarheid */
    }
    nav {
        position: relative;
    }

    label {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #333;
        position: absolute;
        top: 50px;
        left: 0;
        padding: 0;
        z-index: 9;
    }
 nav ul li {
        width: 100%;
        text-align: center;
        display: block;
    }
    nav img {
        width: 15%;
        float: right;
    }
#menu-toggle:checked ~ ul {
        display: flex;
    }

    header {
      font-size: 2rem; /* Kleinere header voor gsm */
      height: 400px; /* Lagere header op mobiel */
    }
  
    main {
      display: grid;
      grid-template-columns: 1fr; /* Eén kolom voor mobiel */
      gap: 20px;
      padding: 16px;
    }
  
    main h2 {
      font-size: 24px; /* Kleinere h2 op mobiel */
    }
  
    .section, .ding, .main-content, .ervaring {
      padding: 15px;
      margin: 0;
      box-shadow: none; /* Schaduw verwijderen op mobiel voor minder druk */
      border-radius: 0; /* Geen afgeronde hoeken voor mobiel */
    }
  
    .section img, .ding img, .main-content img, .ervaring img {
      width: 100%; /* Afbeeldingen vullen de breedte van het scherm */
      height: auto;
      object-fit: cover; /* Afbeeldingen netjes snijden zonder vervorming */
    }
  
    .img {
      max-width: 100%; /* Zorg ervoor dat afbeeldingen goed schalen */
      height: auto;
      margin-bottom: 15px;
      border-radius: 8px;
    }
  
    footer {
      padding: 10px;
      font-size: 12px;
    }
  
    footer ul li {
      font-size: 12px; /* Kleinere tekst in footer */
    }
  
    /* Verbeterde footer op mobiel */
    footer ul {
      text-align: center;
    }
  
    footer h3 {
      font-size: 16px;
    }
  
}