Refactor css to use classes, removed inline styles