Refactor HTML and CSS-Sass code