body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
}

 
 
.gallery {
    display: flex;
    flex-wrap: wrap; /* Zapewnia przewijanie elementów w przypadku braku miejsca */
    justify-content: space-between; /* Rozłoży elementy w równych odstępach między sobą */
    padding: 10px; /* Dodajmy wypełnienie dla kontenera galerii */
}

 
.gallery-item {
   
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: calc(25% - 10px); /* Szerokość elementu to 25% szerokości rodzica minus odstęp */
    margin-bottom: 20px; /* Odstęp między elementami */
    box-sizing: border-box; /* Zawartość i wypełnienie są wliczone w szerokość i wysokość */
}

.gallery-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1100px;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 36px;
    color: #fff;
    cursor: pointer;
}
 
 
.navigation-buttons {
    display: flex;
    justify-content: center;
    margin-top: 20px; /* Dodaj odstęp od góry */
}

#prev-btn, #next-btn {
    background-color: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin: 0 10px; /* Dodaj odstęp między przyciskami */
}

#prev-btn:hover, #next-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}
.category-dropdown {
    text-align: center;
    margin-bottom: 20px;
}

#category-select {
    padding: 10px;
    font-size: 16px;
}

/* Szerokość strony */

        /* Dopasowanie obrazka do szerokości strony */
        .img-fluid {
            width: 100%;
        }

        /* Kolor tła stopki */
        .jumbotron-footer {
            background-color: #f8f9fa;
            /* Kolor tła */
            margin-top: 20px;
            /* Dodatkowy margines od góry */
            padding: 20px 0;
            /* Wewnętrzny padding */
        }

        /* Styl CSS */
        .website-name {
            margin-right: 10px;
            /* Margines od prawej strony, aby oddzielić od tagline */
        }

        .tagline {
            font-size: 18px;
            /* Dodatkowe style dla czytelności */
            align-self: center;
            /* Wyśrodkowanie w pionie */
        }

        /* Styl CSS */
        .container {
            max-width: 1140px;
            /* Maksymalna szerokość kontenera */
            margin: auto;
            /* Wyśrodkowanie kontenera */
            background: #211d1e;
            /* Ciemniejszy kolor tła */
            padding: 20px;
            /* Dodatkowy padding */
            border: 1px solid #666;
            /* Ramka */
            border-radius: 10px;
            /* Zaokrąglenie rogów ramki */
        }

        .bg-light {
            background-color: #000 !important;
        }

        .jumbotron,
        .jumbotron-footer {
            background-color: #211d1e !important;
        }

        .container {
            font-family: 'Roboto', sans-serif;
            color: #fff;
        }

        p {
            padding: 0 20px;
            line-height: 1.6em;
        }

        /* Kolor tekstu w stopce */
        .jumbotron-footer p {
            color: #fff;
        }

        /* Dodajemy styl dla kontenera galerii z przewijaniem */
        .gallery-container {
            max-height: 1200px;
            /* Ustaw maksymalną wysokość kontenera galerii */
            overflow-y: auto;
            /* Dodaj pionowy przewijanie w razie potrzeby */
        }