Refactored CSS Code