.counter {
    padding: 20px 0px;
}

.counter-div {
    display: grid;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.counter-box {
    background: var(--secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 15px;
}

.counter-box h4 {
    font-weight: var(--fw-xxl);
    color: var(--red);
    margin-bottom: 5px;
    font-family: var(--secondary-font);
}

.counter-box h6 {
    font-weight: var(--fw-xl);
    color: var(--red);
    margin-bottom: 0px;
    font-family: var(--secondary-font);
}

@media screen and (min-width: 1098px) {

    /* Counter */
    .counter-div {
        width: 85%;
        grid-template-columns: repeat(4, 1fr);
    }

    .counter-box {
        width: 125px;
    }

    .counter-box h4 {
        font-size: 30px;
    }

    .counter-box h6 {
        font-size: 20px;
    }

}

@media screen and (min-width: 767px) and (max-width: 1098px) {

    /* Counter */
    .counter-div {
        width: 90%;
        grid-template-columns: repeat(4, 1fr);
    }

    .counter-box {
        width: 150px;
    }

    .counter-box h4 {
        font-size: 25px;
    }

    .counter-box h6 {
        font-size: 18px;
    }

}

@media screen and (max-width: 767px) {

    /* Counter */
    .counter-div {
        width: 95%;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .counter-box {
        width: 100px;
    }

    .counter-box h4 {
        font-size: 25px;
    }

    .counter-box h6 {
        font-size: 16px;
    }

}