html {
    width: 100%;
    height: 100%;
}

body {
    position: relative;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

h1 {
  font-family: 'Roboto Slab', serif;
  font-size:50px;
  color:#b29756;
}
h2 {
  font-family: 'Roboto Slab', serif;
  font-size:50px;
  color:#f1f1f1;
  text-align: center;
  padding-top: 30px;
  padding-bottom: 0;
  margin: 0;
}
h3 {
  font-family: 'Roboto Slab', serif;
  font-size:18px;
  color:#b29756;
}
p {
  font-family: 'Quicksand', sans-serif;
  line-height: 1.5;
  font-size: 1.2em;
}
a {
  font-family: 'Quicksand', sans-serif;
  text-decoration: none;
  color: #333;
}
a.dot {
  border-bottom: 1px #333 dotted;
  color: #333;
}
a.dot:hover {
  border-bottom: 1px #333 solid;
}
.conteudo {
  width: 100%;
}
.conteudo .wrapper {
  height: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 10px;
}
.conteudo h1 {
  text-align: center;
  margin-bottom: 10px;
}
.conteudo .ornamento-1 {
  height: 23px;
  margin-bottom: 40px;

  background-image: url(../img/ornamento-1.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto;
}

/* QUEM SOMOS */

#quemsomos {
  margin-top: 80px;
}
#quemsomos a {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.5);

  font-family: 'Roboto Slab', serif;
  font-size:2em;
  color: #fff;
  text-shadow: 0px 0px 2px #000000;

  border: 2px #f1f1f1 solid;
  width: 100%;
  height: 100%;
  box-sizing: border-box;

}
.square {
    float:left;
    position: relative;
    width: 30%;
    padding-bottom : 30%; /* = width for a 1:1 aspect ratio */
    margin:1.66%;
    background-color:#1E1E1E;
    overflow:hidden;
}

.content {
    position:absolute;
    height:90%; /* = 100% - 2*5% padding */
    width:90%; /* = 100% - 2*5% padding */
    padding: 5%;

}
.table{
    display:table;
    width:100%;
    height:100%;
}
.table-cell{
    display:table-cell;
    vertical-align:middle;
}
/*  For responsive images */
.content .rs{
    width:auto;
    height:auto;
    max-height:90%;
    max-width:100%;
}
/*  For responsive images as background */
.bg {
    background-position:center center;
    background-repeat:no-repeat;
    background-size:cover; /* you change this to "contain" if you don't want the images to be cropped */
    color:#fff;
}

.img1 {background-image: url('../img/fazenda-historia.jpg');}
.img2 {background-image: url('../img/fazenda-espacos.jpg');}
.img3 {background-image: url('../img/fazenda-celebrando.jpg');}

@media screen and (max-width: 800px) {
  .square {
    width: 90%;
    padding-bottom : 90%; /* = width for a 1:1 aspect ratio */
    margin:5%;
  }
}

/* SERVIÇOS */

#servicos {
  margin-top: 80px;
}

/* DEPOIMENTOS */

#testemunhos {
  margin-top: 80px;
  padding: 40px 0;
  background: #f8f4f3;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}
#testemunhos > div {

}
#testemunhos img {
  max-height: 100%;
  max-width: 100%;
  z-index: 90;
  overflow:  hidden;
}
#testemunhos .bloco50 {
  display: inline-block;
  vertical-align: middle;
  width: 49%;
  height: 100%;
  box-sizing: border-box;
}
p.testemunho {
  font-size:18px;
  font-style: italic;
  color:#333;
  text-align: center;
  padding: 50px 50px 0 50px;
}
p.nomes {
  margin-bottom: 0;
  font-size:18px;
  color:#b29756;
  text-align: center;
  font-weight: bold;
}
p.data {
  margin: 0;
  font-size:14px;
  color:#b29756;
  text-align: center;
}
@media screen and (max-width: 800px) {
  #testemunhos .bloco50 {
    display: block;
    width: 100%;
    height: auto;
    box-sizing: border-box;
  }
  #testemunho .foto {
    height: 100px !important;
    overflow: hidden;
  }
  p.testemunho {
    font-size:18px;
    font-style: italic;
    color:#333;
    text-align: center;
    padding: 50px;
    z-index: 9999;
  }

}

footer {
  background-color: #f1f1f1;
}
footer .wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0px;
  box-sizing: border-box;
  background: #fff;
}
footer .bloco {
  display: inline-grid;
  margin: 0 auto;
  padding: 0px;
}
footer .menu {
  width: 18%;
  padding: 0 20px;
  box-sizing: border-box;
}
footer .atendimento {
  width: 35%;
  padding: 0 20px;
  box-sizing: border-box;
}
footer .contatos {
  width: 44%;
  padding: 0 20px;
  box-sizing: border-box;
}
@media screen and (max-width: 600px) {
  footer .bloco {
    width: 100% !important;
  }
  footer .menu {
    display: none;
  }
  footer .bloco p,
  footer .bloco h3 {
    text-align: center;
    line-height: 1.5;
  }
}
footer .bloco p {
  font-family: 'Quicksand', sans-serif;
  margin: 4px;
  font-size: 1em;
}
footer .bloco p i {
  font-size: 1.2em;

}
footer a {
  line-height: 1.5;
  font-size: 18px;
}
footer a:hover {
  text-decoration:  underline;
}
footer .copyright {
  text-align: center;
  padding: 2px 0;
  width: 100%;
  background-color: #29773c;
}
footer .copyright p,
footer .copyright p a.politica {
  font-family: 'Quicksand', sans-serif;
  color:  #f1f1f1;
  font-size: 14px;
}

/* PARALAX */
.px-container{
    /* padding:200px 20px; */
    text-align:center;
    color:#f1f1f1;
}
.px-container p {
  font-size: 17px;
}
.px-container a {
  border-bottom: 1px #f1f1f1 dotted;
  color: #eee;
}
.px-container a:hover {
  border-bottom: 1px #f1f1f1 solid;
}

.section-hidro {
    background-image:url(../img/section-hidro.jpg);
    /* height: 200px; */
    background-size:  contain;
    text-align:  center;
    color:  #f1f1f1;
    margin: 80px 0 40px 0;
}
.section-micro {
    background-image: url(../img/section-micro.jpg);
    background-position: center;

    /* height: 200px; */
    text-align: center;
    color:  #f1f1f1;
    margin: 80px 0 40px 0;
}


/* INSTAFEED */

#instagram {
  margin-top: 80px;
}

#instafeed {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
}


#instafeed  a {
	flex: auto;
  background-size: cover !important;
  background-position: center;
  width: 25%;
  padding-bottom: 25%;
  align-items: right;
  position: relative;
}
@media screen and (max-width: 800px) {
  #instafeed  a {

    width: 50% !important;
    padding-bottom: 50% !important;
  }
}

/* LINK WHATSAPP */
#link-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: block;
  background: #33CC66;
  color: #fff;
  padding: 10px 16px;
  border-radius: 30px;
  line-height: 1.8em;

  font-family: 'Roboto Slab', serif;
  font-size:1.2em;

  transition: 0.2s;
  z-index:  9999;
}
#link-whatsapp:hover {
  background: #1EAE54;
}
#link-whatsapp i {
  font-size: 24px;
}
@media screen and (max-width: 800px) {
  #link-whatsapp span {
    display:  none;
  }
  #link-whatsapp i {
    font-size: 32px;
    padding-top: 4px !important;
  }
}
