changed css to use classes