* {
  box-sizing: border-box;
}

body {
  position: relative;
	margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

/* Style the header */
header {
  background-color: #666;
  padding: 30px;
  text-align: center;
  font-size: 35px;
  color: white;
}

/* Create two columns/boxes that floats next to each other */
nav {
  float: left;
  width: 30%;
  height: 300px; /* only for demonstration, should be removed */
  background: #ccc;
  padding: 20px;
}

/* Style the list inside the menu */
nav ul {
  list-style-type: none;
  padding: 0;
}

article {
  float: left;
  padding: 20px;
  width: 70%;
  background-color: #f1f1f1;
  height: 300px; /* only for demonstration, should be removed */
}

/* Clear floats after the columns */
section::after {
  content: "";
  display: table;
  clear: both;
}

/* Style the footer */
.hang {
  position: absolute;
  top: 380px;
  background-color: #777;
  padding: 10px;
  text-align: center;
  color: black;
  width: 95%;
  margin-left: 2.5%;
}
.balance {
  min-height: 500px; 
  background: #ccc;
  text-align: center;
  width: 100%;
  color: black;
  padding-top: 40px;
  margin-top: 50px;
  border-radius-bottom-right: 200px;
  border-bottom-left: 200px;
}


footer {
  background-color: black;
  padding: 10px;
  text-align: center;
  color: white;
  width:100%;
}
/* Responsive layout - makes the two columns/boxes stack on top of each other instead of next to each other, on small screens */
@media (max-width: 600px) {
  nav, article {
    width: 100%;
    height: auto;
  }
  .balance {
    margin-top: 55px;
  }

  .hang {
    width:90%;
    position: absolute;
    top: 310px;
    margin-left: 5%;
  }
}