use media queries instead of JS to size text into boxes