move styles into main.css, add html5 validate on some fields