changes html and refactors css