.category_block {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    width: 100%;
    margin: 20px auto;
    gap: 20px 12px;
}

.category_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}

.category_item_ballon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 72px;
    height: 72px;

    border-radius: 50%;
    border: 1px solid #000;
    margin-bottom: 8px;

    padding: 8px;
    overflow: hidden;
}

.category_item_ballon img {
    display: block;
    width: 70%;
    height: 70%;

    object-fit: contain;
    object-position: center;
}

.category_item_text {
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 12px;
    line-height: 1.2;
    word-break: break-word;
}
.category_item:hover .category_item_text{
    text-decoration: underline;
}


@media (min-width: 768px) {
    .category_block {
        gap: 24px;
    }

    .category_item_ballon {
        width: 100px;
        height: 100px;
        padding: 10px;
    }

    .category_item_text {
        font-size: 14px;
    }
}

@media (min-width: 1024px) {
    .category_block {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 24px;
    }

    .category_item {
        flex: 1 1 0;
    }

    .category_item_ballon {
        width: 125px;
        height: 125px;
        padding: 14px;
    }
}