.abс-block {
    background: url(/img/wall/01.jpg) no-repeat 50% 50% / cover;
}

.abс-block__abc-wrapper {
    grid-template-columns: repeat(8, 1fr);
}

.abс-block__abc {
    background-color: white;
    aspect-ratio: 1 / 1;
    font-size: 3.2vw;
    padding: 20%;
    border: 2px solid black;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    color: #333 !important;
}

.abс-block__abc:hover {
    border: 2px solid #739BF2;
}

.abс-block__abc:active {
    border: 2px solid #739BF2;
    color: #739BF2;
}

.abс-block__buttons {
    cursor: pointer;
}

.abс-block__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.abс-block__buttons button {
    padding: 10px 28px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    background: var(--color01);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: inherit;
    white-space: nowrap;
}

.abс-block__buttons button:hover {
    background: #739BF2;
    transform: translateY(-1px);
}

.abс-block__buttons button:active {
    transform: translateY(0px);
}

.abс-block__buttons button.active {
    background: #739BF2;
    color: #fff;
}

@media (max-width: 1200px) {
    .abс-block__abc-wrapper {
        grid-template-columns: repeat(7, 1fr);
    }

    .abс-block__abc {
        font-size: 4.6vw;
    }
}

@media (max-width: 992px) {
    .abс-block__abc-wrapper {
        grid-template-columns: repeat(6, 1fr);
    }

    .abс-block__abc {
        font-size: 5.6vw;
    }
}

@media (max-width: 768px) {
    .abс-block__abc-wrapper {
        gap: 5px !important;
    }
}

@media (max-width: 576px) {
    .abс-block__abc-wrapper {
        grid-template-columns: repeat(5, 1fr);
    }

    .abс-block {
        padding: 10px !important;
    }

    .abс-block__abc {
        font-size: 8.6vw;
    }

    .abс-block__buttons button {
        flex: 1;
    }
}