@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;

  color: white;
}
html, body {
  scroll-behavior: smooth;
}
body {

  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 1) 64px,
      rgba(0, 0, 0, 0) 64px,
      rgba(0, 0, 0, 0) 75%,
      rgba(245, 101, 48, 0.1) 100%
    ),
    url("poly-grid-dark.svg");
  background-size: cover;
  background-attachment: fixed;
  font-size: 16px;
  width: 100vw;
  overflow-x: hidden;
}

header {
  backdrop-filter: blur(5px);
  background: rgba(255, 255, 255, 0.1);
  z-index: 2;
  position: fixed;
  width: 100vw;
  height: 4rem;
  top: 0;
}
.conteudoCabecalho {
  display: flex;
  justify-content: space-around;
  width: 100vw;
  padding: 1rem;
}
.conteudoCabecalho .icons {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.linksNaPagina {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.linkProfissional {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.redondo {
  border-radius: 1.25rem;
  padding: 0.4rem 2rem;
  background: black;
  font: 600 1rem "Montserrat";
  border: 1px solid white;
}
.linkProfissional i {
  border: 1px solid white;
  padding: 0.4rem;
  border-radius: 0.5rem;
  background: black;
  box-shadow: 0 1px 4px gray;
}
.linkProfissional i:hover,
.redondo:hover  {
  color: black;
  background: white;
}

a img {
  height: 2.25rem;
  width: 2.25rem;
  border-radius: 0.5rem;
}

a {
    text-decoration: none;
    color: #fcfafa;
}
.nome {
    display: flex;
    align-items: center;
    font: 600 1.4rem "Poppins", sans-serif;
    gap: 0.8rem;
}
.nome span:hover {
    color: #f56530;
}

.primeiroNav {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.menuBurgao, .navMobile {
    display: none;
}


.containerHero {
  display: flex;
  align-items: center;
  height: 100vh;
  width: 65vw;
  margin: auto;
  gap: 5rem;
}

#hero img {
  height: 45%;
  box-shadow: 0 0 12px rgba(255, 110, 50, 0.6);
  animation: morph 5s infinite alternate ease-in-out;
}
@keyframes morph {
  0% {
    border-radius: 40% 20% 100% 70% / 20% 40% 100% 70%;
  }
  50% {
    border-radius: 60% 30% 80% 50% / 30% 60% 90% 50%;
  }
  100% {
    border-radius: 20% 50% 90% 60% / 40% 20% 80% 40%;
  }
}

.decoracaoHero {
  display: flex;
  gap: 1rem;
}
.decoracaoHero span {
  width: 12px;
  background-color: white;
}
h1 {
  font: 700 34px "Poppins", sans-serif;
}
.azul {
  font: 300 22px "Montserrat", sans-serif;
  margin: 0.4rem 0;
}

p:nth-of-type(2) {
  margin-bottom: 0.6rem;
}
h2 {
  color: #f56530;
  font: 700 30px "Poppins";
  text-align: center;
  padding: 4rem 0 1rem;
}

#sobreMim {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 65vw;
  margin: auto;
  align-items: center;
}
.caixaInformacoes {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: auto;
}

.informacoes {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  backdrop-filter: blur(5px);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  width: 65vw;
  padding-bottom: 1rem;
}

#sobreMim img {
  width: 45%;
}
h3 {
  color: #a8a29e;
  font: 600 23px "Poppins";
}
.hobbies {
  display: flex;
  list-style: none;
  justify-content: space-around;
  width: 100%;
  margin: 1.5rem 0;
}
.hobbies li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hobbies i,
.hobbies img {
  color: #f56530;
  font-size: 19px;
  height: 20px;
  display: inline-block;
}
.containerHobbies {
  margin: 2.5rem 0 0;
  text-align: center;
}
#habilidades {
  width: 65vw;
  margin: auto;
}
.listaHabilidades {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
  width: 60%;
  margin: auto;
  backdrop-filter: blur(5px);
  background: rgba(255, 255, 255, 0.1);
  justify-content: space-evenly;
  padding: 0.4rem 0.5rem;
  border-radius: 7px;
}
.listaHabilidades li {
  margin: 0.2rem 0;
  width: 31%;
  padding: 1rem;
  border: 0.1px solid gray;
  border-radius: 6px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7),
    rgba(29, 25, 23, 1) 100%
  );
  font: 200 16px "Montserrat", sans-serif;
}
.listaHabilidades li:hover {
  transform: scale(1.1);
  box-shadow: 0 1px 3px #f0f0f0;
}
#habilidades i {
  font-size: 1.2rem;
}
.portfolio {
  display: flex;
  width: 80%;
  margin: auto;
  justify-content: space-evenly;
}
.projeto {
  flex: 1;
  max-width: 31%;
  max-height: min-content;
  position: relative;
}
.projeto img,
.projeto video {
  width: 100%;
  height: 100%;
  border: 1px solid gray;
  border-radius: 12px;
}
.projeto::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 60%,
    rgba(0, 0, 0, 0.8) 80%,
    rgba(0, 0, 0, 1) 100%
  );
  border-radius: 12px;
}
.projeto span {
  position: absolute;
  bottom: 3%;
  left: 10%;
  z-index: 1;
  font: 200 1.4vw "Montserrat", sans-serif;
}
.projeto:hover {
  transform: scale(1.1);
  box-shadow: 0 1px 4px white;
  border-radius: 12px;
}

