updated css for better maintainability