refactored css id and class styling