* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Ubuntu', sans-serif;
  font-size: 18px;
  margin: 0;
  overflow-x: hidden;
  padding: 0;
}

h2 {
  font-size: 2em;
  color: #000033;
}

h3 {
  font-size: 1.25em;
  color: #000033;
}

p {
  font-size: 1em;
  line-height: 1.5em;
  color: #666666;
}

#button-top {
  
  opacity: .5s, visibility .5s;
  background-color: #00CCCC;
  border-radius: 4px;
  bottom: 30px;
  display: inline-block;
  height: 50px;
  opacity: 0;
  position: fixed;
  right: 30px;
  text-align: center;
  transition: background-color .3s;
  visibility: hidden;
  width: 50px;
  z-index: 2000;
  
}

#button-top::after {
  
  color: #fff;
  content: "\f077";
  font-family: FontAwesome;
  font-size: 2em;
  font-style: normal;
  font-weight: normal;
  line-height: 50px;
  
}
#button-top:hover {
  cursor: pointer;
  background-color: #000033;
}
#button-top:active {
  background-color: #555;
}
#button-top.show {
  opacity: 1;
  visibility: visible;
}

/* 01 - Header */

.main-menu {
  
  align-items: center;
  background-color: #000033;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  height: 115px;
  justify-content: space-around;
  overflow: hidden;
  padding: 0.5em;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000 !important;
  
}

.main-menu .menu-wrap {
  display: flex;
  list-style-type: none;
}

.main-menu .menu-wrap .menu-link {
  margin: 0 2em;
}

.main-menu .menu-wrap .menu-link a {
  
  color: #fff;
  font-style: italic;
  font-weight: 400;
  text-decoration: none;
  
}

.main-menu .menu-wrap .menu-link a:hover {
  color: #00CCCC;
}

/* .logo {
  float: left;
  align-self: center;
} */

/* 02 - Banner */

.banner-wrap {
  position: relative;
}

.banner {
  margin-top: 65px;
}

