Mobile responsive design

Thanks, not sure how to use style.gap, or any CSS for that matter in ignition...

Anyways, this is my current design with margins, which is made up of flex container, inside flex container, inside flex container etc.. Tried to set the outer flex to wrap, but on smaller screens it crashes and look terrible.

This is what it looks like when narrowing the screen:

What am I doing wrong? :confused: