refactoring of main.css and index.html
major refactoring to main.css and completed layot of index.html