title: css grid-template-areas property not aligning grid items
body: <p>I am new to css grids, and I am trying to build a page with this layout:</p>
  
  <p><a href="https://i.stack.imgur.com/c0P5W.png" rel="noreferrer"><img src="https://i.stack.imgur.com/c0P5W.png" alt="enter image description here"></a></p>
  
  <p>The problem I have is the <code>.main</code> class and the grid inside the container grid.</p>
  
  <p>I think I have the wrong setup for the grid in <code>.main</code>. </p>
  
  <p>For the upper container <code>.container</code>, I can see that three columns layout is working.</p>
  
  <p><a href="https://i.stack.imgur.com/JHotk.png" rel="noreferrer"><img src="https://i.stack.imgur.com/JHotk.png" alt="enter image description here"></a></p>
  
  <p>On the first row, I want the div image div to span 2 out of three columns, and blogart div to take up one column.</p>
  
  <p>The second row should have three blogart divs spaning one column each.</p>
  
  <p>But in the inner grid <code>.main</code>, all the markup is in a fourth column.</p>
  
  <p><a href="https://i.stack.imgur.com/fVgYC.png" rel="noreferrer"><img src="https://i.stack.imgur.com/fVgYC.png" alt="enter image description here"></a> </p>
  
  <p>I have setup a <a href="https://codepen.io/lupis/pen/BRoobQ?editors=1100#0" rel="noreferrer">codepen</a> Greatful for any suggestions.</p>
  
  <p>This is my markup, the css is in the codepen:</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>body {
    padding-top: 20px;
    background: #f5f7f8;
  }
  
  .container{
    display: grid;
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 80px 180px 80px;
    grid-gap: 20px;
    
    grid-template-areas: "header   header   header"
                         "main     main     main"
                         "footer   footer   footer";
  }
  
  .container div{
    color: white;
    font-size: 20px;
    padding: 20px;
  }
  
  .header {
    background: #b03532;
    grid-area: header;
  }
  
  .main {
    background: #33a8a5;
    grid-area: main;
    
    display: grid;
    
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    grid-gap: 20px;
    
    grid-template-areas: "bigimg bigimg blogart"
                         "blogart blogart blogart";
    
  }
  
  .bigimg {
    background: #da6f2b;
    grid-area: bigimg;
  }
  
  .blogart {
    background: #3d8bb1;
    grid-area: blogart;
  }
  
  .footer {
    background: #6a478f;
    grid-area: footer;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;section class="container"&gt;
    &lt;div class="header"&gt;Header&lt;/div&gt;
  
    &lt;div class="main"&gt;
      &lt;div class="bigimg"&gt;img&lt;/div&gt;
      &lt;div class="blogart"&gt;blogart&lt;/div&gt;
      &lt;div class="blogart"&gt;blogart&lt;/div&gt;
      &lt;div class="blogart"&gt;blogart&lt;/div&gt;
      &lt;div class="blogart"&gt;blogart&lt;/div&gt;
    &lt;/div&gt;
  
    &lt;div class="footer"&gt;footer&lt;/div&gt;
  &lt;/section&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>-Thanks</p>