added classes and css code for the classes