@media all {   
    .container {
        width: 100%; /* oder eine spezifische Breite */
        overflow: hidden; /* verhindert das Ãœberlaufen des Inhalts */
    }
    
    .member-title {
        width: 100%;
        height: auto;
        font-size: 16px; /* Standard-SchriftgrÃ¶ÃŸe */
    }
    
    .carousel-item img {
        width: 100%;
        height: auto;
    }
    
    .container {
        width: 100%; /* oder eine spezifische Breite */
        overflow: hidden; /* verhindert das Ãœberlaufen des Inhalts */
    }
        
    :root {
        --lightbox: rgb(0 0 0 / 0.75);
        --carousel-text: #fff;
    }
    
    body {
    margin: 1.5rem 0 3.5rem;
    }
    
    .gallery-item {
    display: block;
    }
    
    .gallery-item img {
    box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.2s;
    }
    
    .gallery-item:hover img {
    box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.35);
    }
    
    .gallery-item {
        opacity: 0.7;
        border-radius: 10px;
        cursor: pointer;
        transition: 0.3s;
    }
    
    .gallery-item:hover {
        opacity: 1;
        transform: scale(1.1);
    }
    
    
    @keyframes zoomin {
        0% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.05);
        }
        100% {
            transform: scale(1);
        }
    }
    
    #modalImage {
        animation: zoomin 10s linear infinite;
        object-fit: contain; /* Stellt sicher, dass das Bild seine Proportionen beibehÃ¤lt */
        max-width: 100%; /* Stellt sicher, dass das Bild nicht breiter als der Modal-Container ist */
        height: auto; /* Stellt sicher, dass die HÃ¶he des Bildes automatisch angepasst wird */
    }
    
    #btn-back-to-top {
        position: fixed;
        bottom: 20px;
        right: 20px;
        display: none;
    }

    .gallery-item {
        width: 400px;
        height: 400px;
        object-fit: cover; /* Schneidet das Bild zu, ohne es zu verzerren */
        object-position: center; /* Zentriert das Bild innerhalb des Rahmens */
        border-radius: 8px; /* Optional: Beibehaltung der abgerundeten Ecken */
    }

    /* Media-Query fÃ¼r GerÃ¤te mit einer maximalen Breite von 799px und einer maximalen HÃ¶he von 599px */
    @media (width >= 768px) {
        .text-center {
            max-width: 100%;
        }
        .navbar-brand {
            display: none;
        }
    }
    
    /* GrÃ¶ÃŸere Bildschirme */
    @media (width >= 601px) {
        .member-title {
            font-size: 18px; /* GrÃ¶ÃŸere SchriftgrÃ¶ÃŸe fÃ¼r bessere Sichtbarkeit */
        }
        .gallery-item{
            width: calc(100% - 20px); /* 10px Abstand auf jeder Seite */
        }
    }
}