﻿.btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 30px;
    margin-top: 50px;
}

.btns>a {
    background: #1b8354;
    color: #FFF;
    display: block;
    padding: 10px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
}

.items-gallery {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.item-gallery {
    border: 1px solid #ddd;
    padding: 16px;
    border-radius: 8px;
}

.item-gallery a {
    display: block;
    height: 120px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 10px;
}

.item-gallery a>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-gallery span {
    color: #1b8354;
    font-weight: 500;
}

@media (min-width:576px) {
    .items-gallery {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .item-gallery a {
        height: 170px;
    }

}

@media (min-width:768px) {
    .items-gallery {
        grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    }

}

@media (min-width:992px) {
    .items-gallery {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

}

@media (min-width:1200px) {
    .items-gallery {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }

}