refactor main.css