Refactors button groups scss file for media queries