.containerExperiecias {
  display: flex;
  flex-direction: row;
  width: 75%;
  margin: 1rem auto 7rem;
  gap: 3rem;
}

.academico,
.profissional {
  backdrop-filter: blur(5px);
  background: rgba(255, 255, 255, 0.1);
  text-align: center;
  border-radius: 15px;
  padding-bottom: 1.5rem;
}
.instituicao {
  display: flex;
  justify-content: space-evenly;
}
.academico {
  flex: 2;
  
}

.profissional {
  flex: 1;
}
.academico img {
  width: 80%;
  height: 80%;
  object-fit: cover;
  border-radius: 50%;
  padding: 1rem;
  margin: auto;
}
.infnet,
.ufrj {
  display: flex;
  flex: 1;
  flex-direction: column;
  font: 500 1.1rem "Montserrat";
  background-color: white;
  max-width: 40%;
  border-radius: 12px;
  margin: 0 0 2rem;
  text-align: center;
}
.graduacao {
  color: black;
  padding: 0 1rem 1rem;
  font: 400 16px "Montserrat", sans-serif;
}
.infnet:hover,
.ufrj:hover {
  transform: scale(1.1);
  box-shadow: 1px 1px 7px gray;
}

#experiencias h3 {
  padding: 1rem 0;
}
.profissional p {
  padding: 0 0.6rem;
  text-align: left;
}
footer {
  display: flex;
  padding: 3rem;
  background-color: black;
  align-items: center;
  justify-content: space-between;
}
footer img,
footer p {
  height: 2rem;
  border-radius: 8px;
  margin: 0.5rem;
}
 footer div {
  display: flex;
  align-items: center;
  
 }
