.counter{
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    text-align: center;
    width: 210px;
    height: 210px;
    padding: 50px 30px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.counter:before{
    content:"";
    background: linear-gradient(to right,#07e0eb,#1881db);
    width: calc(100% - 45px);
    height: calc(100% - 45px);
    border-radius: 25px;
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
}
.counter .counter-icon{
    background: linear-gradient(to right,#07e0eb,#1881db);
    font-size: 30px;
    text-align: right;
    line-height: 30px;
    width: 85px;
    padding: 5px 10px 5px 0;
    position: absolute;
    top: 10px;
    right: 0;
    z-index: -2;
}
.counter .counter-value{
    font-size: 60px;
    font-weight: 600;
}

.counter .counter-text{
    font-size: 60px;
    font-weight: 600;
}

.counter h3{
    font-size: 23px;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 25px;
    text-transform: capitalize;
    margin: 16px;
    color: #fff;
}
.counter.green:before{ background: linear-gradient(to right,#8b9163,#676B46); }
.counter.green .counter-icon{ background: #676B46; }
.counter.pink:before{ background: linear-gradient(to right,#fd79a8,#e84393); }
.counter.pink .counter-icon{ background: #e84393; }
.counter.blue:before{ background: linear-gradient(to right,#1da1ad,#0F747C); }
.counter.blue .counter-icon{ background: #0F747C; }
@media screen and (max-width:990px){
    .counter{ margin-bottom: 40px; }
} 