Added a .mainwrapper class to stop flex box breaking the layout using headerwrapper