move style to main.css and apply some formatting