For very narrow screens, I suggest the following changes.
<meta name="viewport" content="width=device-width, initial-scale=1.75, maximum-scale=1.75">
Demo
I tried everything and it works fine on my local Firefox on Ubuntu, when asking a narrow screen, and it works fine on Firefox on my Android that has a narrow screen too.
![Capture d’écran_2021-02-23_09-26-43](https://user-images.githubusercontent.com/11994719/108819731-7d82f280-75bb-11eb-92ea-768826142099.png)
Try it
If you want to try the current version, you can do so here.
However, as you can see, it displays poorly on large screens.
My changes are not so smart (yet) about being responsive, and it implements all these changes regardless of the size of the screen (ie, no use of CSS @media screen (max-width 650px)
, just manual modification of the HTML).
My main problem was that I don't how to dynamically switch from container horizontal
to container vertical
based on screen width. I'm not a very good CSS designer, sorry!