How can I optimize my form to react to both desktop and mobile screens?