﻿.image-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Abstand zwischen den Bildern */
    justify-content: center;
}

.clickable-image {
    width: 100%; /* Originalgröße des Bildes */
	border: 1px solid #CCCCCC;
    transition: border 0.2s ease; /* Übergang für Hover-Effekt */
	cursor: pointer;
}
.clickable-image:hover {
    border: 2px solid #d08b0a; /* Rahmenfarbe auf Hover */
    transform: scale(1.00); /* Leichtes Vergrößern auf Hover */
}

.overlay {
    display: none; /* Overlay standardmäßig versteckt */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0); /* Anfangs kein Hintergrund */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0; /* Unsichtbar zu Beginn */
    transition: background-color 0.5s ease, opacity 0.5s ease; /* Verzögerte Öffnung */
}

.overlay.show {
    background-color: rgba(0, 0, 0, 0.6); /* Halbtransparenter Hintergrund */
    opacity: 1; /* Sichtbar */
}

.large-image {
    max-width: 80%;
    max-height: 80%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}