The font-size won't respond like this with the resizing of the browser window. Instead they respond to the browser zoom/type size settings, such as if you press ctrl and + together on the keyboard in the browser.

You would have to look at using media queries to reduce the font-size at certain intervals where it starts breaking your design and creating scrollbars.