/* COLORES PRINCIPALES */
:root {
    --colorPrimary: #696cff;
}

/* Cuadros de estadisticas */
.counter {
    font-family: 'Rubik', sans-serif;
    text-align: center;
    padding: 0 25px 7px 0;
    position: relative;
    z-index: 1;
    transition: .3s transform cubic-bezier(.155, 1.105, .295, 1.12), .3s box-shadow, .3s -webkit-transform cubic-bezier(.155, 1.105, .295, 1.12);
    cursor: pointer;
}

.counter:hover {
    transform: scale(1.05);
}

.counter:before {
    content: '';
    background-color: rgb(228, 228, 228);
    position: absolute;
    left: 15px;
    right: 0;
    top: 25px;
    bottom: 0;
    z-index: -1;
    box-shadow: 0 6px 10px rgba(0, 0, 0, .08), 0 0 6px rgba(0, 0, 0, .05);
}

.counter .counter-content {
    color: #fff;
    background: linear-gradient(#9c9ef3, #373afa);
    padding: 20px;
    margin: 0 0 12px;
    border-radius: 10px 0 10px 10px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
    position: relative;
}

.counter .counter-content:before {
    content: '';
    background: linear-gradient(to top right, var(--colorPrimary) 49%, transparent 53%);
    height: 25px;
    width: 15px;
    position: absolute;
    right: -15px;
    top: 0;
}

.counter .counter-icon {
    font-size: 40px;
    margin: 0 0 10px;
}

.counter h3 {
    color: #333;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0 0 5px 20px;
}

.counter .counter-value {
    font-size: 30px;
    font-weight: 600;
}

.counter .counter-value2 {
    font-size: 30px;
    font-weight: 600;
}

.counter.blue .counter-content {
    background: linear-gradient(#00A5E7, #0C5EAA);
}

.counter.blue .counter-content:before {
    background: linear-gradient(to top right, #0C5EAA 49%, transparent 53%);
}

.counter.green .counter-content {
    background: linear-gradient(#A2DE06, #6EAA16);
}

.counter.green .counter-content:before {
    background: linear-gradient(to top right, #6EAA16 49%, transparent 53%);
}

.counter.yellow .counter-content {
    background: linear-gradient(#F9C301, #E68010);
}

.counter.yellow .counter-content:before {
    background: linear-gradient(to top right, #E68010 49%, transparent 53%);
}

@media screen and (max-width:990px) {
    .counter {
        margin-bottom: 40px;
    }
}