add display flex and @media size for title and menu