simplifying the CSS code