.proyectos{
margin-bottom: 20px;
}
.counters {
padding: 3em 2em;
color: #EA5B0C;
text-align: center;

}

.counters .counter h3{
    color:#002856;
}
.counters > div {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4em 2em;
}

.counter {
    position: relative;
}

.counter h1 {
    font-size: 4em;
    margin-bottom: 0.5em;
}

.counter:not(:last-child)::before{
    content: '';
    background: #fff;
    position: absolute;
    width: 2px;
    height: 3em;
    top:50px;
    transform: translateY(-50%);
    right: -1em;
}

@media screen and (max-width:900px) and (min-width:501px){
    .counters > div {
        grid-template-columns: 1fr 1fr;
    }
    .counter:nth-child(2)::before{
        display: none;
    }
}

@media screen and (max-width:500px)
{
    .counters > div {
        grid-template-columns: 1fr;
        row-gap: 5em;
    }

    .counter:not(:last-child)::before {
        width:90%;
        height: 2px;
        top:initial;
        right:initial;
        bottom:-3em;
        left: 50%;
        transform:translateX(-50%);
    }
}


/*
.counter-wrapper{
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 0.1 rem;
    padding: 10rem 2%; /*para cambiar el tamaño del counter
    margin-top: 1rem;
    position: relative;
}

/*
.counter-wrapper::before{
    position: absolute;
    content: '';
    content: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background-color:#4DB7FE; /*define el coor del fondo del wrapper
    z-index: 1;
}

/*

.counter{
   text-align: center;   
   color: #EA5B0C;
   z-index: 2;
   position: relative;
}

.counter .text{
    color:black;
    position: relative;
}
.counter::before{
    position: absolute;
    content: '';
    bottom: -2rem;
    left: 50%;
    width: 20%;
    height: .2rem;
    background: #002856;
    border-radius: .5rem;
    -webkit-border-radius: .5rem;
    -moz-border-radius: .5rem;
    -ms-border-radius: .5rem;
    -o-border-radius: .5rem;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}
.counter .count{
    font-size: 4rem; /*define el tamaño del contador
    margin-bottom: 0.5 rem; 
    padding: 0 1rem; /* Ajustar el espacio interno 
}  


/*
.counter p{
    font-size: 1.5rem;
    font-family: 'Monserrat', sans-serif;
    font-weight: 700;
}




@media (max-width: 991px) {
    html{
        font-size: 55%;
    }
}
@media (max-width: 768px) {
   .counter-wrapper{
       grid-template-columns: repeat(2, 1fr);
       grid-row-gap: 5rem;
   }
}
@media (max-width: 450px) {
    html{
        font-size: 50%;
    }
    .counter-wrapper{
        grid-template-columns: 1fr;
    }
}

*/

