

.counters{
    position: absolute;
    top: 50px;
    width: 100%;
    height: 300px;
    background-color: rgb(46, 46, 46);
    margin-left: 0;
    margin-right: 0;
    display: flex;
    flex-direction: row; 
    align-items: center;
    justify-content: center;
}

.counter{
    background-color: white;
    width: 24%;
    height: 70%;
    margin-left: 2%;
    margin-right: 2%;
    border-radius: 16px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s ease;
}

.counter img{
    width: 35%;
    height: 40%;
    padding: 0;
    margin: 0;
}

.counter h1{
    margin: 5%;
    font-size: 3em;
    font-weight: 600;
    color: rgb(232, 180, 83);
    padding: 0;
}

.counter p{
    font-size: 1.3em;
    font-weight: 500;
    margin: 0;
    color: rgb(189, 188, 188);
}

.counter:hover{
    transform: translateY(-10px);
}

@media(max-width:800px){
    body{
         overflow-x: hidden;
    }
    .counters{
        height: 100%;
        align-items: flex-start;
        flex-wrap: wrap;
        padding-top: 35px;
        margin: 0;
    }
    .counter{
        width: 40%;
        height: 40%;
    }
}