There is a video playing in the background, with two sections overlaying it - one for sketches and the other for text. The issue I am facing is that when I resize the window, the text overflows. I have tried using Bootstrap and CSS (media queries, flex) but haven't found a solution yet.
I want the content to adapt to different screen resolutions without overflowing when the window size changes or when viewed on different devices.
Here is the output for larger screens:
And here is the output for smaller screens: