creating styles for form validation