Is there any way that the text sizes adapt according to the screen size and work responsively?

Yes, there is a specific option for it that defines what size is displayed depending on the screen size.
For the "Stylable and multiline text" it is found here (option "resizable text"):

And in the case of info windows, we have that same option here: