add responsive styles for text container