Change structure of main.css to make it easier to maintain