.title-section {
    text-align: center;
}
.title-section .small {
    margin-top: 16px;
}
.gallery-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.img-gallery {
    width: 90%;
    margin: 64px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    grid-gap: 40px;
}
.img-gallery img {
    width: 100%;
    cursor: pointer;
    object-fit: cover;
    object-position: top;
    border-radius: 8px;
    transition: transform 0.5s;
}

.full-img {
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    visibility: hidden;
    opacity: 0;
}
.full-img .fullImg {
    border-radius: 8px;
}
.full-img div {
    position: absolute;
    height: 48px;
    width: 48px;
    border-radius: 50%;
    padding: 8px;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0.7;
    transition: opacity 0.5s;
    display: flex;
    justify-content: center;
    align-items: center;
}
.full-img div:hover {
    opacity: 1;
}
.full-img .close-button {
    top: 5%;
    right: 5%;
}
.full-img .prev-img-button {
    top: 50%;
    left: 10%;
}
.full-img .next-img-button {
    top: 50%;
    right: 10%;
}

.filters-wrapper {
    margin-top: 64px;
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 16px;
    align-self: center;
}
.filter-item {
    padding: 8px;
    border-radius: 32px;
    box-shadow: 0px 0px 3px 0px #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.filter-item:hover {
    cursor: pointer;
    background-color: #FFDAD4;
}
.filter-selected {
    background-color: #FFDAD4;
}

@media only screen {
    .img-gallery img:hover {
        opacity: 0.8;
        transform: scale(1.1);
    }
    .full-img {
        transition: visibility 0.5s, opacity 0.5s ease-out;
    }
}

@media (max-width: 1000px) {
    .full-img .prev-img-button {
        top: 50%;
        left: 16px;
    }
    .full-img .next-img-button {
        top: 50%;
        right: 16px;
    }
    .full-img .close-button {
        top: 16px;
        right: 16px;
    }
}
@media (max-width: 1150px) {
    .filters-wrapper {
        grid-template-columns: repeat(3, 1fr); 
    }
}
@media (max-width: 900px) {
    .filters-wrapper {
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 600px) {
    /* .full-img .fullImg {
        width: 100%;
        height: auto;
    } */
    .full-img .prev-img-button {
        left: 8px;
    }
    .full-img .next-img-button {
        right: 8px;
    }
    .filters-wrapper .xx-small {
        font-size: 16px;
        line-height: 24px;
        letter-spacing: 0.15px;
    }
}

@media (max-width: 600px) {
    .filters-wrapper .xx-small {
        font-size: 14px;
        line-height: 20px;
    }
    .filter-item {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}