Reduced number of lines in CSS code in HTML-CSS Assignement 3