centering content on the page and changing layout of main_nav