*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
scroll-behavior: smooth;
}

body{
background-color: #0F1221;
/* background-color: #000; */
height: 100vh;
overflow-x: hidden;
}

.interface{
    max-width: 1280px;
    margin: 0 auto;
} 

.flex{
    display: flex;
}

 .btn-contato button{
    padding: 10px 50px;
    font-size: 18px;
    font-weight: 600;
    background-color: #00ff08;
    border-radius: 30px;
    border: 0;
    cursor: pointer;
    transition: .2s;
   
}

button:hover, form .btn-enviar input:hover{
   box-shadow: 0px 0px 8px #00ff0874;
   transform: scale(1.05);
}

  .section__pic-container {
    display: flex;
    height: 400px;
    width: 400px;
    margin: auto 0;
    z-index: 1;

  }


.aparecer {
    animation: aparecer 2s forwards;
  }

.aparecertitulo{
  opacity: 0;
  animation: aparecer 2s forwards !important;
  animation-delay: 1s !important;
}


h2.titulo{
  font-size: 35px;
color: #fff;
text-align: center;
}

h2.titulo span {
  color: #00ff08;
}



/* ESTILO DO CABECALHO */

header{
    padding: 25px 4%;

}

header > .interface{
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
}

header a {
    color: #ffffff5a;
    text-decoration: none;
    display: inline-block;
    transition: .2s;
}

header a:hover {
    color: #fff;
    transform: scale(1.05);
}
.logo a:hover {
    transform: scale(1) !important;
}
header nav ul {
    list-style-type: none;
    margin: -20px -0px 0px -100px;
    font-size: 16px;
}

header nav ul li {
    display: inline-block;
    padding:  0 40px;
}

.logo img {
    max-width:250px;
}

header .btn-contato{
    margin: -20px -0px 0px -60px;
}



.btn-abrir-menu{
    display: none;
}

.btn-abrir-menu i{
    color: #00FF08;
    font-size: 40px;
}

.menu-mobile {
  z-index: -1; /* Inicialmente fora do fluxo visual */
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 250px;
  background-color: #333;
  transition: transform 0.3s ease;
  transform: translateX(100%); /* Mantém o menu fora da tela */
}

.menu-mobile.abrir-menu {
  transform: translateX(0); /* Traz o menu para a tela */
  z-index: 1000; /* Garante que o menu tenha prioridade visual */
}
.menu-mobile.abrir-menu{
    width: 70%;
}

.menu-mobile.abrir-menu ~ .overlay-menu{
    display: block;

}
#menu-mobile {
  z-index: 9999; /* ou outro valor maior */
  position: fixed;
  /* outros estilos */
}

#overlay-menu {
  z-index: 9998; /* um valor um pouco menor que o do menu */
  position: fixed;
  /* outros estilos */
}
.menu-mobile .btn-fechar{
    padding: 20px 5%;
}

.menu-mobile .btn-fechar i{
    color: #00FF08;
    font-size: 30px;
}

.menu-mobile nav ul{
    text-align: right;
    display: flex;
    flex-direction: column;
}

.menu-mobile nav ul li a{
    color: #fff;
    font-size: 20px;
    font-weight: 300;
    padding: 20px 8%;
    display: block;
}   

.menu-mobile nav ul li a:hover{
    background-color: #00FF08;
    color: #000;
}

.overlay-menu{
    background-color: #000000df;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    display: none;
}


section.toposite{
    padding: 40px 4%;
    opacity: 0;
}

section.toposite .flex{
    align-items: center;
    justify-content: center;
    gap: 150px;
}
.flex {
  z-index: auto; /* Define o z-index da .flex como auto */
}
.menu-mobile.abrir-menu ~ .flex {
  z-index: 0; /* Quando o menu móvel for aberto, o z-index da .flex será 0 */
}

.toposite  h1{
    color: #fff;
    font-size: 42px;
    line-height: 50px;


}
.toposite .txt-topo-site h1 span{
    color: #00ff08;
}

.toposite  p{
    color: #fff;
    margin: 35px 0;
}
#escrita3{
    font-size: 25px;
    font-weight: 400;
    color: #baffbc;
}