.email i {
  color: #f56530;
  font-size: 32px;
}
.email:hover i {
  transform: scale(1.2);
  color: white;
}
.hidden {
  display: none;
}
.menuMobile {
  display: none;
}
@media screen and (max-width: 850px) {
    .primeiroNav, .divisao, header .linkProfissional{
        display: none;
    }
    .containerHero {
        flex-direction: column;
        gap:4rem;
        margin-top: 5.6rem;
        height: auto;
        margin-bottom: 2rem;
    }
    .decoracaoHero{
        order: 1;
    }
    #hero img {
        order: -1;
        height: auto;
        width: 95%;
        display: inline-block;
        object-fit: cover;
    }
    .conteudoCabecalho {
        justify-content: space-between;
        padding: 1rem 3rem;
    }
    .containerExperiecias {
        flex-direction: column;
        width:90%;
    }
    #habilidades {
      width: 85vw;
    }
    .listaHabilidades {
      flex-wrap: wrap;
      width: 80%;
      margin: auto;
      justify-content: space-evenly;
      padding: 0.4rem 0.5rem;
    }
    .listaHabilidades li {
      margin: 0.2rem 0;
      width: 48%;
      padding: 1rem;
      
    }
    .portfolio{
      flex-direction: column;
      width: 90%;
      margin: auto;
      gap: 1.5rem
    }
    .projeto {
      width: 96%;
      max-width: none;
    }
    #sobreMim {
      width: 80vw;

      
    }
    .informacoes {
      flex-direction: column;
      padding: 0 2rem;
      margin: auto;
    }
    .instituicao {
      flex-direction: column;
    }
    .infnet, .ufrj {
      max-width: none;
      width: 85%;
      margin: 0 auto 1rem;
    }
    .projeto span {
      font: 200 1rem "Montserrat", sans-serif;
    }
    .projeto:focus {
      transform: scale(1);
      box-shadow: 0 1px 4px white;
      border-radius: 12px;
    }


    /* menu hamburguer funcional */
    .menuBurgao {
      display: block;
      font-size: 1.8rem;
      background: none;
      border: none;
      cursor: pointer;
      z-index: 1001;
      position: relative;
    }
    
    .menuMobile {
      display: block;
      position: fixed;
      top: 0;
      right: 0;
      width: 60%;
      height: 100%;
      background-color: rgb(54, 54, 54) !important;
      box-shadow: 2px 0 6px rgba(0, 0, 0, 0.2);
      transform: translateX(+100%);
      transition: transform 0.3s ease;
      z-index: 1000;
      padding-top: 60px;
    }
    
    .menuMobile li {
      margin: 20px;
      list-style: none;
    }
    
    .menuMobile a {
      text-decoration: none;
      font-size: 1.2rem;
      color: #ffffff;
      transition: color 0.2s;
    }
    
    .menuMobile a:hover {
      color: #007bff;
    }
    
    .menuMobile div {
      position: absolute;
      bottom: 2rem;
      left: calc(50% - 1.5rem);
    }
    .menuMobile.open {
      transform: translateX(0);
    }
    
    .sobreposicao {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      z-index: 999;
    }
    .pessoais:last-of-type {
      padding-bottom: 0.5rem;
      }
    

}

/* Modo em branco */

body.modoClaro {
      background: linear-gradient(
      to bottom,
      rgb(255, 255, 255) 64px,
      rgba(0, 0, 0, 0) 64px,
      rgba(0, 0, 0, 0) 75%,
      rgba(245, 101, 48, 0.1) 100%
    ),
    url("poly-grid-light.svg");
  }
  .redondo.modoClaro {
    background: white;
    border: 1px solid black;
  }
  .linkProfissional.modoClaro i {
    border: 1px solid rgb(0, 0, 0);
    background: rgb(255, 255, 255);
  }
  .linkProfissional.modoClaro i:hover,
  .redondo.modoClaro:hover  {
    color: rgb(255, 255, 255);
    background: rgb(0, 0, 0);
  }

  a.modoClaro {
      color: #0e0e0e;
  }
  .decoracaoHero.modoClaro span {
    background-color: rgb(0, 0, 0);
  }
  h3.modoClaro {
    color: #333231;
    font: 600 23px "Poppins";
  }
  .infnet.modoClaro,
  .ufrj.modoClaro {
    background-color: rgb(0, 0, 0);
  }
  .graduacao.modoClaro {
    color: rgb(255, 255, 255);
    padding: 0 1rem 1rem;
    font: 400 16px "Montserrat", sans-serif;
  }
  footer.modoClaro {
    background-color: rgb(255, 255, 255);
  }