/* Basis styling */
body {
    font-family: Arial, sans-serif;
    margin: 20px;
    line-height: 1.6;
    color: #333;
}
.container {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
}
h1, h2 {
    color: #0056b3;
}
.contact-info p {
    margin: 5px 0;
}
.links a {
    display: inline-block;
    margin-right: 15px;
    padding: 10px 15px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.links a:hover {
    background-color: #45a049;
}

/* Slideshow specifieke styling */
.slideshow-container {
    max-width: 700px;
    position: relative;
    margin: auto;
    margin-bottom: 20px;
    border: 1px solid #eee;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    border-radius: 8px;
    overflow: hidden;
    /* Zorgt ervoor dat de hoogte zich aanpast aan de afbeelding */
    max-height: 500px; 
    height: auto;
}
.mySlides {
    display: none;
}

/* Oplossing voor "niet afknippen" */
.mySlides img {
    width: 100%;
    /* Verwijder de vaste hoogte en object-fit. */
    /* Gebruik 'height: auto' om de hoogte aan te passen aan de breedte, 
       waardoor de verhouding van de afbeelding behouden blijft. */
    height: auto; 
    object-fit: contain; /* Zorgt ervoor dat de hele afbeelding zichtbaar is */
    background-color: #000; /* Optioneel: zwarte achtergrond voor de lege ruimte */
    vertical-align: middle;
    border-radius: 8px 8px 0 0;
}

/* Vorige & volgende knoppen */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.6);
}
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 0px;
    width: 100%;
    text-align: center;
    background-color: rgba(0,0,0,0.6);
    border-radius: 0 0 8px 8px;
}

/* Aantal (1/3, 2/3, etc.) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.6);
    border-radius: 8px 0 0 0;
}

/* The dots/bullets/indicators */
.dot-container {
    text-align: center;
    padding: 10px;
    background-color: #f1f1f1;
    border-radius: 0 0 8px 8px;
    margin-top: -5px;
}
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}
.active, .dot:hover {
    background-color: #717171;
}
