updated to handle window resizes for responsive font sizing and text areas etc.