changed margins to use em rather than px