.menu-mobile.abrir-menu ~ section {
  opacity: 0;
}


section.especialidades{
  padding: 70px 4%;

}

section.especialidades .flex{
  gap: 20px ;
}


.especialidades .box-especialidades{
  color: #fff;
  padding: 35px;
  border-radius: 20px;
  /* border:  2px solid #fff; */
  margin-top: 45px;
  transition: .3s;
  cursor: pointer;
}

.especialidades .box-especialidades:hover{
  transform: scale(1.05);
  box-shadow: 0 0 8px #ffffff59;
}

.especialidades .box-especialidades i {
  font-size: 70px;
  color: #00ff08;
}
.especialidades .box-especialidades h3{
  font-size: 28px;
  margin: 10px 0;
}

.section__pic-container img{
  display: flex;
  height: 400px;
  width: 400px;
  margin: auto 0;
  border-radius: 20px;
  z-index: 1;
}





section.sobre{
padding: 150px 4%;
} 

section.sobre .flex{
  align-items: center;
  gap: 60px;
}
.sobre .txt-sobre{
  color: #fff;
}

.sobre .txt-sobre h2{
  font-size: 40px;
  line-height: 40px;

}
.sobre .txt-sobre h2#escrita2{
  color: #00ff08;
  display: block;
  margin-bottom: 30px;
}

.sobre .txt-sobre p{
 margin-top: 20px;
 text-align: justify;
 transition: .2s;
}

.text-escrita, .tituloescrito{
  display: block !important;
  width: 0;
  max-width: min-content;
  white-space: nowrap;
  overflow: hidden;

}




.btn-social button{
  margin-top: 20px;
  margin-left: 10px;
width: 60px;
height: 60px;
border-radius: 50%;
border: 0;
font-size: 25px;
background-color: #00ff08;
cursor: pointer;
}





section.portifolio{
  padding: 40px 4%;
  box-shadow: 0 0 30px 5px #ffffff19;

}



section.portifolio .flex{
justify-content: space-around;
margin-top: 45px;
}



.caixaprojeto{
  margin-left: 20px;
  margin-right: 50px;
  background-color: transparent;
  display: flex;
  margin-top: 100px;
  text-align: start;
  justify-content: space-between;
  align-items: center;
}
.caixaprojeto2{
  margin-top: 200px
}
.fotoprojeto img{
  width: 280px;
}
.fotoprojeto2 img{
  width: 450px
  /* margin-left: 11rem; */

}
.textoprojeto{
  margin-left: 20px;
  color: #fff;

}
.textoprojeto h1{
   text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.244);
  font-size: 40px !important;
  color: #00ff08;
}

.textoprojeto p{
  width: 600px;
  font-size: 17px !important;
  margin: 20px 0;
  text-align: justify;
}



#btnScrollToTop {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  animation: botaofixo ease-in-out 500ms;
}
#btnScrollToTop img{
  position: absolute; 
  top: 50%; 
  left: 50%; 
  transform: translate(-50%, -50%)  scale(-1); 
  width: 50%;
  height: auto; 
}

.btn {
  font-weight: 600;
  transition: all 300ms ease;
  padding: 18px;
  width: 120px;
  border-radius: 30px;
  background-color: transparent;
  color: #fff;
 box-shadow: 0 0 7px 2px #ffffff3a;
}



section.formulario{
  padding: 80px 4%;
}


form{
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 15px;
  margin-top: 40px;
}

form input, form textarea{
  width: 100%;
  background-color: #0000006e;
border: 0;
outline: 0;

padding: 20px 15px;
border-radius: 15px;
color: #fff;
font-size: 18px;
}

form textarea{
  resize: none;
  max-height: 200px;
}


form .btn-enviar {
  margin-top: 20px;
  text-align: center;
}

form .btn-enviar input{
width: 120px;
background-color: #00ff08;
color: #000;
font-weight: 700;
cursor: pointer;
text-align: center;
}



footer{
  padding:40px 4%;
  box-shadow: 0 0 30px 5px #ffffff19;
}