.banner-img {
  background-size: cover;
  width: 100%;
  height: 550px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-img-1 {
  background-image: url('../../img/banner-img-1.png');
  background-position-y: -4em;
}

.banner-img-2 {
  background-image: url('../../img/banner-img-2.png');
}

.banner-text {
  text-align: center;
}

.banner-title {
  font-size: 5em;
  color: #fff;
  font-weight: 700;
}

.title-orange {
  color: #fff;
}

.banner-subtext {
  color: #fff;
  margin: 0 auto;
}



/* 03 - About Us */

.about-us {
  
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  margin: 0 15em;
  padding: 5em 0;
  
}

.about-img, .about-text {
  flex: 1;
}

.about-text {
  margin-left: 2em;
}

.about-img {
  display: flex;
  justify-content: center;
  max-height: 290px; 
}
.about-us h2 {
  padding-bottom: 0.5em;
}



/* 04 - Nosso Serviços - Our Services */

.servicos {
  background-color: #efefef;
  height: 100%;
  padding-bottom: 2em;
  text-align: center;
}

.servicos h2 {
  padding: 4rem 0 2em 0;
}

.servicos > .servicos-wrap {
  
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  margin: 0 auto;
  width: 80%;
  
}

.coluna1  {
  margin-bottom: 2em;
  text-align: center;
  width: 300px;
}

.coluna1 h3 {
  margin: 1em 0;
}

/* 05 - Como Funciona ? How it Works? */

.how-it-works-container {
  
  background-color: #000033;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around; 
  
}

.how-it-works-text, .how-it-works-image {
  flex: 1;
}

.how-it-works-text {
  margin: 3em 3em;
  width: 45%;
}

.how-it-works-image {
  background: url('../../img/how-it-works.jpg');
  background-size: cover;
}

.how-it-works h2, .how-it-works p {
  color: #efefef;
}

.how-it-works-text .sub-title {
  color: #00CCCC;
  font-weight: 900;
  margin-top: 2em;
}


.how-it-works-text a {
  color: #FF9900;
}

/* 06 - Por que Fontaniva? */

.why-fontaniva {
  text-align: center;
  padding: 4rem 0;   
}

.why-fontaniva .sub-title {
  color: #00CCCC;
  font-weight: 900;
  text-align: center;
  font-size: 1.2em;
  margin-bottom: 2em;
}

.why-fontaniva h2 {
  margin-bottom: 0.5em;
}

.container-why-top, .container-why-bot {
  
  -webkit-flex-flow: row wrap;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-box;
  display: -webkit-flex;
  flex-flow: row wrap;
  justify-content: space-around;
  margin: 0 auto;
  width: 80%;
  
}

.why-fontaniva img {
  margin-bottom: 0.5em;
}

.why-fontaniva .column-why h3 {
  margin: 0.5em 0;
}

.column-why {
  width: 300px;
  padding: 1em;
}
/* 07 - Perguntas Frequentes */

.ask {
  background-color: #efefef;
  padding: 2em 5em;
}

.ask h2 {
  padding: 2rem 0;
  text-align: center;
}

.accordion-container {
  margin: 0 auto;
  width: 90%;
}

button.accordion {
  
  align-items: center;
  background-color: #efefef;
  border-bottom: 1px solid #CCCCCC !important;
  border: none;
  color: #000033;
  cursor: pointer;
  display: flex;
  font-size: 0.750em;
  justify-content: space-between;
  outline: none;
  padding: 1em;
  text-align: left;
  transition: background-color 0.2s linear;
  width: 100%;
  
}

button.accordion:after {
  content: '\f107';
  float: right;
  font-family: "fontawesome";
  font-size: 2em;
}

button.accordion.is-open:after {
  content: '\f106';
  font-size: 2em;
  margin: 0.5em 0;
}

button.accordion:hover, button.accordion.is-open {
  background-color: #efefef;
}

.accordion-content {
  
  font-size: 0.8em;
  max-height: 0;
  overflow: hidden;
  padding-top: 1em;
  transition: max-height 0.2s ease-in-out;
  
}

/* 08 - Contato */

.contact {
  background-color: #fff;
  padding: 3em 0;
}

.contact h2 {
  text-align: center;
}

.form,
.wpcf7-form {
  
  align-items: flex-start;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  margin: 0 auto;
  width: 100%;
  padding: 1em;
  
}


.left, .right {
  width: calc(50% - 0.5em);
}


.contact p {
  
  text-align: center;
  margin: 0 auto;
  
}

.wpcf7-form .right input {
  font-weight: bold;
}

.form-bold {
  
  font-weight: bold;
  
}

.wpcf7-form-control-wrap {
  position:  relative;
  width:  100%;
  display:  block;
}

span.wpcf7-not-valid-tip {
  position:  absolute;
  max-width: 100%;
  top: 23px;
  right: 7px;
  font-size: 12px !important;
  line-height: 12px;
}

.wpcf7-form input {
  
  border-radius: 0.250em;
  border: 1px solid #666666;
  font-size: 1em;
  margin-bottom: 2em;
  padding: 0.5em 1em;
  width: 100%;
  
}


.wpcf7-form textarea {
  
  border-radius: 0.250em;
  border: 1px solid #666666;
  font-family: 'Ubuntu', sans-serif;
  font-size: 1em;
  font-weight: 400;
  resize: none;
  width: 100%;
  padding: 5px 0px 0 20px;
  
}

.wpcf7-form input[type="submit"] {
  
  background-color: #00CCCC;
  border-radius: 0.250em;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 1em;
  line-height: 3em;
  width: 100%;
  margin-bottom: 0;
  padding: 0;
  
}

.wpcf7-response-output {
  width: 100%;
  padding: 20px !important;
}


/* 09 - Footer */

.footer {
  background-color: #000033;
  color: #999999;
  font-size: 0.8em;
  padding: 3em 0;
  text-align: center;
}


/* 10 - Media Queries */

@media only screen and (max-width: 960px) {
  
  .ask h3 {
    font-size: 1em;
  }
  
  .how-it-works-text {
    text-align: center;
    margin: 3em 1em;
  }
  
  .coluna1 {
    width: 440px;
  }
  .how-it-works-image {
    display: none;
  }
  
  .left, .right {
    margin-bottom: 1em;
  }
  .about-us {
    flex: auto;
  }
  
  button.accordion:after {
    display: none;
  }
  
  button.accordion.is-open:after {
    display: none;
  }
  .banner-img-1 {
    background-position-y: 0;
  }
}

@media only screen and (max-width: 660px) {
  .banner-img {
    height: 400px !important;
  }

  .ask {
    padding: 2em 0em;
  }
  
  .banner-img-1, .banner-img-2 {
    background-position-x: -4em;
    background-position-y: 0;
  }
  .about-us, .about-img {
    flex: auto;
  }

  .wpcf7-form {
    flex-direction: column;
  }
  
  .left, .right {
    width: calc(100% - 1em);
  }

  .banner-title {
    font-size: 3em;
  }
  
  .banner-subtext {
    font-size: 0.9em;
  }
  
  .main-menu ul {
    font-size: 0.6em;
  }
  
  .about-text {
    margin-top: 1em;
  }
}

@media only screen and (max-width: 1248px) {
  .about-us {
    margin: 0 1em;
  }
 
  .ask {
    padding: 2em 0em;
  }
}

@media only screen and (max-width: 375px) {
  .main-menu ul {
    font-size: 0.6em;
  }
  
  .ask {
    padding: 2em 0em;
  }
  
  .main-menu {
    position: fixed;
  }
  
  .logo {
    max-height: 30px;
  }
  
  .main-menu ul li {
    margin: 0 0.5em;
  }
  
  .banner-title {
    font-size: 2em;
  }
  
  .banner-subtext {
    font-size: 0.9em;
  }
}

@media only screen and (min-width: 1500px) {
  .banner-img-1 {
    background-position-y: -10em;
  }

  .banner-img-2 {
    background-position-y: -7em;
  }
  
}

