refactor css for case to make it easier to move