title: border-radius wont apply to top of div
body: <p>I'm working on a landing page just for personal use, but i have ran into a problem. I have a div with a border radius, its called .popOut. The border radius applies to the bottom of the div but not the header part, why? And how can i fix this? Also if you know how to make the box-shadow a little bit lighter and not as dark that would be great! Thanks!</p>
  
  <p>Code:</p>
  
  <p>HTML:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>    *{margin:0; padding:0;}
      body{
       background: #CCC;
       color:#000305;
       font-size: 87.5%;
       font-family: Arial, 'Lucida Sans Unicode';
       line-height: 1.5;
       text-align: left; 
      }
      .body{
       margin: 0 auto;
       width: 70%;
       background:#ebebeb;
       margin:auto;
      }
      .mainBack{
       margin:auto;
       background:white;
       width:600px;
       height:650px;
      }
      .popOut{
       background:white;
       width:80%;
       height:600px;
       margin:auto;
       box-shadow:0px 0px 15px 0px;
       border-radius:6px;
       position:relative;
       top:30px;
      }
      .mainHeader{
       background:linear-gradient(#465BF6,#3149F2);
       width:100%;
       height:100px;
      }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;html&gt;
       &lt;head&gt;
        &lt;meta charset="UTF-8"&gt;
        &lt;title&gt;
         Welcome!
        &lt;/title&gt;
        &lt;script type="text/javascript" src="jquery.js"&gt;
      &lt;/script&gt;
        &lt;script type="text/javascript" src="script.js"&gt;
      &lt;/script&gt;
        &lt;link rel="stylesheet" href="style.css" type="text/css"&gt;
       &lt;/head&gt;
       &lt;body class="body"&gt;
        &lt;div class="mainBack"&gt; 
         &lt;div class="popOut"&gt;
          &lt;div class="mainHeader"&gt;&lt;/div&gt;
          &lt;div class="mainArea"&gt;&lt;/div&gt;
          &lt;div class="mainAreaB"&gt;&lt;/div&gt;
          &lt;div class="mainFooter"&gt;&lt;/div&gt;
         &lt;/div&gt; 
        &lt;/div&gt;
       &lt;/body&gt;
      &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>