- I've ran your code and test it in multiple screen sizes, and it doesn't represent the problem in the images, you're setting the flex-direction property of the .text-content element to column, I really cannot think of a way it will result in a row.
- Also, there's no second button, there is only one anchor tag but its text wraps.
(The second button isn‘t necessary anymore. :))