/* Ruimte voor topbar */
.topbar {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1000; /* Zorg ervoor dat het boven andere elementen blijft */
}

/* Container voor de hoofdinhoud */
.container {
    width: 90%;
    max-width: 800px;
    margin: 20px auto;
    text-align: center;
    flex: 1; /* Zorgt ervoor dat de container de resterende hoogte opvult */
}

/* Titel */
h1 {
    color: #333;
    margin-bottom: 20px;
}

/* Post styling */
.post {
    background-color: rgba(250, 250, 250, 0.1);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.post h2 {
    font-size: 1.8em;
    color: #b3c5d9;
    text-shadow: 0px 0px 4px rgba(255, 255, 255, 0.5);
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth highlight */
}

.post .date {
    color: #777;
    font-size: 14px;
    margin-bottom: 10px;
}

/* Thumbnail styling */
.thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s;
}

.thumbnail:hover {
    transform: scale(1.05);
}

/* Overlay styling voor afbeeldingsweergave */
.overlay {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
}

.overlay-content {
	padding-top: 10px;
    max-width: 80%;
    max-height: 80%;
    border-radius: 8px;
    object-fit: contain;
}

.closeOverlay, .prev, .next {
    position: absolute;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    user-select: none;
}

.closeOverlay {
    top: 90px;
    right: 20px;
    font-size: 30px;
}

.prev, .next {
    top: 50%;
    transform: translateY(-50%);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Scrollbar verbergen */
::-webkit-scrollbar {
    display: none;
}
