Refactored index.html, main.css, script.js