Improved email validation and separated css from index.html.