/*-------------------------------
               BASE
--------------------------------*/

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: sans-serif;
  font-size: 16px;
  background-color: silver;
}

/*-------------------------------
         LAYOUT MOBILE
--------------------------------*/

#container {
  margin: auto;
  max-width: 960px;
}

header {
  position: relative;
  height: 5rem;
  box-shadow: 0 4px 0.3125rem rgba(0,0,0,.3);
  background-color: #333;
  color: white;
}
header h1 {
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  font-size: 1.2rem;
}

#lists {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: #444;
  box-shadow: 0 4px 0.3125rem rgba(0,0,0,.3);
  opacity: 0.85;
}
#lists li {
  width: 100%;
  border-bottom: 1px solid #777;
  list-style-type: none;
  font-size: 80%;
}
#lists li:last-child {
  border-bottom: none;
}
#lists a {
  display: block;
  padding: 1rem 0;
  color: #FFF;
  text-decoration: none;
  text-align: center;
}
#lists a:hover {
  background: #222;
}

main {
  display: flex;
  flex-direction: column;
}
article {
  padding: 2rem;
  text-align: justify;
  font-size: 0.85rem;
  background-color: white;
}
aside {
  padding: 2rem;
  text-align: left;
  font-size: 0.85rem;
  background-color: #EEE;
}
article h1,
article p,
aside h1,
aside p {
  margin-bottom: 1rem;
}

footer {
  padding: 1.5rem;
  text-align: center;
  background-color: #333;
  color:white;
}/*-------------------------------
      LAYOUT PC (OverWrite)
--------------------------------*/

@media only screen and (min-width: 769px) {

#container{
  width: 84%;
  max-width: 1300px;
  min-width: 512px;
  margin: 0 auto;
}

header {
   position:relative;
   height: 8rem;
   background: #333;
   box-shadow: 0 4px 0.3125rem rgba(0,0,0,.3);
 }

  header h1{
    position: absolute;
     top: 3rem;
     left: 30rem;
     font-size: 2rem;
     color: white;
  }

nav {
  padding: 1rem 3rem ;
  background: #333;
}

  nav ul{
    display: flex;
    flex-direction: row;
  }

  nav ul li{
    margin-left: 2rem;
  }

  nav ul li a {
    color: white;
  }

 main{
   display:flex ;
   flex-direction: row;
   width: 100%;
 }

  section{
    flex: 3;
    padding: 3rem;
    background: #EEE;
  }

    article{

</P>min-height: 8rem;
      padding: 1rem;
      margin-bottom: 2rem;
      background: #FFF;
    }

  aside{
    flex: 1;
    padding: 3rem;
    background: #DDD;
  }

footer {
  padding: 2rem 3rem;
  text-align: center;
  background: # red;
  color: white;
}
