refactored css to use mixins