/* Algemene styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
header {
    background: #333;
    color: #fff;
    padding: 15px 0;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
    display: inline-block;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: #00c8ff;
    color: #fff;
    font-weight: bold;
}

/* Layout voor de tekst en afbeelding */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 900px;
    margin: auto;
    padding: 20px;
}

.text {
    flex: 1;
    padding: 20px;
    max-width: 500px;
}

.image {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Footer blijft altijd onderaan */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 15px 0;
    width: 100%;
    margin-top: auto;
}

.download-content {
    width: 100%;
    text-align: center;
}

/* Schema-opmaak */
.schema-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.schema-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.schema-image,
.schema-text {
    flex: 1 1 450px;
    min-width: 300px;
}

.schema-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.schema-section h2 {
    text-align: center;
}

.schema-section ul {
    padding-left: 20px;
}

/* Vergrote afbeeldingsoverlay (voor alle popups) */
.image-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3); /* Lichte overlay */
    justify-content: center;
    align-items: center;
}

.image-overlay img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
    border-radius: 10px;
}

/* Responsive layout schema */
@media (max-width: 850px) {
    .schema-flex {
        flex-direction: column;
    }
}

.image-section img {
    cursor: pointer;
  }
  
.image-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.3);
  justify-content: center;
  align-items: center;
}

.image-overlay img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
  border-radius: 10px;
}
