#devis {
    padding-bottom: 0;
}

.box img {
    justify-self: center;
    margin-bottom: 0;
    width: 100%;
    height: auto;
}

.box {
    transition: 0.5s;
}

.box:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    font-weight: 600;
    border-color: white;
    transform: scale(1.1);
}

/* TABLET */

@media (max-width: 768px) {
    #devis .categories-list {
        grid-template-columns: 1fr 1fr;
    }
}

/* PHONE*/

@media (max-width: 630px) {
    #devis {
        padding: 100px 32px;
        padding-bottom: 0;
    }
    .box {
        width: 100%;
        height: 250px;
        padding: 0 15px;
    }
    .box img {
        width: 100%;
        height: auto;
        max-height: 100%;
    }
}

@media (max-width: 500px) {
    #devis .categories-list {
        grid-template-columns: 1fr;
    }
}