Used flexbox to improve responsiveness.