* {
  box-sizing: border-box;
}

@font-face {
    font-family: candle;
    font-style: normal;
    font-weight: normal;
    src: url('../fontes/CandleMustard.ttf');
}
@font-face {
    font-family: caviar;
    font-style: normal;
    font-weight: normal;
    src: url('../fontes/CaviarDreams.ttf');
}

body {
  font-family: 'Open Sans', sans-serif;
  text-align: center;
  background-image: url('../imagens/background.jpg');
}

.flex-container {
  display: flex;
  flex-flow: row wrap;
  background-color: black;
  justify-content: center;
}

.flex-container > div {
  background-color: #f1f1f1;
  width: 200px;
  margin: 10px;
  text-align: center;
  line-height: 20px;
  font-size: 30px;
}

@media all and (min-width: 600px) {
  .flex-container > div { 
      flex: 1 auto; 
    }
}

@media all and (min-width: 800px) {
  .box-1 { order: 1; } 
  .box-2 { order: 2; }
  .box-3 { order: 3; }
  .box-4 { order: 4; }
  .box-5 { order: 5; }
  .box-6 { order: 6; }
  .box-7 { order: 7; }
  .box-8 { order: 8; }
  .box-9 { order: 9; }
}

nav{
  height: 85px;
}

#main2 {
  position: relative;
  background-color: black;
  display: inline-block;
  padding: 0;
  margin: 0px auto;
  width: 100%;
  height: 40px;
  left: 0;
  top: 20px;
}

#main {
  position: relative;
  list-style: none;
  
  font-weight: 400;
  font-size: 0;
  text-transform: uppercase;
  display: inline-block;
  padding: 0;
  margin: 0px auto;
  top: -30px;
}

#main li {
  font-size: 0.8rem;
  display: inline-block;
  position: relative;
  padding: 15px 20px;
  cursor: pointer;
  z-index: 5;
  min-width: 120px;
  max-width: 120px;
  
}

li {
  margin: 0;
}


h1{
    margin-bottom: 0;
    font-family: candle;
    font: candle;
    font-size: 58px;
}


.footer{
    width: 100%;
    height: 300px;
    margin-top: 16px;
    position: relative;
    display: inline-block;
    background-color: #38393a;
    color: white;
}

.linha{
    width: 100%;
    height: 2px;
    margin-top: 0px;
    position: relative;
    display: inline-block;
    background-color: black;
}

a{
    color: white;
    text-decoration: none;
}

.voltar{
    color: azure;
    text-decoration: none;
    text-align: right;
    text-transform: uppercase;
}

p{
    font-family: caviar;
    font: caviar;
    font-size: 20px;
}