/* TIPOS */
.extra-bold {
  font-family: abril-display;
  font-weight: 900;
}
.bold {
  font-family: abril-display;
  font-weight: 600;
}
.goudy {
  font-family: sorts-mill-goudy;
  font-weight: 500;
}
/* RESET */
h1,
h2,
h3,
h4,
h5 {
  margin: 0;
}
/* COLORES */
body {
  text-align: center;
  margin: 0;
  color: #fcf9f2;
  background-color: #fcf9f2;
}
body header {
  position: fixed;
  top: 222px;
  text-align: center;
  width: 100%;
}
body header h1 {
  font-family: abril-display;
  font-weight: 900;
  font-size: 7em;
  text-transform: uppercase;
}
body header h2 {
  font-family: abril-display;
  font-weight: 600;
  font-size: 2.5em;
  border-bottom: 4px solid #fcf9f2;
  display: inline;
  padding: 0 100px;
}
body nav {
  position: fixed;
  z-index: 2;
  width: 100%;
  text-align: center;
  top: 0;
  line-height: 65px;
  background-color: #fcf9f2;
}
body nav ul {
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: center;
}
body nav ul li {
  display: inline-block;
  float: none;
  margin-right: 15px;
}
body nav ul li:last-child {
  margin-right: 0;
}
body nav ul li a {
  font-size: 1.2em;
  text-transform: uppercase;
  font-family: abril-display;
  font-weight: 600;
  color: #286040;
  text-decoration: none;
  -webkit-transition: all ease-in-out 0.2s;
}
body nav ul li a:hover {
  opacity: 0.6;
}
body nav:before {
  background-image: url('../img/troquel.svg');
  background-size: 45px;
  background-repeat: repeat-x;
  background-position: center top;
  padding-top: 45px;
  position: absolute;
  content: " ";
  width: 100%;
  left: 0;
  transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  /* IE 9 */
  -webkit-transform: rotate(180deg);
  /* Opera, Chrome, and Safari */
  top: 42px;
}
#slideshow {
  width: 100%;
  height: 500px;
  position: fixed;
  top: 65px;
  z-index: -1;
  -webkit-transition: all ease-in-out 0.5s;
}
section#fotos {
  padding-top: 100px;
  max-width: 910px;
  margin: 0 auto;
}
section#productes:before {
  background-image: url('../img/troquel.svg');
  background-size: 45px;
  background-repeat: repeat-x;
  background-position: center top;
  padding-top: 45px;
  position: absolute;
  content: " ";
  width: 100%;
  left: 0;
  top: -22px;
}
section#productes {
  width: 100%;
  position: relative;
  z-index: 1;
  height: 2600px;
  top: 565px;
  background-color: #fcf9f2;
}
section#productes article .ampolla,
section#productes article .ampollapale,
section#productes article .ampollanegre {
  width: 33.333333333%;
  float: left;
  text-align: left;
}
section#productes article .ampolla:first-child,
section#productes article .ampollapale:first-child,
section#productes article .ampollanegre:first-child {
  text-align: center;
}
section#productes article .ampolla img,
section#productes article .ampollapale img,
section#productes article .ampollanegre img {
  max-width: 100%;
  height: auto;
  opacity: 0.8;
  cursor: pointer;
  -webkit-transition: all ease-in-out 0.2s;
}
section#productes article .ampolla img:hover,
section#productes article .ampollapale img:hover,
section#productes article .ampollanegre img:hover {
  opacity: 1;
}
section#productes article .ampolla {
  text-align: right !important;
}
section#productes article .ampollapale {
  text-align: center;
}
section#productes article .ampollanegre {
  text-align: left;
}
section#productes h3 {
  font-family: abril-display;
  font-weight: 600;
  color: #286040;
  font-size: 2.5em;
  padding: 100px 0 50px 0;
}
.blat,
.paleale,
.morena {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #286040;
  top: 0;
  z-index: 10000;
  display: table;
}
.blat .tancar,
.paleale .tancar,
.morena .tancar {
  top: 20px;
  right: 20px;
  position: absolute;
  font-size: 1.2em;
  cursor: pointer;
  font-family: "Helvetica Neue", "Arial", sans-serif;
  font-weight: 300;
}
.blat h3,
.paleale h3,
.morena h3 {
  font-size: 2em;
}
.blat .inner,
.paleale .inner,
.morena .inner {
  display: table-cell;
  vertical-align: middle;
  padding: 0 30px;
}
.blat .inner p,
.paleale .inner p,
.morena .inner p {
  font-size: 1.2em;
}
.blat p,
.paleale p,
.morena p {
  font-family: "Helvetica Neue", "Arial", sans-serif;
  font-weight: 300;
}
section#qui-som:before {
  background-image: url('../img/troquel.svg');
  background-size: 45px;
  background-repeat: repeat-x;
  background-position: center top;
  padding-top: 45px;
  position: absolute;
  content: " ";
  width: 100%;
  left: 0;
  transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  /* IE 9 */
  -webkit-transform: rotate(180deg);
  /* Opera, Chrome, and Safari */
  top: -23px;
}
section#qui-som {
  width: 100%;
  z-index: 1;
  position: relative;
  height: auto;
  background-color: #286040;
  padding-bottom: 55px;
}
section#qui-som h4 {
  font-family: abril-display;
  font-weight: 600;
  color: #fcf9f2;
  font-size: 2.5em;
  padding: 100px 0 50px 0;
}
section#qui-som p {
  max-width: 750px;
  margin: 0 auto;
  margin-bottom: 35px;
  text-align: center;
  font-size: 1.5em;
  font-family: "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 300;
  line-height: 32px;
}
section#contacte:before {
  background-image: url('../img/troquel-verde.svg');
  background-size: 45px;
  background-repeat: repeat-x;
  background-position: center top;
  padding-top: 45px;
  position: absolute;
  content: " ";
  width: 100%;
  left: 0;
  transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  /* IE 9 */
  -webkit-transform: rotate(180deg);
  /* Opera, Chrome, and Safari */
  top: -23px;
}
section#contacte {
  width: 100%;
  z-index: 1;
  position: relative;
  height: auto;
  background-color: #fcf9f2;
  padding: 85px 0 150px 0;
  font-family: abril-display;
  font-weight: 600;
}
section#contacte a,
section#contacte p {
  display: inline;
  font-size: 25px;
  color: #286040;
  line-height: 32px;
  -webkit-transition: all ease-in-out 0.5s;
  text-decoration: none;
}
section#contacte a {
  border-bottom: 1px solid #286040;
  -webkit-transition: all ease-in-out 0.5s;
}
section#contacte a:hover {
  border: none;
  opacity: 0.8;
}
section#contacte h5 {
  font-family: abril-display;
  font-weight: 600;
  color: #286040;
  font-size: 2.5em;
  margin-bottom: 35px;
}
/* Mobile-first styles FTW */
@media all and (min-width: 320px) and (max-width: 767px) {
  nav {
    display: none;
  }
  body header h1 {
    font-size: 3em;
  }
  body header h2 {
    padding: 0;
    font-size: 2em;
  }
  section#productes {
    height: 1280px;
  }
  section#qui-som p {
    font-size: 1em;
    line-height: 21px;
    padding: 0 25px;
  }
  section#contacte a,
  section#contacte p {
    font-size: 15px;
  }
  .blat,
  .paleale {
    font-size: 12px;
  }
  .blat .tancar,
  .paleale .tancar {
    font-size: 1em;
  }
  .blat h3,
  .paleale h3 {
    font-size: 2em;
  }
  .blat .inner p,
  .paleale .inner p {
    font-size: 1em;
  }
}
