updated css for error message and added stylesheet

updated css for error message and added stylesheet for media query