Update main.css

Clean css code and add media queries