restructuring html and updating css