Because of some necessary parts of this concept, it's needed that the viewportratio is >=1:1 but also <=2:1.
When it isn't a value between 1:1 and 2:1, there should a div container fade in, where I have a text message in it. But when the viewport ratio is then corrected to a fitable value, it should fade out automatically.
This check should happen every time, when the Viewport dimension changes, not only when the page is loading.
Could someone help me with that problem?