refactored css to use variables for colors