I am currently using Twitter-Bootstrap 4.1 to design a website. One of the components I have is a jumbotron that features a background image covering 75% of the screen at the top. Below this, there are text blocks arranged in a specific manner as shown in this code snippet here.
However, I am facing some issues with this layout. The "Search" button appears to be protruding out of the container/card element on certain screens. Additionally, when viewed on smaller devices like tablets or phones, the form starts overlapping with the text below.
Here is a screenshot clearly illustrating how the search form is not properly centered and the button extends out. https://i.sstatic.net/Pd3iq.png
Another screenshot depicts the problem of the search form overlapping with the text beneath it.
https://i.sstatic.net/LZon4.png
UPDATE:
I have made changes to the code to address the issues mentioned above. However, now the search box has shifted to the top of the jumbotron instead of remaining in the middle. View updated code here