/* Página */
@import url('https://fonts.googleapis.com/css2?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,800;1,900&display=swap');

html {
  scroll-behavior: smooth;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #383A3C;
  height: 100vh;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
}

.flex {
  display: flex;
}

/* Estilo Cabeçalho */
header {
  padding: 20px 8%;
}

.logo img {
  max-width: 250px;
}

header > .page {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header a {
  color: rgb(138, 138, 138);
  text-decoration: none;
  display: inline-block;
}

header nav.menu-wide a:hover {
  color: white;
  transform: scale(1.05);
  transition: .2s;
}

header nav ul {
  list-style-type: none;
}

header nav.menu-wide ul li {
  display: inline-block;
  padding: 0 40px;
}

/* MENU MOBILE */
.btn-abrir i {
  color:#13C3F4;
  font-size: 50px;
}

.menu-mobile {
  background-color: #212121;
  height: 100vh;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 99999;
  width: 0%;
  overflow: hidden;
  transition: .5s
}

.menu-mobile.abrir-menu {
  width: 50%;
}

.menu-mobile.abrir-menu ~ .overlay-menu {
  display: block;
}

.menu-mobile .btn-fechar {
  padding: 20px 8%;
}

.menu-mobile .btn-fechar i {
  color: #13C3F4;
  font-size: 30px;

}

.menu-mobile nav ul {
  text-align: right;
}

.menu-mobile nav ul li a {
  color: white;
  font-size: 20px;
  font-weight: 300;
  padding: 20px 8%;
  display: block;
}

.menu-mobile nav ul li a:hover {
  background-color: #13C3F4;
}

.overlay-menu {
  background-color: #212121af;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 88888;
  display: none;
}

.btn-abrir {
  display: none;
}

.contato button {
  padding: 10px 40px;
  font-size: 18px;
  font-weight: 600;
  background-color: #13C3F4;
  border: 0;
  border-radius: 30px;
  cursor: pointer;
}

.curriculo button {
  padding: 10px 40px;
  font-size: 18px;
  font-weight: 600;
  background-color: #13C3F4;
  border: 0;
  border-radius: 30px;
  cursor: pointer;
}


h2.titulo {
  color: white;
  font-size: 38px;
  text-align: center;
}

h2.titulo span {
  color: #13C3F4;
}

button:hover {
  box-shadow: 0px 0px 8px #13C3F4;
}

/* TOPO SITE*/
.topo {
  padding: 60px 8%;
}

.imagem img {
  width: 300px;
}

.topo .flex {
  align-items: center;
  justify-content: center;
  gap: 150px;
}

.topo .wraper {
  display: flex;
  overflow: hidden;
}

.wraper .texto-dinamico {
  margin-left: 20px;
  height: 60px;
}

.wraper .texto-dinamico li {
  list-style: none;
  position: relative;
  top: 0;
  animation: slide 8s steps(2) infinite;
}

@keyframes slide {
  100% {
    top: -152px;
  }
}

.wraper .texto-dinamico li h1::after {
  content: '';
  position: absolute;
  left: 0;
  background: #383A3C;
  width: 100%;
  height: 100%;
  border-left: 2px solid #13C3F4;
  animation: typing 4s steps(10) infinite;
}

@keyframes typing {
  40%, 60% {
    left: 70%;
  }
  100% {
    left: 0;
  }
}

.wraper .texto-dinamico li:nth-of-type(2) h1::after {
  animation-name: typing-short;
  animation-timing-function: steps(15);
}

@keyframes typing-short {
  40%, 60% {
    left: 105%;
  }
  100% {
    left: 0;
  }
}

.topo .texto h1 {
  color: white;
  font-size: 50px;
}

.topo .texto h1 span {
  color: #13C3F4;
}

.topo .texto p {
  color: white;
  font-size: 20px;
  margin: 40px 0;
  text-align: justify;
}

.button {
  transform: scale(1.1);
}

.imagem img {
  position: relative;
  animation: flutuar 5s ease-in-out infinite alternate;

}

@keyframes flutuar {
  0% {
    top: 0;
  }
  100% {
    top: 30px;
  }
}

/* Especialidades*/
section.stacks {
  padding: 40px 8%;
}

section.stacks .flex {
  gap: 60px;
}

.stacks .stacks-box {
  text-align: center;
  width: 600px;
  color: white;
  padding: 20px;
  border-radius: 20px;
  margin-top: 45px;
  transition: .2s;
}

.stacks .stacks-box:hover {
  transform: scale(1.05);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.452);
}

