body {
  font-family: "Roboto", "Arial";
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  font-size: 14px;
}

section:focus {
  outline: none;
}

/*-----------
  ANIMAÇÃO
-----------*/
.js--wp-1,
.js--wp-2 {
    opacity: 0;
    animation-duration: 1s;
}

/*-------------------------
  CUSTOMIZAÇÃO BOOTSTRAP 4
---------------------------*/
.btn-primary:link,
.btn-primary:visited {
  background: #0051a9;
  border: #0051a9;
}

.btn-primary:hover,
.btn-primary:active {
  background: #003975;
}

.bg-primary {
  background: #0051a9 !important;
}

.input-form:focus {
  outline: none !important;
}

/* ESTILIZAÇÃO */

/*-------------------
        HEADER
-------------------*/

#main-header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(../img/home-min.jpg);
  height: 100vh;
  background-size: cover;
  background-attachment: fixed;
}

#main-nav .nav-link:link,
#main-nav .nav-link:visited,
#main-nav .nav-link:active {
  color: #fff;
  border-bottom: 1px transparent solid;
  transition: border-bottom 0.2s, color 0.2s;
}

#main-nav .nav-link:hover {
  border-bottom: 1px #0051a9 solid;
}

.hero-box {
  background-color: rgba(255, 255, 255, 0.7);
}

.hero-text {
  font-weight: 700;
  color: #1a1a1a;
}

#hero-row {
  height: 80vh;
}

/*-------------------
        SOBRE
-------------------*/

.section-title {
  font-size: 35px !important;
  font-weight: 200 !important;
}

.section-title:after {
  display: block;
  height: 1px;
  background-color: #1a1a1a73;
  content: " ";
  width: 100px;
  margin: 0 auto;
  margin-top: 10px;
}

.section-detail {
  font-weight: 300 !important;
}

#blue-card,
#gray-card {
  height: 255px;
}

@media (max-width: 991px) {
  #blue-card,
  #gray-card {
    height: auto;
  }
}

/* BLUE CARD */

#blue-card .card-header,
#blue-card i,
#blue-card h4,
#blue-card .card-body,
#blue-card p{
  transition: 0.3s !important;
}

#blue-card:hover .card-header {
  background: #fff !important;
}

#blue-card:hover i {
  color: #0051a9;
}

#blue-card:hover h4 {
  color: #0051a9;
}

#blue-card:hover .card-body {
  background: #0051a9 !important;
}

#blue-card:hover p {
  color: #fff;
}

/* GRAY CARD */

#gray-card .card-header,
#gray-card i,
#gray-card h4,
#gray-card .card-body,
#gray-card p{
  transition: 0.3s !important;
}

#gray-card:hover .card-header {
  background: #fff !important;
}

#gray-card:hover i {
  color: #6c757d;
}

#gray-card:hover h4 {
  color: #6c757d;
}

#gray-card:hover .card-body {
  background: #6c757d !important;
}

#gray-card:hover p {
  color: #fff;
}

/*-------------------
      PROJETOS
-------------------*/

#projetos {
  background-color: #323232;
}

#projetos .section-title:after {
  background-color: rgba(255, 255, 255, 0.5);
}

.projects-text {
  font-weight: 300;
}

/*-------------------
      SERVIÇOS
-------------------*/
@media (min-width: 768px) {
  .first-images-row {
    margin-top: 60px !important;
  }

  .last-images-row {
    margin-bottom: 100px;
  }

  .zoom {
    overflow: hidden;
    background: #000;
  }

  .zoom img {
    opacity: 1;
    max-width: 100%;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s, opacity 0.3s;
  }

  .zoom:hover img {
    opacity: 0.5;
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }

  .zoom .image-title {
    opacity: 0;
    position: absolute;
    left: 5%;
    right: 5%;
    bottom: 20px;
    z-index: 10;
    padding-bottom: 22%;
    color: #fff;
    text-align: center;
    font-weight: 300 !important;
    transition: opacity 0.3s;
  }

  .zoom:hover .image-title {
    opacity: 1 !important;
    position: absolute;
    display: block !important;
  }
}

/*-------------------
      CONTATO
-------------------*/
#contato {
  background-image: linear-gradient(
    to bottom,
    rgba(0, 81, 169, 1),
    rgba(0, 187, 245, 1)
  );
}

#contato .section-title:after {
  background-color: #fff;
}

#contato .card {
  border: hidden;
}

#user-icon {
  padding-left: 2px;
  padding-right: 1,6px;
}

#confirmation-header{
  font-size: 16px !important;
}

/*--------------
  MEDIA QUERYS
----------------*/

@media (min-width: 576px) {
  .navbar-nav {
    font-size: 14px !important;
  }

  .hero-box {
    width: 400px;
  }

  #ilustracao {
    width: 400px;
  }
}

@media (max-width: 575px) {
  @media (max-height: 850px) {
    .hero-text {
      font-size: 50px;
    }

    .hero-box {
      width: 300px;
    }
  }
}

@media (max-width: 767px) {
  #servicos p {
    padding-bottom: 30px;
  }

  #service-image {
    padding-bottom: 20px;
    background: #fff;
  }

  .zoom {
    overflow: hidden;
    background: #000;
  }

  .zoom img {
    opacity: 0.6;
    background: #fff;
  }

  .zoom .image-title {
    position: absolute;
    display: block !important;
    left: 5%;
    right: 5%;
    bottom: 0px;
    z-index: 10;
    padding-bottom: 33%;
    color: #fff;
    text-align: center;
    font-size: 12px;
  }
}

@media (max-width: 991px) {
  #sobre .about-col {
    margin-top: 25px !important;
  }
}
