How to apply global styles to nexted containers?

I have a container inside a container and now I wonder if it’s possible to style both via global styles in one container element? Or need to create 2 container elements in Global Styles section for achieving this?
Thank you in advance and kind regards,

You need to create a separate global style for each container