body{
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  /* background-color: #29344a; */
  background-color: #10141d;
  color: #fff;

  /* -- Disable selection -- */
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

/* header{
  position: sticky;
  top: 0;
  z-index: 999;
} */

html{
  scroll-behavior: smooth;
}

#VideoBackground{
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
  opacity: 30%;
}

* {
  margin: 0;
  padding: 0;
}

.nav-list a, .logo{
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.logo {
  font-size: 4vh;
  text-transform: uppercase;
  letter-spacing: 4px;
}

.myname{
  color: #fff;
  font-size: 4vh;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-weight: normal;

  position: absolute;
  padding-top: 2%;
  margin-left: auto;
  margin-right: auto;
  width: 100%;

  /* margin: 0;
  padding: 0;
  float: left;
  padding-left: 42%;
  margin-top: 2%; */
}

.wrapper{
  position: relative;
  overflow: hidden;
}

#pic{
  display: block;
  margin-top: 4%;
  margin-left: auto;
  margin-right: auto;
  width: 20%;
  border-radius: 100%;
  border: 4px solid #373b42;
  padding-bottom: 0%;
}

#bio{
  display: block;
  text-align: justify;
  margin-top: 5%;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

h1{
  text-align: center !important;
}

.buttonContatos{
  width: 200px;
  height: 70px;
  padding: 10px;
  line-height: 50px;
  text-align: left;
  text-indent: 10px;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 16px;
  color: #333;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 10px;
  border: 1px solid #333;
  background-color: white;
  cursor: pointer;
  margin: 20px;
  position: relative;
  left: 13%;
}

.links{
  text-align: center !important;
}

/* ------------ Header ------------ */
nav {
  /* display organize by each side other; justify-content add space around (half of space between them); aligin-items center vertical; */
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-family: Arial, Helvetica, sans-serif;
  background: #23272e;
  height: 6vh;
}

.nav-list {
  font-size: 2.6vh;
  list-style: none;
  display: flex;
}

.nav-list li {
  letter-spacing: 3px;
  margin-left: 32px;
}

/* ------------ Mobile ------------ */
.mobile-menu div {
  width: 32px;
  height: 2px;
  background: #fff;
  margin: 1.5vh;
  border-radius: 999px;
  transition: 0.3s;
}

.mobile-menu {
  display: none;
  cursor: pointer;
}

/* For mobile screens */
@media (max-width: 810px) {
  #pic{
    width: 50% !important;
  }
  #bio{
    width: 80% !important;
  }
  .project{
    width: 40vh !important;
  }
}
@media (max-width: 999px){
  body{
    /* Hiden itens overflows which do browser create scroll horizontal */
    overflow-x: hidden;
  }
  .nav-list{
    /* justify-content, space itens in space avaliable; */
    position: absolute;
    top: 6vh;
    right: 0;
    width: 100vw;
    height: 94vh;
    background: #373b42;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    transform: translateX(100%);
    transition: transform 0.09s ease-in;
    /* box-shadow: -20px 0 20px -20px black; */
  }
  .nav-list li {
    margin-left: 0;
    opacity: 0;
  }
  .mobile-menu {
    /* ajust moble menu with menu itens*/
    display: block;
  }
  .projects{
    flex-direction: column !important;
    align-items: center;
  }
  .project{
    width: 100vh;
    flex-basis: 13%;
  }
  .modal-box-contents{
    margin-top: 40% !important;
  }
  #bio{
    margin-top: 10%;
  }
}

.nav-list.active {
  transform: translateX(0);
}

@keyframes navLinkFade {
  from{
    opacity: 0;
    transform: translateX(50px);
  }
  to{
    opacity: 1;
    transform: translateX(0);
  }
}

.mobile-menu.active .line-1{
  transform: rotate(-45deg) translate(-8px, 8px);
}

.mobile-menu.active .line-2{
  opacity: 0;
}

.mobile-menu.active .line-3{
  transform: rotate(45deg) translate(-5px, -7px);
}

/* ------------ Modal Boxes ------------ */
.projects, .jobs{
  flex-direction: row;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.project{
  border-left: 8px solid #192e50;
  display: table-cell;
  vertical-align: middle;
  margin-top: 6vh;
  color: #fff;
  flex-basis: 23%;
  padding-left: 1%;
  padding-right: 1%;
  padding-bottom: 1%;
  cursor: pointer;
  border-radius: 10%;
  /* border: 20px solid #373b42; */
  /* box-shadow: 0 0 4px #373b42; */
  background-color: rgba(55, 59, 66, .20);
}

.about-project, .about-job{
  text-align: justify;
  padding-top: 2%;
}

.modal-box{
  display: none;
  z-index: 1;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
  overflow-y: initial !important;
}

.modal-box-contents{
  backdrop-filter: blur(10px);
  background-color: rgba(55, 59, 66, .10);
  border: 1px solid #02779b;
  border-radius: 2%;
  margin: 15% auto;
  padding: 20px;
  width: 60%;
  position: absolute;
  z-index: 1;
  left: 17%;
  top: -20%;
  max-height: 80vh;
  overflow-y: auto;
}

/* Buttom close */
.modal-box-close{
  color: #aaa;
  float: right;
  font-size: 24px;
  font-weight: bold;
}

.buttonContatos img {
  position: relative;
  float: left;
  max-width: 26%;
  height: auto;
}

.contatos a{
  text-decoration: none;
}

.job{
  /* border-radius: 10%; */
  display: table-cell;
  vertical-align: middle;
  margin-top: 6vh;
  color: #fff;
  flex-basis: 50%;
  padding-left: 1%;
  padding-right: 1%;
  padding-bottom: 1%;
  cursor: pointer;
  border-left: 8px solid #192e50;
  background-color: rgba(55, 59, 66, .20);
  /* border: 15px solid #373b42; */
  /* box-shadow: 0 0 4px #373b42; */
}

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

/* Track */
::-webkit-scrollbar-track {
  background: #373b42;
}

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

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

/* ------------ Hovers ------------ */
.buttonContatos:hover {
  opacity: 0.7;
}

.project:hover, .job:hover{
  border-left: 8px solid #02779b !important;
  box-shadow: 0 0 1px #02779b;
  opacity: 0.95;
  transform: scale(1.02);
  transition: transform .3s;
}

.modal-box-close:hover,
.modal-box-close:focus{
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.link:hover{
  transform: scale(1.20);
  transition: transform .3s;
}

.myname:hover{
  opacity: 0.8;
}
