I'm facing an issue with two sections on my website. They are properly separated until a certain size, https://i.sstatic.net/e52t2.png, but when the size is reduced, they start to overlap https://i.sstatic.net/aMtHr.png. Below is a snippet of my code:
.home-inner {
height: 100vh;
width: 100vw;
background-image: url('../img/bg.jpg');
background-position: center;
background-size: cover;
background-repeat: no-repeat;}
.caption {
width: 100%;
max-width: 100%;
position: absolute;
top: 38%;
z-index: 1;
text-transform: uppercase;}
<section id="inicio">
<div class="landing">
<div class="home-wrap">
<div class="home-inner">
</div>
</div>
</div>
<div class="caption text-center">
<h1>Title</h1>
<h3>Sub title</h3>
<a href="index.html" class="btn btn-outline-light btn-lg">VER PRODUCTOS</a>
</div>
</div>
</section>
<section class="qsomos">
<div id="bio" class="container-fluid">
<div class="row justify-content-center align-items-center">
<div class="col-lg-5 col-xs-3 mx-auto">
<h2>TÍTULO</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. <br>Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</div>..........
The images demonstrate the issue I am encountering. I am relatively new to web development and would appreciate any assistance in resolving this straightforward problem.