/* Box Model Hack */
* {
  box-sizing: border-box;
}

/* Clear fix hack */
.clearfix:after {
     content: ".";
     display: block;
     clear: both;
     visibility: hidden;
     line-height: 0;
     height: 0;
}

.clear {
	clear: both;
}

/******************************************
/* BASE STYLES
/*******************************************/
nav ul li{
  display: inline-block;
  list-style: none;
  font-family: 'Oswald', sans-serif;
}
nav ul{
  margin: 0px;
}
.float{
  float: left;
  width: 33.3333%;
  margin-top: 15px;
  margin-bottom: 35px;
}
div.float{
  text-align: center;
}
div.float img{
  width: 13%;
}


/******************************************
/* LAYOUT
/*******************************************/
header > * {
  height: 40px;
  color: white;
  margin-bottom: 50px;
}
footer {
  background-color: #161f2a;
  color: white;
  height: 300px;
  clear: both;
  font-family: 'Oswald', sans-serif;
  padding: 20px;
}
footer ul li{
  display: inline-block;
  list-style: none;
}
footer ul{
  padding-left: 0px;
}
footer img{
  width: 15%;
}
section.main{
  background-color: #66768A;
  color: white;
  margin-top: 0px;
}
section.principal p{
  padding-left: 10%;
  padding-right: 10%;
}
section.principal{
  text-align: center;
  padding-bottom: 20px;
}
section.principal img{
  width: 20%;
  margin-bottom: 20px;
}
section.principal p{
  color: white;
}
section.second{
  margin-top: 80px;
  margin-bottom: 80px;
}
section.second p{
  padding-left: 10px;
  padding-right: 10px;
  margin-top: 5px;
}
section.Boxes{
  clear: both;
  height: 450px;
}
.box1, .box2{
  background-color: #dbdfe2;
  float: left;
  width: 50%;
  padding-top: 30px;
  padding-bottom: 30px;
}
.box1 p{
  margin-left: 50px;
  margin-right: 10px;
}
.box2 p{
  margin-right: 50px;
  margin-left: 10px;
}
section.bottom{
  margin-top: 30px;
  margin-bottom: 60px;
  text-align: center;
  clear: both;
}
/******************************************
/* ADDITIONAL STYLES
/*******************************************/
h1, h3, h4{
  font-family: 'Oswald', sans-serif;
  font-weight: bolder;
  text-align: center;
}
p, span, a{
  font-family: 'Oswald', sans-serif;
  text-align: center;
}
h1{
  margin-top: 0px;
  font-size: 400%;
}
h3{
  color: #161f2a;
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 5px;
}
h6{
  margin-top: 10px;
  margin-bottom: 10px;

}
footer p{
  color: white;
  border-top: 1px solid white;
  padding-top: 6px;
  text-align: left;
}
p{
  color: #161f2a;
  margin-bottom: 30px;
}
figure{
  text-align: center;
  background-color: #66768A;
  height: 200px;
  width: 75%;
  margin-left: 60px;
}
section.box2 figure{
  margin-right: 60px;
}
section.Boxes section{
  text-align: center;
}
a{
  border: 1px solid #66768A;
  padding: 5px;
  color: #161f2a;
}
section.main a{
  color: white;
}
section.bottom h3{
  padding-top: 50px;
}
section.bottom p{
  margin-left: 60px;
  margin-right: 60px;
}
/******************************************
/* MEDIA QUERIES
/*******************************************/
@media screen and (max-width:400px) {
  .box1, .box2{
    float: none;
    width: 100%;
  }
  section.bottom, footer{
    float: left;
    width: 100%;
  }
  h1{
    font-size: 380%;
  }
  section.principal img {
    width: 42%;
  }
  div.float img {
      width: 35%;
  }
  section.Boxes{
    height: 900px;
    text-align: center;
    margin: 0px;
  }
  section.Boxes p{
    margin: 10px;
    margin-bottom: 30px;
  }
  figure{
    height: 200px;
    width: 200px;
  }
  footer img{
   width: 35%;
  }
}