CSS refactor

refactor huge nest