title: Div goes to the next line in CSS
body: <p>Div with class name main goes to the next line. I don't need it. It's wrong. I've vertical navbar with display block. I don't know why it goes to the next line.</p>
  <p>Here's HTML code:</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>/* Nav */
  
  nav {
    padding-left: 30px;
    padding-top: 30px;
    height: 100vw;
    width: 290px;
    border-right: 1px solid #333333;
  }
  
  .nav__link {
    color: #FFFFFF;
    width: 250px;
    display: block;
    border-radius: 8px;
    padding: 6px 0px 6px 30px;
    transition: background-color .2s linear;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 18px;
    margin-top: 20px;
  }
  
  .nav__link:hover {
    background-color: #707070;
  }
  
  
  /* Main */
  
  .main {
    margin-left: 300px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!-- Nav --&gt;
  &lt;nav&gt;
    &lt;a href="" class="nav__link"&gt;Project 1&lt;/a&gt;
    &lt;a href="" class="nav__link"&gt;Project 2&lt;/a&gt;
    &lt;a href="" class="nav__link"&gt;Project 3&lt;/a&gt;
    &lt;a href="" class="nav__link"&gt;Project 4&lt;/a&gt;
  &lt;/nav&gt;
  
  &lt;!-- Main --&gt;
  &lt;div class="main"&gt;
    &lt;div class="project"&gt;
      &lt;h1 class="project__name"&gt;Project 1&lt;/h1&gt;
      &lt;p class="project__description"&gt;Lorem ipsum, dolor sit amet consectetur adipisicing, elit. Facere voluptates sapiente soluta velit aliquid unde similique quas fugit animi, fugiat, non? At provident totam esse, molestias? Quos, quam. Adipisci, animi.&lt;/p&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>Any ideas to solve this problem, guys?</p>