Need help with controlling containers with responsive layout!

Does anyone have any tips for controlling the the look of group tabs when you look at different screen sizes, all mine appear to be messy when I reduce the size of the screen!
Here are examples: