* {
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-image: url(tapete.jpg);
  background-repeat: repeat-x; 
}

/* Style the header */
header {
  background-color: #777;
  padding: 1%;
  text-align: center;
  font-size: 70%;
  color: white;
}

/* Container for flexboxes */
section {
  display: -webkit-flex;
  display: flex;
}

/* Style the navigation menu */
nav {
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  background: #ccc;
  padding: 2%;
}

/* Style the div menu */
div {
  height: 10%;
  width: auto;

}

/* Style the list inside the menu */
nav ul {
  list-style-type: none;
  padding: 0;
}

/* Style the content */
article {
  -webkit-flex: 3;
  -ms-flex: 3;
  flex: 3;
  background-color: #f1f1f1;
  padding: 1%;
}

/* Style the footer */
footer {
  background-color: #777;
  padding: 1%;
  text-align: center;
  font-size: 100%;
  color: white;
}

/* Responsive layout - makes the menu and the content (inside the section) sit on top of each other instead of next to each other */
@media (max-width: 600px
    -webkit-flex-direction: column;
    flex-direction: column;
  }
}