footer .flex{
  justify-content: space-between;
}

footer .linha-footer {
  padding: 20px 0;
}
footer .linha-footer.borda{

  border-top: 2px solid #00ff08;
}

footer .linha-footer p i{
  color: #00ff08;
  font-size: 22px;

}

footer .linha-footer p a{
  color: #fff;
  text-decoration: none;
  padding-left: 16px;

}

footer .logo-footer img{
  width: 200px;
}



@keyframes botaofixo {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}




  @keyframes mostrartexto {
    from{
      width: 0;
      
    }
    to{
      width:700px;
      max-width: fit-content;
        }
    
  }
  @keyframes escondertexto {
    from{
      width: 700px;
      max-width: fit-content;
      
    }
    to{
      width: 0;
    }
    
  }
  @keyframes cursorpiscar {
    from{
      border-right-color: 2px solid rgba(255, 255, 255, 0.75) ;
    }
    to {
      border-right-color: transparent ;
    }
  }

@keyframes aparecer {
  from{
    opacity: 0;
  }
  to{
    opacity: 1;
  }
}



::-webkit-scrollbar {
  width: 4px; 
  opacity:0.8;
}
::-webkit-scrollbar-track {
  background-color: #00ff08; 
}

::-webkit-scrollbar-thumb {
  background-color: #0652E9; 
  border-radius: 5px; 
}

::-webkit-scrollbar-thumb:hover {
  background-color: #5555556a; 
}



.hidden{
  opacity: 0;
  filter: blur(15px);
  transition: all 1s;
  transform: translateX(-100%)
}

.show{
  opacity: 1 !important;
  filter: blur(0) !important;
  transition: all 1s !important;
  transform: translateX(0) !important;
}



@media screen and (max-width: 1020px) {

  .btn-abrir-menu{
    display: block ;
  }

  /* CLASSES GERAIS */
  .flex {
      flex-direction: column;
  }

  .toposite .flex{
      flex-direction: column-reverse;
  }

  h2.titulo {
      font-size: 34px;
      line-height: 30px;

  }

  /* CABEÇALHO */
  .menu-desktop,
  .btn-contato {
      display: none;
  }

  /* TOPO DO SITE */
  .logo img {
    max-width: 200px;
}
  section.toposite .flex {
      gap: 0px;
  }

  section.toposite {
      padding: 20px 8%;
  }

  .toposite h1 {
      font-size: 30px;
      text-align: center;
  }
  .toposite p {
    text-align: center;
}

   .section__pic-container {
align-items: center;
justify-content: center;
z-index: 1;
}
  .toposite .img-topo-site img , .img-sobre img{
      width: 80%;
      height: auto;
        z-index: 1;
    }

  section.especiliadades {
      padding: 40px 8%;
  }

  /* SOBRE */
  section.sobre {
      padding: 80px 8%;
  }

  .sobre .txt-sobre h2 {
      font-size: 34px;
      line-height: 35px;
      text-align: center;
  }

  .hidden {

    transform: translateX(-80%);
}
  
  @keyframes mostrartexto {
    from{
      width: 0;
      
    }
    to{
      width:100vw;
      max-width: max-content;
        }
    
  }
  @keyframes escondertexto {
    from{
      width: 100vw;
      max-width: max-content;
      
    }
    to{
      width: 0;
    }
    
  }

  .btn-social{
      text-align: center;
  }


  section.portfolio {
      padding: 80px 8%;
  }

  
  section.portfolio .flex {
     gap: 60px;
  }

  .caixaprojeto{
    margin: 45px 0px 0px 0px;
    padding: 10px;
    flex-direction: column;
  }

  .textoprojeto{
    margin: 0px;
    text-align: center;
  }
  .textoprojeto p {
   width: auto;
  }
  .fotoprojeto{
    margin-top: 40px;
  }

  .fotoprojeto2 img {
    width: 320px
}

  /* RODAPÉ */
  footer .flex {
      flex-direction: column;
      gap: 30px;
  }

  footer .line-footer {
      text-align: center;
  }
}