/*SCROLLBAR*/
/* width */
::-webkit-scrollbar {
  width: 10px;
	background: #333;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #d2aa01;
	transition: .3s;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: "Mohave", sans-serif;
  background-color: #eee;
}

a {
  text-decoration: none;
}

p {
  margin: 20px 0;
  line-height: 1.8rem;
}

.bg-black {
  background-color: #333 !important;
}

.btn-primary {
  background-color: #005967;
  color: white;
  padding: 10px;
  margin-top: 10px;
  font-size: 1.2rem;
  transition: 0.4s;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 3px;
  border: none;
}

.btn-primary:hover,
.btn-secondary:hover {
  opacity: 0.8;
}

.btn-secondary {
  background-color: #d2aa01;
  color: white;
  padding: 10px;
  margin-top: 10px;
  font-size: 1.2rem;
  transition: 0.4s;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 3px;
  border: none;
}

/*SIDEBAR*/
.sidebar {
  width: 15%;
  background-color: #333;
  padding: 20px;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  animation: showSideBar 0.5s forwards;
  z-index: 999;
}

@keyframes showSideBar {
  from {
    opacity: 0;
    transform: translateX(-200px);
  }
  to {
    opacity: 1;
    transform: initial;
  }
}

.img-header {
  max-width: 200px;
  padding: 10px;
}

.site-title {
  font-size: 2rem;
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: -0.15rem;
}

.site-subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  color: #eee;
}

.navbar {
  display: flex;
  flex-direction: column;
  padding: 40px 0;
}

.nav-links {
  padding: 10px 4px;
  margin: 5px 0;
  border-bottom: 1px solid #fff;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.3s;
}

.nav-links:hover {
  background: #aaa;
  color: white;
}

.nav-links a {
  color: #fff;
  width: 100%;
  display: block;
}

.nav-links:hover a {
  color: white;
  text-decoration: none;
}

.contato-title {
  font-size: 1.2rem;
  color: #fff;
  font-weight: bold;
  padding: 5px 0;
}

.social-links i {
  font-size: 1.8rem;
  margin-right: 5px;
}

.contato p {
  margin: 4px 0;
  transition: 0.3s;
}

.contato a {
  color: #fff;
	transition: .3s;
}

.contato a:hover {
  opacity: 0.3 !important;
}

.mobile-logo {
  max-width: 200px;
}

/*MAIN CONTENT*/
#content {
  width: 80%;
  position: absolute;
  right: 0;
  top: 0;
  padding: 20px;
}

.container {
  background-color: white;
  padding: 60px 40px;
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
}

.horizontal-flex {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

.column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.col-6 {
  width: 50%;
  padding: 10px;
}

.col-12 {
  width: 100%;
}

.divisor {
  padding: 1px 0;
  margin: 20px 0;
  width: 100%;
  background: #eee;
}

.section-title {
  color: #111;
  font-size: 3rem;
  padding: 20px 0;
  line-height: 3.5rem;
  font-weight: 300;
}

.title {
  font-size: 5rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: -5px;
}

.subtitle {
  font-size: 3rem;
  font-weight: 300;
}

/*PROJETOS*/
#projetos .row {
  flex-wrap: wrap;
}
.projeto-img {
  max-width: 600px;
  object-fit: cover;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

.projeto-titulo {
  font-size: 2rem;
  color: #005967;
  font-weight: 800;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #005967;
}

.projeto-data {
  font-size: 1rem;
  font-weight: 300;
  color: #808080;
  margin: 10px 0;
}

.projeto-resumo {
  font-size: 1rem;
  line-height: 1.2rem;
  color: #333;
  margin: 10px 0;
  font-weight: 500;
}

.projeto-tecs {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.2rem;
}

.projeto-links {
  margin: 20px 0;
  display: flex;
}

.projeto-links a {
  background-color: #ccc;
  color: white;
  padding: 8px 16px;
  font-size: 1.2rem;
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 20px;
  margin-right: 5px;
  transition: 0.4s;
}

.projeto-links a:hover {
  opacity: 0.6;
}

.projeto-links a:first-child {
  background-color: #015a68;
}

.projeto-links a:last-child {
  background-color: #d2aa01;
}

/*INÍCIO*/
#inicio {
  height: 100vh;
  display: flex;
  align-items: center;
  background: url("../img/inicio-bg.jpg") center center;
  background-size: cover;
  background-attachment: fixed;
}

#inicio p {
  font-size: 1.4rem;
  line-height: 2rem;
}

/*FORMULÁRIOS*/
.wpcf7-form input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="password"],
.wpcf7 input[type="search"],
.wpcf7 input[type="number"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="range"],
.wpcf7 input[type="date"],
.wpcf7 input[type="month"],
.wpcf7 input[type="week"],
.wpcf7 input[type="time"],
.wpcf7 input[type="datetime"],
.wpcf7 input[type="datetime-local"],
.wpcf7 input[type="color"],
.wpcf7 select,
.wpcf7 textarea {
  width: 99% !important;
  padding: 10px 8px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 1rem;
  margin: 3px 0;
}

.wpcf7 {
  width: 99%;
}

/*SOBRE*/
#sobre .section-title {
  font-size: 4rem;
}
#sobre p {
  font-size: 1.4rem;
}

/*SERVIÇOS*/
#servicos .section-title {
  color: white;
  margin-bottom: 20px;
}

.card {
  padding: 20px;
  background-color: white;
  margin: 4px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  border-radius: 5px;
  width: 33%;
  height: 400px;
}

.card h4 {
  font-size: 2rem;
  font-weight: bold;
  margin-top: 20px;
  color: #005967;
}

.card p {
  font-size: 1.2rem;
  color: #404040;
}

.card img {
  max-height: 100px;
  padding: 10px;
}

#contato .section-title {
  color: white;
}

.mobile-menu {
  display: none;
}

.hamburger i {
  color: #fff;
  font-size: 2rem;
}

@media (max-width: 40rem) {
  section {
    padding: 20px;
  }
  .card {
    width: 100%;
  }
  #inicio {
    height: auto;
  }
  .col-6 {
    width: 100%;
  }
  #content {
    width: auto;
    position: relative;
    padding: 0;
  }
  .container {
    padding: 60px 20px;
    width: auto;
  }
  .row {
    flex-direction: column;
  }

  .horizontal-flex {
    flex-direction: column;
  }

  .sidebar {
    display: none;
    width: 50%;
    height: 100%;
  }

  .mobile-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  header {
    padding: 10px 20px;
    background: #333;
  }

  .img-mobile {
    width: 100%;
  }

  .show-menu {
    display: block;
  }

  .img-header {
    max-width: 100%;
    padding: 0;
    margin-bottom: 10px;
  }

  .title {
    font-size: 3rem;
  }

  .subtitle {
    font-size: 1.5rem;
  }

  .contato-info a {
    font-size: 0.85rem;
  }
  .fa-envelope {
    display: none !important;
  }

  .social-links i {
    font-size: 1.8rem;
  }
}
