html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', Arial, "Helvetica Neue", Helvetica, sans-serif;
}

/* SCROLL BAR */

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #888; 
}

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

/* GERAIS */

a {
  text-decoration: none;
}

/* SECTIONS  */

section {
  padding: 60px 0;
}

section h2 {
  font-size: 2em;
  text-transform: uppercase;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
}

section h6 {
  font-size: 1.125em;
  text-align: center;
  margin-bottom: 60px;
}

/* MODALS */

.modal {
  padding-right: 0 !important;
}

.modal-content {
  position: relative;
  background-clip: unset;
}

.modal-header {
  position: fixed;
  width: 100%;
  z-index: 10;
  background: #fff;
  padding-right: 30px;
}

.modal-body {
  padding-top: 70px;
}

.modal-full {
  min-width: 100%;
  margin: 0;
}

.modal-full .modal-content {
  min-height: 100vh;
}

/* COlORS */

.html5-color {
  color: #E34E27;
}

.css3-color {
  color: #238CC8;
}

.js-color {
  color: #F0D91E;
}

.bootstrap-color {
  color: #553E7C;
}

/* HEADER */

/* MAIN */

main {
  background-image: url('../images/main-bg.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
  color: #fff;
}

.overlay {
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 1;
  background: #000;
  opacity: 0.70;
}

.hero {
  z-index: 2;
  text-align: left;
}

.hero h1 {
  font-size: 4em;
  color: #fff;
  font-weight: bold;  
  max-width: 1200px;
}

.hero p {
  font-size: 1.5em;
  margin-bottom: 40px;
}

.hero span {
  font-weight: bold;
}

@media only screen and (max-width: 800px) {
  .hero {
    text-align: center;
  }
  .hero h1 {
    font-size: 2.5em;
  }
  .hero p {
    font-size: 1.125em;
  }
}

/* PORTFOLIO */

.project-col {
  position: relative;
}

.project-info {
  position: fixed;
  width: 33%;
  height: 100%;
}

.project-info p {
  max-width: 660px;
}

.item-content img {
  width: 350px;
}

.stack ul li {
  font-size: 1.5em;
}

.stack ul li i {
  font-size: 1.125em;
}

@media only screen and (max-width: 991px) {
  .row > .col-md-12:first-child {
    margin-bottom: 30px;
  }
  .row > .col-md-12:last-child {
    margin-top: 30px;
  }
}

@media only screen and (max-width: 800px) {
  .row > .col-lg-4:nth-child(even) {
    margin: 30px 0;
  }
  .row > .col-md-12:first-child {
    margin-bottom: 0px;
  }
  .row > .col-md-12:last-child {
    margin-top: 0px;
  }
  .project-col {
    order: -1;
  }
  .project-info {
    position: relative;
    width: 100%;
  }
}

/* ABOUT */

.socials {
  margin: 20px 0;
}

.socials ul {
  display: flex;
}

.socials ul li {
  margin: 0 10px;
}

.rounded-corners {
  border-radius: 4px;
  box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, .7);
}

@media only screen and (max-width: 800px) {
  .socials ul {
    justify-content: center;
  }
  .btn-curriculo {
    text-align: center;
    margin-bottom: 30px;
  }
}

/* SERVICES */

.service-icon {
  border: 1px solid #e2e2e2;
  max-width: 100px;
  max-height: 250px;
  margin: 0 auto;
  border-radius: 50%;
  padding: 30px;
  transition: all .2s;
}

.service-icon:hover {
  background: #343B40;
  color: #fff;
}

.services h4 {
  margin: 20px 0;
}

@media only screen and (max-width: 800px) {
  .service {
    margin-bottom: 40px;
  }
}

/* Contact */

.formphp label.nao-aparece, .formphp input.nao-aparece {
  display: none !important;
}

.form-success {
  max-width: 550px;
  margin: 0 auto;
  text-align: center;
  padding: 10px 0px;
  border-radius: 4px;
  color: #fff;
  background: #31aa39;
  display: none;
}

.form-error {
  max-width: 550px;
  margin: 0 auto;
  text-align: center;
  padding: 10px 0px;
  border-radius: 4px;
  color: #fff;
  background: #f64540;
  display: none;
}

.contact .socials ul {
  justify-content: center;
  margin-bottom: 0;
}

/* FOOTER */

.footer {
  position: relative;
}

.scroll-up {
  position: absolute;
  top: -50px;
  right: 10px;
}

.scroll-up i {
  /* font-size: 1.5rem; */
  color: #fff;
  border: 2px solid;
  padding: 5px;
}

/* This is a compiled file, you should be editing the file in the templates directory */
.pace {
  -webkit-pointer-events: none;
  pointer-events: none;

  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.pace-inactive {
  display: none;
}

.pace .pace-progress {
  background: #ffffff;
  position: fixed;
  z-index: 2000;
  top: 0;
  right: 100%;
  width: 100%;
  height: 2px;
}

/* JavaScript Simples-Anime */

.js [data-anime] {
  opacity: 0;
}
.js .anime {
  opacity: 1;
  transform: none;
  transition: transform .8s, opacity .8s;
}

/* CSS personalizado dependendo da animação desejada */

.js .fadeInDown {
  transform: translate3d(0,-20px,0);
}
.js .fadeInUp {
  transform: translate3d(0,20px,0);
}
.js .fadeInRight {
  transform: translate3d(20px,0,0);
}
.js .fadeInLeft {
  transform: translate3d(-20px,0,0);
}