@import url('https://fonts.googleapis.com/css2?family=Gruppo&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1pt;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Gruppo', cursive;
}

.bbb {
    border: solid red 2px;
}

.z-logo {
    z-index: 90 !important;
}

/*==============GALLERY==============*/


.grid-sizer {
    width: 25%;
    box-sizing:border-box;
}

.grid-item {
    width: 25%;
}

@media only screen and (max-width: 1536px) {
    grid-sizer {
        width: 33%;
    }

    .grid-item {
        width:33%;
    }
}

@media only screen and (max-width: 640px) {
    grid-sizer {
        width: 100%;

    }

    .grid-item {
        width:100%;
    }
}

/*scrollbar hide*/
/* Hide scrollbar for Chrome, Safari and Opera */
.sbh::-webkit-scrollbar {
    display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.sbh1 {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: transparent;
    z-index: 10;
    left: 0;
    min-width: 200px;
}

/* Klasa aktywna dla menu głównego */
.dropdown.active .dropdown-content {
    display: block;
}

/* Style dla podkategorii */
.subcategory-content {
    display: none;
    padding-top: 8px;
    padding-bottom: 8px;
}

/* Klasa aktywna dla podkategorii */
.category-item.active .subcategory-content {
    display: block;
}

/* Zmiana ikony po aktywacji */
.category-item.active .toggle-icon {
    content: "-";
}

/* Dla większych ekranów zachowaj hover */
@media (min-width: 1024px) {
    .dropdown:hover .dropdown-content {
        display: block;
    }

    .category-item:hover .subcategory-content {
        display: block;
    }

    .category-item:hover .toggle-icon {
        content: "-";
    }
}

/* Responsywność dla małych ekranów */
@media (max-width: 768px) {
    .dropdown-content {
        width: 100%;
        position: relative;
        max-height: 80vh;
    }
}
