<div class="container">
  <div class="header"></div>
  <div class="wrap">
    <div class="aside"></div>
    <div class="main"></div>
  </div>
  <div class="footer"></div>
</div>
.header{
  margin-bottom: 20px;
}
.wrap{
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.aside{
  width: 200px;
}
.main{
  width: calc(100% - 220px);
  min-height: 100px !important;
}
.footer{}
@media (max-width: 600px){
  .aside{
    width: 100%;
    margin-bottom: 20px;
  }
  .main{
    width: 100%;
  }
}




/*******/
html, body , .container {
  height: 100%;
  margin: 0;
}
  
/* For presentation only, no need to copy the code below */

.container * {
  min-height: 2em;
  background-color: #A0DBF2;
  position: relative;
}

.container *:after {
  content: attr(class);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  align-items: center;
  justify-content: center;
}
.container .wrap{
  background-color: inherit;
}
.container .wrap:after{
  content: "";
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.