body {
    font-family: sans-serif;
    background-color: transparent;
    margin: 20px;
    text-align: center;
}

.image-container {
    display: inline-block; /* Zorgt dat de container niet breder is dan de afbeelding */
    max-width: 100%;
}

.image-container img {
    max-width: 100%;
    height: auto; /* Zorgt voor correcte schaling */
}

/* Stijl voor de klikbare gebieden */
map area {
    cursor: pointer; /* Toont een handje als je eroverheen zweeft */
}

/* ---- STIJLEN VOOR DE MODAL/POP-UP ---- */

/* De achtergrond overlay */
.modal {
    display: none; /* Standaard verborgen */
    position: fixed; /* Blijft op dezelfde plek, zelfs bij scrollen */
    z-index: 1000; /* Zorgt dat het boven alles uitkomt */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Scrollen mogelijk als de afbeelding te groot is */
    background-color: rgba(0, 159, 227, 0.7); /* Zwarte achtergrond met doorzichtigheid */
    
    /* Gebruik flexbox om de inhoud te centreren */
    justify-content: center;
    align-items: center;
}

/* De afbeelding in de modal */
.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80vh;
    animation: zoomIn 0.3s ease-in-out;
    border: 4px solid white;       /* Dit voegt de witte rand toe */
    box-sizing: border-box;        /* Dit zorgt dat de rand de afmeting niet vergroot */
}

/* Animatie voor het inzoomen */
@keyframes zoomIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* De sluitknop (X) */
.close-button {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close-button:hover,
.close-button:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}