update media queries, add form validation