Calculate font-size depending on the window size.