refactored html and css