:root {
    --statsSpacing: 30px;
    --statsFontSize: 45px;
}

/* GENERAL */

#stats {
    background-color: #FFF;
}

#statsHeadings {
    width: 100%;
    text-align: center;
    height: fit-content;
}

#stats h2 {
    font-family: 'Playfair Display';
    font-weight: 700;
    margin: auto;
    color: var(--text);
}

#stats h6 {
    font-weight: 400;
    margin: auto;
    color: #556B69;
}

#statistics {
    height: fit-content;
}

.stat {
    text-align: center;
}

.statNumber {
    font-family: 'Playfair Display';
    color: #001412;
    font-weight: 600;
}

.statText {
    color: #001412;
}

#statsMask {
    width: 80vw;
    margin: auto;
    overflow: hidden;
    background-image: url(../images/landscape.webp);
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: bottom center;
    transition: all 1s ease-out;
}

@media screen and (max-width: 600px) {
    #stats {
        padding: 20vw 0 14vw;
    }

    #stats h2 {
        font-size: 10vw;
        width: 90vw;
    }
    
    #stats h6 {
        font-size: 4vw;
        width: 90vw;
        height: fit-content;
        margin: 6vh auto;
    }
    
    #statistics {
        width: 70vw;
        margin: 8vw auto;
        display: block;
    }

    .stat {
        height: fit-content;
        margin: 12vw 0;
    }

    .statNumber {
        font-size: 10vw;
    }

    .statText {
        font-size: 4vw;
    }

    #statsMask {
        height: 75vw;
    }
}

@media screen and (min-width: 600.01px) and (max-width: 767px) {
    #stats {
        padding: 20vw 0 14vw;
    }

    #stats h2 {
        font-size: 5.5vw;
        width: 90vw;
    }
    
    #stats h6 {
        font-size: 2.5vw;
        width: 90vw;
        height: fit-content;
        margin: 6vh auto;
    }
    
    #statistics {
        width: 70vw;
        margin: 12vw auto;
        display: block;
    }

    .stat {
        height: fit-content;
        margin: 10vw 0;
    }

    .statNumber {
        font-size: 8vw;
    }

    .statText {
        font-size: 3vw;
    }

    #statsMask {
        height: 75vw;
    }
}

@media screen and (min-width: 767.01px) and (max-width: 991.98px),
       screen and (min-width: 991.98px) and (max-width: 1024.98px) and (orientation: portrait) {

    #stats {
        width: 100vw;
        padding: 15vw 0 10vw;
    }

    #stats h2 {
        font-size: 4.5vw;
        width: 70%;
    }
    
    #stats h6 {
        font-size: 1.9vw;
        width: 80%;
        margin: auto;
        margin-top: 7vw;
    }
    
    #statistics {
        width: 70vw;
        margin: 10vw auto 5vw;
        display: flex;
        flex-wrap: wrap;
    }

    .stat {
        width: 50%;
        margin-bottom: 7vw;
    }

    .statNumber {
        font-size: 5vw;
    }

    .statText {
        margin-top: 1vw;
        font-size: 2vw;
    }

    #statsMask {
        height: 50vw;
    }
}

@media screen and (min-width: 992px) and (max-width: 1024.98px) and (orientation: landscape),
       screen and (min-width: 1025px) {

    #stats {
        padding: 120px 0 70px;
    }

    #stats h2 {
        font-size: 42px;
        width: 50%;
    }
    
    #stats h6 {
        font-size: 14px;
        width: 60%;
        height: 50px;
        margin: auto;
        margin-top: 40px;
    }
    
    #statistics {
        width: 75%;
        margin: 50px auto;
        display: flex;
        justify-content: space-between;
    }

    .stat {
        height: 100px;
        margin: 0 var(--statsSpacing);
    }

    .statNumber {
        font-size: var(--statsFontSize);
    }

    .statText {
        font-size: 14px;
    }

    #statsMask {
        height: 500px;
    }
}

