refactoring css structure