Update main.css

Fixed problem which caused hidden footers to poke out the sides and spill out of the bottom of the page.