Updated CSS and HTML to use classes instead of IDs