.gallery-body {
    column-count: 3;
    column-gap: 20px;
}

.gallery-item {
    display: block;
    width: 100%;
    height: 100%;
    margin-bottom: 5px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    background: #fff;
    break-inside: avoid;
}

.gallery-img {
    display: block;
    width: 100%;
    border-radius: 6px;
    height: 300px;
}
.img-height{
    min-height: 255px;
}
.gallery-text {
    color: #666;
    font-size: 16px;
    margin: 10px 10px 0 10px;
    padding-bottom: 10px;
}

.gallery-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.gallery-tab-item {
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    background: #fff;
    padding: 10px 15px;
    font-size: 16px;
    margin: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.3s ease-in-out;
}

.gallery-tab-item:hover {
    background: var(--color2);
    color: #fff;
}

.gallery-tab-item.active {
    background: var(--color1);
    color: #fff;
}


@media (max-width:767px) {
    .navbar-controll.d-flex {
        flex-direction: column;
    }

    .gallery-body {
        column-count: 2;
        column-gap: 15px;
    }

    .gallery-tabs {
        margin-top: 15px;
        margin-bottom: 20px;
    }

    .gallery-tab-item {
        padding: 8px 10px;
        font-size: 14px;
        margin: 5px;
    }

    .gallery-text {
        font-size: 14px;
    }
}