I am facing an issue with my main div that contains some text and 2 other overlapping divs. The text in the main div is getting overlapped by the other two divs. I need help to make the text in the main div wrap around the overlapping divs.
It may sound silly, but I would appreciate any assistance on this matter.
.project1,
.project2 {
position: absolute;
background-color: #88c1dc;
width: 40%;
height: 50px;
z-index: 11;
border-radius: 10px;
}
.project1 {
top: 460px;
}
.project2 {
top: 540px;
}
.project_title_heading {
padding-top: 8px;
padding-left: 20px;
}
<section id="portfolio">
<div class="container" style="padding-top: 100px; height: 100vh; position: relative;">
<div class="portfolio" style="background: #2186B0; position: absolute; z-index: 10; left: 29%; padding: 30px; height: 80vh; border-radius: 20px;">
<p style="text-align: justify; font-weight: 500; font-size: 18px;">Lorem ipsum text here...</p>
</div>
<div class="project1">
<h3 class="project_title_heading"><a href="">Project 1</a>
</h3>
</div>
<div class="project2">
<h3 class="project_title_heading"><a href="">Project 2</a></h3>
</div>
</div>
</section>