/* @import url("cproj-global-vars.css"); */

/* 覆盖 odometer 默认字体，使用网站全局字体 */
.odometer.odometer-auto-theme,
.odometer.odometer-theme-default {
    font-family: var(--cproj-font-family) !important;
}

/* 修复 odometer 生成的 DOM 结构导致的对齐问题 */
.homeStatisticsPartition {
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.homeStatisticsPartition .odometer {
    display: inline-block;
}

.homeStatisticsPartition .homeSpanFont {
    display: inline-block;
    vertical-align: baseline;
}

.homeDigitalScrolling {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
    margin: 40px 0;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
}

.homeStatistics {
    display: flex;
    /* flex-wrap: wrap; */
    justify-content: center;
    flex-direction: row;
    align-items: center;
    padding: 0 12px;
    margin: 0;
    position: relative;
    flex: 1;
    text-align: center;
}

.homeStatistics:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    height: 80px;
    width: 1px;
    background-color: var(--cproj-color-black);
}

.homeSpanFont {
    /* font-size: 7rem; */
    font-size: 3vw;
    font-weight: 700;
    color: var(--cproj-color-primary);
    line-height: 1;
}

.statText {
    margin: 0 8px 0 10px;
    font-size: 1.5rem;
    line-height: 1.3;
    word-wrap: break-word;
}

@media only screen and (max-width: 1500px) {
    .homeStatistics {
        flex-direction: column;
    }

    .homeSpanFont {
        font-size: 4.5rem;
    }
}

@media only screen and (max-width: 1400px) {
    .homeSpanFont {
        font-size: 3.5rem;
    }
}

@media only screen and (max-width: 1300px) {
    .homeSpanFont {
        font-size: 3rem;
    }
}

@media only screen and (max-width: 991px) {
    .homeStatistics {
        padding: 0 10px;
    }
}

@media only screen and (max-width: 768px) {
    .homeSpanFont {
        font-size: 3rem;
    }

    .statText {
        font-size: 1rem;
    }
}

@media only screen and (max-width: 576px) {
    .homeSpanFont {
        font-size: 2rem;
    }

    .homeStatistics {
        padding: 0 8px;
    }

    .statText {
        margin: 0 5px 0 8px;
    }
}