.stats_section{
    width: 100%;
    height: fit-content;
    padding-bottom: 100px;
}

/* --- Stats container --- */

.stats_container{
    width: 100%;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

/* source text */

.source_text{
    width: 400px;
    margin-top: 80px;
    margin-left: auto;
    margin-right: auto;
    font-size: 12px;
    line-height: 1.8;
    text-align: center;
    color: var(--text3);
}

/* --- Stats --- */

@keyframes statsAppear {
    from {
        opacity: 1;
        transform: translateY(60px) scale(0.5);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.stats{
    width: 50%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    border-radius: 14px;
    background: var(--component);
    animation: statsAppear both;
    animation-timeline: view();
    animation-range: entry 10% cover 35%;
}

/* title */

.stats p:first-of-type{
    font-size: 22px;
    color: var(--text1);
}

.stats p:first-of-type span{
    font-size: 28px;
}

/* text */

.stats p:last-of-type{
    width: 240px;
    font-size: 12px;
    text-align: center;
    color: var(--text2);
}

/* --- Media --- */

@media screen and (max-width: 650px) {
    
    .stats_section{
        padding-bottom: 80px;
    }

    /* --- Stats container --- */

    .stats_container{
        flex-direction: column;
    }

    /* source text */

    .source_text{
        width: 80%;
    }

    /* --- Stats --- */

    .stats{
        width: 100%;
    }

}