refactored styles for header and footer