.counter-background {
    margin: 0 auto;
}

.counter-content {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.counter-title {
    max-width: 494px;
    margin-bottom: var(--spacing-small);
}

.counters-grid {
    display: flex;
    max-width: 1130px;
    height: 466px;
    margin: 0 auto;
    border: 1px solid #1A1A1A;
}

.counter-col {
    display: flex;
    flex: 1;
}

.counter-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.counter-left-col .counter-item,
.counter-right-col .counter-item {
    justify-content: space-between;
}

.counter-icon {
    align-self: flex-end;
}

.counter-mid-col.counter-col.flex-col {
    border-left: 1px solid #1A1A1A;
    border-right: 1px solid #1A1A1A;
}

.counter-mid-col.counter-col.flex-col .counter-item:first-child {
    border-bottom: 1px solid #1A1A1A;
}

.counter-left-col .counter-item {
    padding: 50px 42px 22px 37px;
}

.counter-mid-col .counter-item {
    padding: 30px 47px 28px 23px;
}

.counter-right-col .counter-item {
    padding: 40px 50px 27px 22px;
}

.counter-text {
    font-family: 'Roboto';
    font-weight: 500;
    font-size: clamp(18px, 4vw, 21px);
    line-height: 98%;
}

.counter-number {
    font-family: 'Roboto';
    font-weight: 900;
    font-size: clamp(40px, 7.66vw, 80px);
    line-height: 98%;
}

.counter-content-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.counter-mid-col .counter-item:first-child .counter-content-group {
    margin-top: -25px;
}

@media (max-width: 992px) {
    
    .counters-grid {
        max-width: 100%;
        display: flex ;
        flex-direction: column;
        height: auto;
    }

    .counter-background {
        display: none;
    }

    .counter-content {
        position: static;
    }

}