Keep input boxes from overflowing viewport

Small change to keep input fields within the window. This also adds styling to email input types.