/* Better box-sizing */

*,
*:before,
*:after {
  box-sizing: border-box;
}

/*
blue:#faf6e9
yellow: #ffeb00
headings: #333
text: #808080
*/

/* Body */

body {
  color: #2d2d2d;
  font: 18px / 1.6 Open Sans, Lato, Arial, Helvetica, sans-serif;
  padding-top: 106px;
}

/* Text */

p {
  margin: 0 0 12px;
  padding-bottom: 1em;
  font-weight: 300;
}

/* Links */

a {
  color: #f8a978;
  text-decoration: none;
  transition: all 150ms ease;
}

a:hover {
  opacity: 0.9;
}

/* Images */

img {
  max-width: 100%;
  height: auto;
}

/* Normalize buttons and form fields */

button,
input,
optgroup,
select,
textarea {
  font-family: Open Sans, Lato, Arial, Helvetica, sans-serif;
  line-height: 1.4;
}

/* Forms */

input,
select,
textarea {
  border-radius: 3px;
  border: 1px solid #ccc;
  padding: 6px 12px;
  color: #808080;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #f8a978;
}

/* Headings */

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #1f1a17;
}

h1 {
  line-height: 1.2;
}

h2,
h3 {
  line-height: 1.4;
}

h4,
h5,
h6 {
  line-height: 1.5;
}

h1 {
  font-size: 40px;
  font-weight: 600;
}

h2 {
  font-size: 36px;
  font-weight: 300;
}

h3 {
  font-size: 21px;
  font-weight: 300;
}
h3 span {
  font-weight: 600;  
}
h3 span.important {
  font-weight: 300; 
  color: #f8a978;  
}
h4 {
  font-size: 20px;
  font-weight: 300;
}
h4 span {
  font-weight: 600;  
}
h5 {
  font-size: 20px;
}

h6 {
  font-size: 18px;
}

.box {
  display: inline-block;
  width: 100px;
  height: 100px;
}

.box-blue {
  background: #faf6e9
}

.box-yellow {
  background: #ffeb00
}

.box-dark {
  background: #3333
}

.box-grey {
  background: #808080
}

/* Icons */

.icon {
  font-size: 70px;
  margin: 0 6px;
  color: #faf6e9;
}

/* Fonts container */

.fonts-container {
  width: 300px;
  margin: 80px auto;
}
ul {
  padding-left: 5px;
}
.foto {
  border-radius: 60px;
  max-height: 120px;
  float: left;
  margin-top: 10px;
  margin-right: 20px;
}
.office {
  padding: 5px;
}
/* RWD */

@media (max-width: 990px) {
  body {
    padding-top: 0;
  }

}
