* {
  box-sizing: border-box;
}

/* Style the body (Estilizar o corpo) */
body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
}

/* Header/logo Title (Título do cabeçalho/logotipo) */
.header {
  padding: 80px;
  text-align: center;
  background: #1a4dbc;
  color: white;
}

/* Increase the font size of the heading (Aumente o tamanho da fonte do título) */
.header h1 {
  font-size: 40px;
}

/* Sticky navbar - toggles between relative and fixed, depending on the scroll position. It is positioned relative until a given offset position is met in the viewport - then it "sticks" in place (like position:fixed). The sticky value is not supported in IE or Edge 15 and earlier versions. However, for these versions the navbar will inherit default position (alterna entre relativo e fixo, dependendo da posição de rolagem. Ele é posicionado relativo até que uma determinada posição de deslocamento seja encontrada na viewport - então ele "gruda" no lugar (como position:fixed). O valor fixo não é compatível com IE ou Edge 15 e versões anteriores. No entanto, para essas versões, a barra de navegação herdará a posição padrão)*/
.navbar {
  overflow: hidden;
  background-color: #333;
  position: sticky;
  position: -webkit-sticky;
  top: 0;
}

/* Style the navigation bar links (Estilizar os links da barra de navegação) */
.navbar a {
  float: left;
  display: block;
  color: white;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
}

/* Right-aligned link (Link alinhado à direita)*/
.navbar a.right {
  float: right;
}

/* Change color on hover () */
.navbar a:hover {
  background-color: #ddd;
  color: black;
}

/* Active/current link () */
.navbar a.active {
  background-color: #666;
  color: white;
}

/* Column container () */
.row {  
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
}

/* Create two unequal columns that sits next to each other */
/* Sidebar/left column () */
.side {
  -ms-flex: 30%; /* IE10 */
  flex: 30%;
  background-color: #f1f1f1;
  padding: 20px;
}

/* Main column () */
.main {   
  -ms-flex: 70%; /* IE10 */
  flex: 70%;
  background-color: white;
  padding: 20px;
}

/* Fake image, just for this example () */
.fakeimg {
  background-color: #aaa;
  width: 100%;
  padding: 20px;
}

/*Imagem html 5 () */
.img {
  width: 100%;
}


/* Footer (rodapé) */
.footer {
  padding: 20px;
  text-align: center;
  background: #ddd;
}

/* Responsive layout - when the screen is less than 700px wide, make the two columns stack on top of each other instead of next to each other (Layout responsivo - quando a tela tiver menos de 700px de largura, faça as duas colunas empilharem uma sobre a outra em vez de uma ao lado da outra) */
@media screen and (max-width: 700px) {
  .row {   
    flex-direction: column;
  }
}

/* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other (Layout responsivo - quando a tela tiver menos de 400px de largura, faça com que os links de navegação se empilhem uns sobre os outros em vez de um ao lado do outro) */
@media screen and (max-width: 400px) {
  .navbar a {
    float: none;
    width: 100%;
  }
}