used media queries to fit text inputs on smaller screens