Added flexbox for main content.