#service {
    position: relative;
}

@media (min-width: 1024px) {
    #service {
        padding: 50px 20px 100px;
    }
}

.service-card-wrapper {
    height: fit-content;
    width: 100%;
    background-color: var(--smooth-white-color);
    padding: 20px;
}

.menu-wrapper {
    display: grid;
    grid-template-columns: auto auto auto auto auto;
    gap: 15px;
}
.card-menu {
    height: 135px;
    width: 135px;
    background-color: white;
    display: flex;
    align-items: center;
    padding: 20px 10px;
    flex-direction: column;
    gap: 0.5em;
    border: 1px solid var(--smooth-border-color);
    box-shadow: 0px 0px 20px 2px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    transition: all 0.3s;
}

.card-menu:hover {
    background-color: var(--font-color);
    border-radius: 4px;
}

.card-menu:hover p {
    color: white;
}

.card-menu img {
    height: 50px;
    width: 50px;
    align-self: center;
}

.card-menu p {
    font-size: 13.33px;
    font-weight: 600;
    margin: 0;
}

@media (max-width: 780px) {
    .service-card-wrapper {
        background-color: white;
        padding: 20px 5px;
    }

    .card-menu {
        height: 80px;
        width: 80px;
        padding: 10px 8px;
        box-shadow: none;
        gap: 0.2em;
    }

    .card-menu p {
        font-size: 9px;
        font-weight: 600;
        margin: 0;
    }

    .card-menu img {
        height: 30px;
        width: 30px;
        align-self: center;
    }

    .menu-wrapper {
        grid-template-columns: auto auto auto auto;
        gap: 5px;
    }
}

@media (min-width: 780px) and (max-width: 1280px) {
    .service-card-wrapper {
        background-color: white;
        padding: 20px;
    }

    .card-menu {
        height: 120px;
        width: 120px;
        padding: 10px 8px;
        box-shadow: none;
    }

    .card-menu img {
        height: 40px;
        width: 40px;
    }

    .card-menu p {
        font-size: 12px;
        font-weight: 600;
        margin: 0;
    }

    .menu-wrapper {
        grid-template-columns: repeat(5, auto);
        gap: 10px;
    }
}
