updated styles and refactored html