#services {
    margin-left: -5px;
    margin-right: -5px;
}

#services p {
    width: 16%;
    padding: 0 5px;
    display: inline-block;
    box-sizing: border-box;
}

#services p img {
    width: 100%;
}

#services .block-cols {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
}

@media all and (max-width: 400px) {
    #services p {
        width: 100%;
    }
}

@media (min-width: 601px) and (max-width: 1000px) {
    #services p {
        width: 33.33%;
    }
}
@media (min-width: 401px) and (max-width: 600px) {
    #services p {
        width: 50%;
    }
}