Objective
The primary aim is to ensure that all sections display correctly on the mobile version of the website.
Challenge
An obstacle I am currently facing is:
Full width (Looking good)
https://i.sstatic.net/EDm3N.jpg
Mobile version (Issue)
There is a significant separation within this section:
https://i.sstatic.net/oeWsM.jpg
The bootstrap cards are overflowing into the next section, which is not intended.
Additionally, when viewing the contact-me form, the bootstrap card appears underneath:
https://i.sstatic.net/lTqMR.png
HTML & CSS
/* ------------ PROJECTS ------------ */
#projects {
position: relative;
background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)) ,url('../img/_DSC0031.jpg');
background-position: center;
background-size: cover;
background-attachment: fixed;
height: 100vh;
}
/* Other CSS code follows... */
Inquiry
What specific error have I made in my CSS styling that is causing this misalignment with the bootstrap card? How can I ensure proper separation between sections in future design implementations?