#services > div {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(calc(20% - 10px), 1fr));
   gap: 10px;
}

@media only screen and (max-width: 600px) {
   #services > div {
      grid-template-columns: none
   }
}

@media only screen and (600px < width < 992px) {
   #services > div {
      grid-template-columns: repeat(auto-fit, minmax(calc(50% - 10px), 1fr));
   }
}