title: Why some text in my site page, hidden behind sticky navbar
body: <p>The content is getting overlapped by the navbar. I didn't use bootstrap for this navbar. I don't want my content under my sticky navbar. So I need the content align below my navbar. I have tried But I can't. Can any body tell me why this happens?. Here is the code:</p>
  <p>Ps.I am new about css,html and Thanks for helping</p>
  <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>* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  ::selection{
    background: rgb(0,123,255,0.3);
  }
  .content{
    max-width: 1250px;
    margin: auto;
    padding: 0 30px;
    margin-left: 10%;
    margin-right: 10%;
  }
  .navbar{
    padding-top: 85px;
    padding-bottom: 30px;
    background: #ffffff;
    position: fixed;
    width: 100%;
    z-index: 2;
    transition: all 0.3s ease;
  }
  .navbar.sticky{
  
    background: #ffffff;
    padding: px 0;
    box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.1);
  }
  .navbar .content{
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .navbar .logo a{
    color: rgb(255, 0, 0);
    font-size: 30px;
    text-decoration: none;
  }
  .navbar .menu-list{
    display: inline-flex;
  }
  .menu-list li{
    list-style: none;
  }
  .menu-list li a{
    color: rgb(255, 0, 0);
  
    margin-left: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  .menu-list li a:hover{
    color: #007bff;
  }
  .icon{
    color: rgb(255, 0, 0);
    font-size: 20px;
    cursor: pointer;
    display: none;
  }
  .menu-list .cancel-btn{
    position: absolute;
    right: 100px;
    top: 80px;
  }
  @media (max-width: 1230px) {
    .content{
      padding: 0 60px;
    }
  }
  @media (max-width: 1100px) {
    .content{
      padding: 0 40px;
    }
  }
  @media (max-width: 900px) {
    .content{
      padding: 0 40px;
    }
  }
  @media (max-width: 868px) {
    body.disabled{
      overflow: hidden;
    }
    .icon{
      display: block;
    }
    .icon.hide{
      display: none;
    }
    .navbar .menu-list{
      position: fixed;
      height: 100vh;
      width: 100%;
      max-width: 100%;
      right: -100%;
      top: 0px;
      display: block;
      padding: 40px 0;
      text-align: center;
      background: rgb(255, 255, 255);
      transition: all 0.3s ease;
    }
    .navbar.show .menu-list{
      right: 0%;
    }
    .navbar .menu-list li{
      margin-top: 45px;
    }
    .navbar .menu-list li a{
      font-size: px;
      margin-right: -100%;
      transition: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }
    .navbar.show .menu-list li a{
      margin-right: 0px;
    }
  }
  @media (max-width: 380px) {
    .navbar .logo a{
      font-size: px;
    }
  }
  .about{
    padding: 30px 0;
  }
  .about .title{
    font-size: 38px;
    font-weight: 700;
  }
  .about p{
    padding-top: 20px;
    text-align: justify;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;body&gt;
    &lt;nav class="navbar"&gt;
      &lt;div class="content"&gt;
        &lt;div class="logo"&gt;
          &lt;a href="#"&gt;&lt;img src="https://pbs.twimg.com/media/EkoGzBLUUAEc9Wj.jpg" width="100" height="100" alt="" /&gt;&lt;/a&gt;
        &lt;/div&gt;
        &lt;ul class="menu-list"&gt;
          &lt;div class="icon cancel-btn"&gt;
            &lt;i class="fas fa-times"&gt;&lt;/i&gt;
          &lt;/div&gt;
          &lt;li&gt;&lt;a href="m.html"&gt;Mo&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="a.html"&gt;Ad&lt;/a&gt;&lt;/li&gt;     
          &lt;li&gt;&lt;a href="a.html"&gt;An&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="ots.html"&gt;Others&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="ab.html"&gt;About&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;div class="icon menu-btn"&gt;
          &lt;i class="fas fa-bars"&gt;&lt;/i&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/nav&gt;
    &lt;div class="about"&gt;
      &lt;div class="content"&gt;
        &lt;div class="title"&gt;Responsive Sticky Navigation Menu Bar on Scroll using HTML CSS &amp; JavaScript&lt;/div&gt;
        &lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quo impedit atque consequatur! Iusto distinctio temporibus repellendus labore odit adipisci harum ipsa beatae natus, eum eius, hic aperiam odio! Quasi molestias magnam illo voluptatem iusto ipsam blanditiis, tempore cumque reiciendis quaerat vero tenetur, sequi dolores libero voluptas vitae voluptate placeat dolorum modi ipsa nisi repellat facilis aliquam asperiores. Aut nam repellat harum quas saepe dolorum voluptates ratione, itaque consectetur explicabo a facilis rem mollitia maxime repudiandae fuga reprehenderit, odio cum incidunt labore molestiae quis non perferendis ipsam. Illum, in, deserunt. Ipsa.&lt;/p&gt;
  
        &lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sint doloremque perspiciatis voluptate ducimus reiciendis rem expedita voluptatibus dicta harum, quo, aspernatur maiores possimus officia quod? Aliquid molestiae illo sequi, tempora perferendis at incidunt nam porro voluptatibus, iste aperiam blanditiis adipisci ducimus repellendus distinctio nostrum ipsum! Voluptas facilis cum, atque tempora magnam beatae sequi! Doloribus expedita, cupiditate quo quod nemo aliquam, mollitia cum ea nam ullam soluta temporibus! Repudiandae incidunt consequatur distinctio deleniti obcaecati sit facilis unde, quisquam veniam ad doloribus!&lt;/p&gt;
       
    &lt;/div&gt;
  
  &lt;/body&gt;</code></pre>
  </div>
  </div>
  </p>