Refactored the content and nav styling