fixed bug causing input to scroll with overflowing history
reordered declarations, changed single declarations to one line, and other small changes according to CSS best practices
move color and font-family to body
resolve firefox error where it was refreshing the page