title: How to create a sidebar with 2x3 grid next to it
body: <p>I want to create a sidebar and a grid that has 2 rows and 3 columns (beside the sidebar). I already have a nav bar and a footer (just a layout, links are not supposed to work)</p>
  
  <p>I have no idea how to create that sidebar and main content grid with flexbox.</p>
  
  <p>Oh and the superman logo: I can't center it vertically for some reason.</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
    &lt;head&gt;
      &lt;meta charset="UTF-8"/&gt;
      &lt;title&gt;web1&lt;/title&gt;
      &lt;link rel="stylesheet" href="style.css"/&gt;
    &lt;/head&gt;
    &lt;body&gt;
      &lt;div class="menu-container"&gt;
        &lt;div class="logo-container"&gt;
            &lt;div class="logo"&gt;&lt;img src="https://seeklogo.com/images/1/3-colors-superman-logo-ACD3F1907B-seeklogo.com.png"&gt;&lt;/div&gt;
        &lt;nav class="menu"&gt; 
            &lt;div class="buttonid"&gt;
              &lt;a href="#" class="myButton"&gt;Avaleht&lt;/a&gt;
              &lt;a href="#" class="myButton"&gt;Tooted&lt;/a&gt;
              &lt;a href="#" class="myButton"&gt;Kontakt&lt;/a&gt;
            &lt;/div&gt;
      &lt;/div&gt;
        &lt;/div&gt;
        &lt;/nav&gt;
      &lt;div class="footer"&gt;
          &lt;div class="footer-item"&gt;SEE TÖÖTAB VIST&lt;/div&gt;
      &lt;/div&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  
  </code></pre>
  
  <pre><code>* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
  
    html, body {
      height: 100%;
    }
  
    .menu-container {
      color: #fff;
      background-image: linear-gradient( rgb(0, 0, 0), rgb(255, 0, 0));
      padding: 20px 0;
  
    }
  
    .logo-container {
      display: flex;
      border: blue solid 2px;
      height: 100px;
    }
  
    .menu {
      border: white solid 3px;
      width: 100%;
      text-align: center;
    }
  
    .myButton {
      box-shadow:inset 0px 1px 0px 0px #cf866c;
      background:linear-gradient(to bottom, #d0451b 5%, #ff0000 100%);
      background-color:#ff0000;
      border-radius:3px;
      border:1px solid #ffffff;
      display:inline-block;
      cursor:pointer;
      color:#ffffff;
      font-family:Arial;
      font-size:13px;
      padding:6px 24px;
      text-decoration:none;
      text-shadow:0px 1px 0px #854629;
  }
  .myButton:hover {
      background:linear-gradient(to bottom, #bc3315 5%, #d0451b 100%);
      background-color:#bc3315;
  }
  .myButton:active {
      position:relative;
      top:1px;
  }
  
  .logo img {
    width: 100px;
  }
  
  .footer {
    color: #fff;
    background-image: linear-gradient( rgb(0, 0, 0), rgb(255, 0, 0));
    padding: 20px 0;
    position: absolute;
    bottom: 1px;
    width: 100%;
  }
  
  .footer-item {
    text-align: center;
    font-weight: bold;
    word-spacing: 30px;
  }
  
  .buttonid {
    align-items: center;
    word-spacing: 30px;
    height: 100px;
    display: flex;
    justify-content: center;
  }
  
  </code></pre>