/* Thumbnail-Stil */
.thumbnail {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border: 2px solid #ddd;
    margin: 5px;
    cursor: pointer; /* Zeigt an, dass das Bild klickbar ist */
}

/* Container für Bild und Titel */
.image-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 300px;
    height: 300px;
    overflow: hidden;
    margin-bottom: 20px;
}

/* Titel-Stil */
.image-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 5px;
    text-align: center;
}

/* Flexbox für die Bildpaare */
.image-pair-container {
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
    max-width: 620px;
    margin: 0 auto 60px;
    overflow: hidden;
}

/* Footer Stil */
footer {
    background-color: #343a40;
    color: white;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
}

footer a {
    color: #ffc107;
    margin: 0 15px;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Anpassung der Navbar für mobile Geräte */
@media (max-width: 991.98px) { /* Bootstrap Breakpoint für kleinere Bildschirme */
    .navbar-collapse {
        position: absolute;
        top: 56px; /* Höhe der Navbar, um direkt darunter anzuzeigen */
        left: 0;
        width: 100%; /* Vollständige Bildschirmbreite */
        background-color: #f8f9fa; /* Hintergrundfarbe, die zum Navbar-Hintergrund passt */
        z-index: 1000;
    }

    .navbar-nav {
        flex-direction: column; /* Vertikale Ausrichtung der Menüpunkte */
        width: 100%;
        text-align: center; /* Zentriert die Menüpunkte */
    }

    .navbar-toggler {
        position: absolute;
        right: 10px;
        top: 10px;
    }
}
