Added styles and refactored incorrect DOM structure