Css optimization for roughly 400 lines of code