refactor css for mobile first approach