How can I make my website adapt automatically?

You can see if there are influences within the web inspector of the browsers Dev tools.

Don’t be upset: it’s only code :).