body{
margin:0px;
background-repeat:repeat;
background-attachment:fixed;
overflow-x: hidden;
overflow-y: hidden;
font-family: 'Lato';
font-size: 0.8em;
}

a {
  outline: none;
  text-decoration: none;
  color:#144955;
}

a:hover{
  color: #FFF;
  background-color:#f88379;
}

h1{
display: block;
text-align: center;
line-height: 0px;
font-size: 5em;
}

.wrapper {
  margin: 0 auto;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;  
  
  -webkit-flex-flow: row wrap;
  flex-flow: row wrap;
  
  font-weight: bold;
  text-align: center;
}

.wrapper > * {
  padding: 10px;
  flex: 1 100%;
}

.nav {
  background: #fff;
}

.nav a{
    float:left;
    text-align:center;
    width:25%;
}

.main {
  text-align: left;
  background: #fff;
}

.aside-1 {
  background: #fff;
}

@media all and (max-width: 600px) {
  .aside-1 { display: none; }
}


@media all and (min-width: 600px) {
  .aside { flex: 1;}
  .wrapper {width: 600px;}
  .main    { flex: 3 0px; }
  .aside-1 { order: 2; } 
  .main    { order: 3; }
  .nav  { order: 1; }
}

body {
  padding: 2em; 
}