.masonry-with-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
    justify-content: center; /* Zorgt ervoor dat de kolommen gecentreerd blijven */
	margin-top: 5%;
	margin-bottom: 5%;
}

/* Afbeeldingscontainers */
.grid-item {
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EC985A;
    color: white;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
    height: 200px; /* Vaste hoogte voor consistente uitlijning */
	cursor: pointer;
}

/* Willekeurige breedtes per afbeelding */
.grid-item:nth-child(1) { width: 180px; }
.grid-item:nth-child(2) { width: 250px; }
.grid-item:nth-child(3) { width: 300px; }
.grid-item:nth-child(4) { width: 220px; }
.grid-item:nth-child(5) { width: 280px; }
.grid-item:nth-child(6) { width: 260px; }
.grid-item:nth-child(7) { width: 320px; }
.grid-item:nth-child(8) { width: 200px; }
.grid-item:nth-child(9) { width: 290px; }
.grid-item:nth-child(10) { width: 240px; }
.grid-item:nth-child(11) { width: 310px; }
.grid-item:nth-child(12) { width: 270px; }
.grid-item:nth-child(13) { width: 230px; }
.grid-item:nth-child(14) { width: 250px; }
.grid-item:nth-child(15) { width: 280px; }
.grid-item:nth-child(16) { width: 280px; }

/* Afbeeldingen netjes uitvullen */
.grid-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover; /* Zorgt ervoor dat de afbeelding het hele div vult zonder te vervormen */
}


/* lightbox */

/* Lightbox achtergrond */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

/* Lightbox afbeelding */
.lightbox-img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* Sluitknop */
.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

/* Pijlen */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
}

.prev { left: 20px; }
.next { right: 20px; }

.prev:hover, .next:hover {
    background: rgba(255, 255, 255, 0.6);
}


