refactoring css styles