Hello
I have the below app that will be userd in both web and mobile, the 2 cards on top should be reordered when the app is used on the mobile

I want the white and colored cards to shrink not resize, by shrink I mean like you shrink an image, all the component withen this container will remain in the same locations in relation to each other, as the below screenshot shows, I successfuly managed to reorder the cards based on the screen size and fix the card size if the screen width is below 400
how can I manage to shrink the control and all its controls? I don't want to manage each control seperatly, I think there should be a way to handle this use case

and thanks