﻿@font-face {
    font-family: 'bmi';
    src: url(../Font/IRANSansWebFaNum-Light.eot?#) format('eot');
    src: url(../font/IRANSansWebFaNum-Light.woff) format('woff');
    src: url(../font/IRANSansWebFaNum-Light.ttf) format('truetype');
}

:root {
    --main-color: #5682b1;
}

.demo {
    background-color: #eee;
}

.counter {
    color: var(--main-color);
    font-family: 'bmi';
    text-align: center;
    width: 200px;
    height: 200px;
    padding: 72px 15px 45px;
    margin: 0 auto;
    border: 12px solid var(--main-color);
    border-radius: 50%;
    box-shadow: 0 0 12px rgb(0 0 0 / 30%);
    position: relative;
    z-index: 1;
}

    .counter .counter-value,
    .counter .counter-icon {
        color: #fff;
        background: var(--main-color);
        font-size: 27px;
        font-weight: 600;
        line-height: 80px;
        width: 80px;
        height: 80px;
        border-radius: 50%;
        display: inline-block;
        position: absolute;
        top: -16px;
        left: -7px;
    }

    .counter .counter-icon {
        font-size: 30px;
        line-height: 60px;
        width: 60px;
        height: 60px;
        top: auto;
        bottom: -12px;
        left: auto;
        right: -3px;
        transition: all 0.3s;
    }

    .counter h3 {
        font-size: 19px;
        font-weight: 600;
        text-transform: uppercase;
        margin: 0 0 10px;
    }

    .counter.orange {
        --main-color: #EC721F;
    }

    .counter.green {
        --main-color: #048006;
    }

    .counter.purple {
        --main-color: #BE2EDD;
    }

@media screen and (max-width:990px) {
    .counter {
        margin-bottom: 40px;
    }
}
