/* Gemeinsame Stile für die Praxisbilder */
.image-container {
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
}

.image-container figure {
    margin: 10px;
    text-align: center;
}

.image-container img {
    width: 150px; /* Festlegen der Breite der kleinen Bilder */
    height: auto; /* Behält das Seitenverhältnis der Bilder bei */
    cursor: pointer; /* Zeiger wird zu einem Zeigefinger beim Überfahren des Bildes */
    transition: transform 0.3s ease; /* Übergangseffekt für die Vergrößerung */
}


/* Einstellungen für die Lightbox der Seite */

#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#lightbox.active {
    display: flex;
}

#lightbox img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 99999;
}

.prev-button,
.next-button {
    font-size: 50px; /* Ändere die Schriftgröße nach Bedarf */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.prev-button {
    left: 10px; /* Anpassen, um den Abstand vom linken Rand zu ändern */
}

.next-button {
    right: 10px; /* Anpassen, um den Abstand vom rechten Rand zu ändern */
}

/* Hovern ausschalten bei Handys */
@media only screen and (max-width: 600px) {
    .image-container img:hover {
        transform: none; /* Kein Übergangseffekt beim Hovern */
    }
    .image-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
}