.stacks .stacks-box i {
  font-size: 70px;
  color: #13C3F4;
}

.stacks .stacks-box h3 {
  font-size: 28px;
  margin: 15px 0;
}

.stacks .stacks-box li {
  list-style: none;
  font-size: 20px;
}

/* SOBRE */
.img-sobre img {
  width: 300px;
  border-radius: 30px;
}

section.sobre {
  padding: 40px 8%;
}

section.sobre .flex {
  align-items: center;
  gap: 60px;
}

.sobre .txt-sobre {
  color: white;
}

.sobre .txt-sobre h2 {
  font-size: 40px;
  line-height: 40px;
  margin-bottom: 20px;
}

.sobre .txt-sobre h2 span {
  color: #13C3F4;
  display: block;
}

.sobre .txt-sobre p {
  margin: 20px 0;
  text-align: justify;
}

.btn button{
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background-color: #13C3F4;
  font-size: 22px;
  cursor: pointer;
  margin: 0 5px;
  transition: .2s;
}

/*Portfólio*/
section.portfolio {
  padding: 80px 8%;
  box-shadow: 0 0 40px 10px #ffffff0e;
} 

section.portfolio .flex {
  justify-content: space-around;
  margin-top: 60px;
}

.img-project {
  width: 360px;
  height: 460px;
  background-size: cover;
  background-position: 100% 0;
  transition: 5s;
  cursor: pointer;
  border-radius: 40px;
  position: relative;
}

.img-project:hover {
  background-position: 100%;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #212121c2;
  border-radius: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 25px;
  font-weight: 700;
  color: #00AFEF;
  opacity: 0;
}

.overlay:hover {
  opacity: 1;
}

/* Rodapé */

.logo-footer img {
  width: 200px;
}

footer {
  padding: 40px 8%;
  box-shadow: 0 0 40px 10px #ffffff0e;
}

footer .flex {
  justify-content: space-between;
}

footer .line-footer {
  padding: 20px 0;
  justify-content: center;
}

.borda {
  border-top: 2px solid #13C3F4;
}

footer .line-footer p i {
  color: #13C3F4;
  font-size: 20px;
}

footer .line-footer p a {
  color: #ffff;
}

@media screen and (max-width: 1200px) {
  /* classes gerais */
  .btn-abrir {
    display: block;
}

  .topo .flex {
    flex-direction: column-reverse;
  }
  
  .flex {
    flex-direction: column;
  }
  
  /* cabeçalho */
  .topo .flex {
    gap: 50px;
  }


  .menu-wide, .contato {
    display: none;
  }

  .topo {
    padding: 20px 5%;
  }

  .topo .texto h1 {
    font-size: 30px;
    line-height: 30px;
  }

  .topo .texto li h1 {
    line-height: 32px;
  }
  
  .wraper .texto-dinamico {
    height: 30px;
    margin-left: 10px;
  }
  
  @keyframes slide {
    100% {
      top: -64px;
    }
  }

  .imagem img {
    display: block;
    width: 80%;
    margin: auto;
    max-width: 360px;
    animation: none;
  
  }


  .topo .texto p {
    text-align: justify;
  }

  .curriculo {
    text-align: center;
  }

  section.stacks {
  padding: 40px 3%;
  }

  .stacks .stacks-box {
  margin: auto;
  width: 98%;
  }

  h2.titulo {
    padding-bottom: 30px;
    font-size: 30px;
  }

  section.sobre {
    padding: 40px 3%;
  }

  .sobre .txt-sobre h2 {
    font-size: 30px;
    line-height: 40px;
    margin-bottom: 20px;
    text-align: center;
  }
  
  .btn {
    text-align: center;
  }

  .img-sobre img {
    width: 100%;
    max-width: 360px;
  }

  section.portfolio {
    padding: 80px 3%;
  } 

  .img-project {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }

  section.portfolio .flex {
    justify-content: space-around;
    gap: 40px;
  }

  footer .flex {
    flex-direction: column;
    gap: 10px;
  }

  footer .line-footer {
    text-align: center;
  }
}

