body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: black;
    color: white;
    animation: fadeIn 0.5s ease-out;
}

/* Algemene stijlen voor afbeeldingen binnen afbeeldingscontainers */
.image-container img {
    width: 100%;
    height: auto;
    display: block;
}
/* links zijn altijd onderstreept en wit */
a {
    color: white; 
    text-decoration: underline; 
}

.container {
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
    margin: 0 auto;
    max-width: 800px;
}

header {
    background-color: black;
    color: white;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

nav ul {
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: space-around;
}

#nav-toggle {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #444;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

ul {
    list-style-type: none; /* Verwijder standaard opsommingstekens */
    padding: 0; /* Verwijder standaard padding */
}

li {
    padding-left: 20px; /* Pas de linker padding aan om opsommingstekens dichter bij de tekst te brengen */
    margin-bottom: 5px; /* Voeg wat ruimte toe tussen lijstitems */
}

section {
    text-align: center;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    text-decoration: none;
    font-weight: bold;
    color: white;
}

main {
    padding: 20px;
    box-sizing: border-box;
}

footer {
    background-color: black;
    color: white;
    padding: 20px;
    box-sizing: border-box;
}

@media screen and (max-width: 600px) {
    header, main, footer {
        padding: 10px;
    }
}

/* Fade in animatie */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Beginstaat voor fade-out */
.fade-out {
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

/* CSS voor fade-out effect */
.fade-out {
    animation: fadeOut 0.5s ease-out forwards; /* Zorgt dat de animatie voltooit */
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}
input, textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

button {
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
}

button:hover {
    opacity: 0.8;
}

.hidden-image {
    display: block;
    margin: 0 auto;
    width: 400px;
    height: auto;
    opacity: 0; /* Verberg aanvankelijk de afbeelding */
    transition: opacity 0.5s ease; /* Pas een overgang toe voor dekking */
}

.visible {
    opacity: 1; /* Toon de afbeelding */
}

/* voor de galerij */
.gallery {
    position: relative;
    overflow: hidden;
    width: auto;
}

/* voor de over-pagina */
.hidden {
    display: none;
}
.show {
    display: block; /* Of een andere geschikte display waarde */
}

.slides {
    display: flex;
    transition: transform 0.5s ease;
    position: relative; /* Zorgt ervoor dat de ouder container relatief is */
}

.slides img {
    margin: auto;
    width: 100%;
    height: 100%;
}

.prev, .next {
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 20px;
}

.button-container {
    display: flex;
    justify-content: space-between; /* Ruimte tussen knoppen */
   
}
