.tab-btn {
    padding: 1px;
    margin: 5px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
}

.tab-btn p {
    font-size: 14px;
    background-color: white;
    padding: 4px 20px;
    clip-path: polygon(13px 0%, calc(100% - 13px) 0%, 100% 50%, calc(100% - 13px) 100%, 13px 100%, 0% 50%);
}

.tab-btn p.active,
.tab-btn p:hover {
    color: white;
    background-color: var(--secondary-color-dark);
}
.tab-filter select {
    cursor: pointer;
    font-size: 14px;
    max-width: 240px;
}

.nothing {
    display: none;
    max-width: 260px;
}

.gallery-tab {
    display: flex;
}

.gallery-tab .g-img {
    max-width: 50%;
    padding: 0.4rem;
}

.g-img img {
    height: 100%;
    object-fit: cover;
    object-position: center;
}


@media screen and (min-width: 549px) {
    .tab-list {
        display: flex;
    }

    .tab-filter {
        display: none;
    }
}

@media screen and (min-width: 768px) {
    .gallery-tab .g-img {
        max-width: 25%;
    }
}

@media screen and (min-width: 1200px) {
    .gallery-tab .g-img {
        max-width: 20%;
        padding: 0.5rem;
    }
}

@media screen and (min-width: 1920px) {
    .gallery-tab .g-img {
        max-width: 16.666667%;
    }
}

@media screen and (max-width: 548.5px) {
    .tab-list {
        display: none;
    }

    .tab-filter {
        display: flex;
    }

    .tab-filter select {
        max-width: 220px;
    }
}