added media query to the css for smaller screen sizes.