/* SEVENTH SECTION */

.numbers_dark {
    background: no-repeat center center/cover;
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .numbers_light {
    background: center center/cover;
    background-size: 120%;
    padding-top: 60px;
    padding-bottom: 40px;
  }

.numbers_section-container {
    display: flex;
     gap: 281px;
}

.numbers_heading-row {
    display: flex;
    gap: 16px;
    margin-left: 181px;
}

.number_card {
    background-image: url(../../img/number-card.png);
    height: 397px;
    padding: 90px;
    max-width: 648px;
    margin-bottom: 24px; 
    position: relative;
    flex: 1 1 calc(50% - 16px);
}

.number_rectangle {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 13px;
    height: 13px;
    background-color: var(--white);
}

.number_card-order {
    position: absolute;
    top: 15px;
    left: 15px;
    font-family: 'Impact Cyr';
    font-weight: normal;
    font-size: 20px;
    line-height: 36px;
    color: #fff;
}

.numbers_cards {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 1320px;
    justify-content: flex-end;
    margin-left: auto;
}

.number_card-heading {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    margin-bottom: 40px;
}

.number {
    font-family: 'Impact Cyr';
    font-weight: normal;
    font-size: 150px;
    color: var(--white);
    line-height: 100px;
    white-space: nowrap;
}

.number .highlighted {
    color: var(--primary-yellow);
}

.number_caption {
    font-family: 'Impact Cyr';
    font-size: 24px;
    color: var(--white);
    font-weight: normal;
}

.number_card-text {
    font-family: 'Helvetica Neue Light';
    font-size: 16px;
    color: var(--white);
    line-height: 22px;
    text-align: justify;
}

@media (max-width: 1919px) {
    .numbers_cards {
        max-width: 1000px;
    }

    .number_card {
        padding: 55px;
        height: 300px;
        max-width: 490px;
    }

    .number {
        font-size: 112px;
    }

    .number_caption {
        font-size: 20px;
    }

    .number_card-text {
        font-size: 14px;
        line-height: 16.5px;
    }

    .number_card-heading {
        margin-bottom: 30px;
    }

    .number_card-order {
        font-size: 15px;
        line-height: 27px;
    }

    .number_rectangle {
        width: 10px;
        height: 10px;
    }

    .numbers_heading-row {
        margin-left: 140px;
    }

    .numbers_section-container {
        gap: 115px;
    }
}

@media (max-width: 1280px) {
    .numbers_cards {
        max-width: 735px;
        gap: 13px;
    }

    .number_card {
        height: 253px;
        padding: 40px;
        margin-bottom: 0px;
        max-width: 360px;
    }

    .number {
        font-size: 82px;
        line-height: 82px;
    }

    .number_caption {
        font-size: 14px;
    }

    .number_card-text {
        font-size: 12px;
        line-height: 16px;
    }

    .number_card-heading {
        margin-bottom: 20px;
    }

    .numbers_section-container {
        justify-content: flex-end;
    }

    .numbers_heading-row {
        margin-left: 56px;
    }
}

@media (max-width: 767px) {
    .numbers_section-container {
        justify-content: flex-start;
    }

    .numbers_cards {
        max-width: 100%;
        gap: 10px;
    }

    .number_card {
        height: 200px;
        padding: 25px;
        max-width: 100%;
        flex: 1 1 100%; 
    }

    .number {
        font-size: 64px;
        line-height: 64px;
        flex: 1 1 50%;
    }

    .number_caption {
        flex: 1 1 50%;
    }

    .number_card-text {
        font-size: 10px;
        line-height: 12px;
    }

    .number_card-heading {
        margin-bottom: 25px;
        gap: 5px;
    }
    
    .numbers_heading-row {
        margin-left: 0;
        flex-direction: column;
        gap: 0px;
    }

    .numbers_heading-row .highlighted {
        align-self: flex-end;
    }

    .number_card-order {
        font-size: 10px;
        line-height: 22px;
        top: 8px;
        left: 14px;
    }

    .number_rectangle {
        width: 6px;
        height: 6px;
        top: 13px;
        right: 26px;
    }
}

