title: Relative position causing problem my container go under the showcase Why It's happening?
body: <h1>I am caught in problem due to relative position</h1>
  <ul>
  <li>My Other content get pushed under the showcase.</li>
  <li>I am giving you full code please tell me what I am doing wrong.</li>
  <li>I have given the link to google drive which cotain screenshot.</li>
  </ul>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  
  body {
    min-height: 100vh;
  }
  
  a {
    color: #000;
    text-decoration: none;
  }
  
  .container {
    max-width: 1200px;
    width: 80%;
    margin: auto;
  }
  
  .d-4 {
    font-size: 2.6rem;
    text-align: center;
    font-weight: 600;
  }
  
  .lead {
    font-size: 1.8rem;
    font-weight: 300;
  }
  
  .relative {
    position: relative;
    top: 0;
    left: 0;
  }
  
  nav {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: flex;
    font-size: 17px;
    font-weight: bold;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 0;
  }
  
  nav&gt;a {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 28px;
    padding: 0 20px;
  }
  
  nav ul a {
    padding: 15px;
    margin: 0 5px;
    color: #fff;
    border-radius: 4px;
  }
  
  nav ul a:hover {
    background: rgba(0, 0, 0, 0.6);
  }
  
  .showcase {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('https://cdn.pixabay.com/photo/2017/06/24/23/03/railway-2439189_1280.jpg') no-repeat center center/cover, rgba(0, 0, 0, 0.5);
    background-blend-mode: darken;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  
  &lt;head&gt;
    &lt;meta charset="UTF-8"&gt;
    &lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;
    &lt;meta http-equiv="X-UA-Compatible" content="ie=edge"&gt;
    &lt;title&gt;Website | Getting Started&lt;/title&gt;
    &lt;!-- My CSS --&gt;
    &lt;link rel="stylesheet" href="css/style.css"&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
  
  
    &lt;div class="relative"&gt;
      &lt;nav&gt;
        &lt;a href="#"&gt;&lt;img height="70" src="img/logo.png" alt="Logo"&gt; &amp;nbsp;Title&lt;/a&gt;
        &lt;ul&gt;
          &lt;a href="#"&gt;Home&lt;/a&gt;
          &lt;a href="#"&gt;Login&lt;/a&gt;
          &lt;a href="#"&gt;SignUp&lt;/a&gt;
          &lt;a href="#"&gt;Dashboard&lt;/a&gt;
        &lt;/ul&gt;
      &lt;/nav&gt;
      &lt;div class="showcase"&gt;
        &lt;h1 class="d-4"&gt;Welcome to my Website.&lt;/h1&gt;
        &lt;p class="lead"&gt;
          Way of heaven is here.
        &lt;/p&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  
    &lt;div class="container"&gt;
      &lt;h1 class="text-center"&gt;Contact Us&lt;/h1&gt;
      &lt;form id="footer" class="control"&gt;
        &lt;input class="input" type="text" id="name" placeholder="Enter your Name"&gt;
        &lt;input class="input" type="email" id="email" placeholder="Enter your E-mail"&gt;
        &lt;input class="input" type="number" id="mob" placeholder="Enter your phone No."&gt;
        &lt;input class="input" type="textr" id="subject" placeholder="Enter your subject"&gt;
        &lt;textarea class="textarea" placeholder="Enter your message"&gt;&lt;/textarea&gt;
      &lt;/form&gt;
    &lt;/div&gt;
  
  
  &lt;/body&gt;
  
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  <h3>Screenshot</h3>
  <p><a href="https://drive.google.com/file/d/1hn4-dyx0h8BrY42zAjL4801yCZ_0YYnB/view?usp=drivesdk" rel="nofollow noreferrer">https://drive.google.com/file/d/1hn4-dyx0h8BrY42zAjL4801yCZ_0YYnB/view?usp=drivesdk</a></p>