Refactor main.css