@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.wrapper h3{
    font-size: 42px;
    font-weight: 500;
    letter-spacing: 0px;
    color: #1b1b1b;
    padding: 1px;
    text-transform: uppercase;
    display: flex;
    margin: 0px;
    position: relative;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
    text-decoration: none;
    justify-content: center;
    background: rgb(240, 237, 237);
}
.counter-up{
    min-height: 5vh;
    display: flex;
    align-items: center;
    padding: 0 50px;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    top: 0px;
}

.counter-up::before{
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 115%;
    width: 100%;
    background: rgb(240, 237, 237);
}

.counter-up .content-sm{
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    height: 100%;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-left: 40px;
}
 .content-sm .box{  
    width: calc(25% - 30px);
    /* border: 1px dashed rgba(255, 255, 255, 0.6); */
    border-radius: 5px;
    padding: 20px;
    display: inline-block;
    align-items: center;
    justify-content: space-evenly;
    color: #000;
    flex-direction: column;
    border-radius: 5px;
}

.content-sm .box .num{
    font-size: 18px;
    color: #ccc;
    margin-bottom: 45px;
    margin-top: 0px;
}

.content-sm .box .counter{
    font-size: 50px;
    color: #000;
    font-weight: 500;
    font-family: sans-serif;
    font-weight: 650;
}

.content-sm .box .text{
    color: #155fac;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
}


@media (max-width: 1036px){
    .counter-up{
        padding: 50px 50px 0 50px;
       
    }
    .content-sm .box  {
        width: calc(50% - 30px);
        margin-bottom: 50px;
    }
}

@media (max-width: 580px){
    .content-sm .box{
        width: 100%;

    }

}




/* 
 *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: 0.2s linear;
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s linear;
    -ms-transition: 0.2s linear;
    -o-transition: 0.2s linear;
 }

 html{
    font-size: 62.5%;
    scroll-behavior: smooth;
 }
 body{
    font-family: 'Merriweather',sans-serif;
    min-height: 100vh;
}

.counter-wrapper{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 10rem 9%; */
    /* margin-top: 5rem; */
    /* position: relative;
    background-color: #e6e6e6;
}

.counter-wrapper::before{
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;   
}

.counter{
    display: inline-block;
    text-align: center;
    color: #1b1b1b;
    z-index: 2;
    position: relative;
}

.counter::before{
    display: inline-block;
    position: absolute;
    content: '';
    bottom: -2rem;
    left: 50%;
    width: 20%;
    height: .4rem;
    background: #155fac;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
 }

 .counter .count{
    font-size: 5rem;
    margin-bottom: 1rem;
 }

 .counter p{
    font-size: 1.4rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: #155fac;

}

@media(max-width: 991px){
    html{
        font-size: 55%;
    }
}
@media (max-width:768px) {
    .counter-wrapper{
        grid-template-columns: repeat(2, 1fr);
        grid-row-gap: 8rem;
    }
}
@media (max-width:450px){
    html{
        font-size: 50%;
    }
    .counter-wrapper{
        grid-template-columns: 1fr;
    }
} */