:root {
    --info-stats-header-top-pad: 70px;
    --info-stats-background: #F3F3F3;
    --info-stats-blocks-top-margin: 50px;
    --info-block-padding: 23px;
    --info-block-background: #5000A0;
}

.info-stats-heading p,
.stats-download a {
    font-family: 'Adieu-Regular';
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 26px;
    /* identical to box height, or 186% */
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 0;
    text-decoration: none;
}

.info-stats-subheading {
    margin-top: 28px;
}

.info-stats-subheading p {
    font-family: 'AvenirNext LT Pro';
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    line-height: 25px;
    color: #2B2B2B;
    margin-bottom: 0;
}

.info-stats {
    background-color: var(--info-stats-background);
    padding-top: var(--info-stats-header-top-pad);
    /* padding-bottom: var(--info-stats-header-top-pad); */
    border-top-right-radius: 40px;
    border-bottom-right-radius: 40px;
    border-bottom-left-radius: 40px;
}

.stats-blocks {
    margin-top: var(--info-stats-blocks-top-margin);
}

.stat-block {
    padding: var(--info-block-padding);
    /* background-color: var(--blue); */
    border-radius: 30px;
    background: linear-gradient(var(--blue), var(--blue) 50%, var(--orange) 50%, var(--orange));
    background-size: 100% 200%;
    /*trasition effect for background*/
    transition: all 1s;
    margin-top: 10px;
    overflow: hidden;
    min-height: fit-content;
}

.stat-block:hover {
    /* background-color: var(--orange);
    background-position: 100% 100%; */
    cursor: pointer;
}

.stat-block-active {
    background-position: 100% 100%;
}

.stat-heading {
    padding-top: 10px;
}

.stat-top-heading {
    padding-bottom: 10px;
}

.stat-top-heading p,
.stat-heading p {
    font-family: 'Adieu-Regular';
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 18px;
    /* or 214% */
    text-transform: uppercase;
    color: #FFFFFF;
}

.stat-info p {
    font-family: 'AvenirNext LT Pro';
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    color: #FFFFFF;
    margin-bottom: 0;
    word-break: break-word;
}

.stats-blocks .row>* {
    padding-top: 10px;
}

.stats-download {
    padding-top: var(--info-stats-header-top-pad);
    padding-bottom: var(--info-stats-header-top-pad) / 2;
}

.stat-info {
    max-height: 0;
    opacity: 0;
    transition: all 0.9s;
}

.stat-info-active {
    opacity: 1;
    max-height: 100vh;
}

.stat-block-active {
    max-height: 100vh;
}

.stat-full-height {
    height: 100%;
}

@media only screen and (min-width: 768px) {
    .info-stats-heading p,
    .stats-download a {
        font-size: 20px;
        line-height: 30px;
    }
    .info-stats-subheading p {
        font-size: 22px;
        line-height: 30px;
    }
    .stat-top-heading p,
    .stat-heading p {
        font-size: 18px;
        line-height: 30px;
    }
    .stat-info p {
        font-size: 16px;
        line-height: 22px;
    }
    .stat-block {
        max-height: 400px;
    }
    .stat-block-active {
        max-height: 100vh;
    }
}

.stats-link a:hover {
    cursor: pointer;
}