So im trying to create some padding for my profile_pic div.
This is the html:
  <body>
  <div id="content" class="content">
    <div id="profile_pic" class="profile_pic">
    </div>
    <div id="overview" class="overview">
        asdasdasdasdasd
    </div>
    <div id="buttons" class="buttons">
    <!-- Sport, Academic, Other -->
    </div>
  </div>
  </body>
and this the css
.profile_pic {
    height: 30%;
    width: 15%;
    margin-left: auto;
    margin-right: auto;
    background-image: url("./images/profile_pic.jpg");
    border-radius: 8px;
    background-repeat:no-repeat;
    background-size:cover;
}
and this is what the page looks like
when i add the lines
padding-top: 10%;
padding-bottom: 10%;
this is what happens to the image
could someone please explain why this is happen
 
     
     
    