@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,300;1,400&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Berkshire+Swash&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

:root {
  --primaria: #4f46e5;
  --secundaria: #00e66e;
  --escuro: #0a0f1c;
  --claro: #e2e8f0;
  --vidro: rgba(255, 255, 255, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #000;
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: hidden;
}

/* HEADER */
header {
  height: 100%;
  width: 100%;
  background-color: #000;
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: center;
  justify-content: space-around;
}

header h1 {
  display: grid;
  align-items: center;
  justify-content: left;
  margin-left: 20px;
  grid-template-columns: auto auto;
  gap: 20px;
  color: #00e66e;
  font-size: 2.5rem;
}

header span {
  color: #fff;
}

header .navegacao-primaria {
  height: 100%;
  width: 100%;
  display: grid;
  align-items: center;
  justify-content: center;
  grid-template-columns: auto auto auto auto;
  gap: 30px;
  margin: 0 auto;
  padding: 10px;
}

header .navegacao-primaria li a {
  color: #fff;
  text-align: center;
  font-size: 1.3rem;
}

header .navegacao-primaria li a::after {
  content: "";
  width: 0px;
  height: 0px;
  display: block;
  border-bottom: 4px solid transparent;
  transition: 0.9s;
}

header .navegacao-primaria li a:hover::after {
  width: 100%;
  height: 0px;
  padding: 0px;
  border-bottom: 4px solid #00e66e;
}

/* RESPONSIVO */

@media (max-width: 992px) {
  .section-div img {
    display: none;
  }

  .section-div {
    background-image: url(imgs/eu.png);
    background-repeat: no-repeat;
    background-size: cover;
  }

  header {
    height: 100%;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    align-content: center;
    justify-content: space-between;
    gap: 100px;
    padding: 30px 10px;
  }

  header .navegacao-primaria {
    display: none;
  }

  header nav {
    display: grid;
    justify-content: right;
    align-content: center;
    padding-right: 20px;
    font-size: 2rem;
    z-index: 200;
    color: #f7f7f7;
    cursor: pointer;
  }

  header h1 {
    display: grid;
    align-items: center;
    justify-content: left;
    margin-right: 20px;
    gap: 10px;
    color: #00e66e;
    font-size: 2rem;
  }

  header i {
    font-size: 2rem;
    color: #f7f7f7;
  }

  .fixed {
    position: fixed;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    margin-top: 20px;
    margin-right: 20px;
    font-size: 2rem;
    z-index: 200;
  }

  header .navegacao-primaria.ativado {
    background: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.94));
    position: fixed;
    display: grid;
    grid-template-columns: 1fr;
    justify-content: left;
    align-content: start;
    padding-top: 70px;
    height: calc(100vh + 500px);
    width: 100%;
    top: -5px;
    left: 0;
    color: white;
    z-index: 100;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 0 0 4px 4px;
    animation: sobeSecao 0.8s ease-in-out forwards;
  }

  header .navegacao-primaria li {
    display: grid;
    justify-content: left;
    align-content: center;
    padding: 5px;
    width: 100%;
    height: 80%;
  }
  header .navegacao-primaria li a {
    font-size: 1.2rem;
    padding: 5px;
    color: white;
  }
}

/* DOWLOAD CV SECAO */

.section-div {
  animation: inicializar 0.7s forwards;
  background-color: #000;
  display: grid;
  height: 100%;
  width: 100%;
  grid-template-columns: 1fr 1fr;
  justify-content: space-around;
  align-items: center;
  gap: 30px;
  padding: 30px;
  /* background-color: #00e66e; */
}

.section-div img {
  width: 100%;
  height: 100%;
}

.section-div div {
  margin-top: 150px;
  align-self: start;
  display: grid;
  gap: 5px;
}

.section-div div h2 {
  font-family: "Poppins";
  font-weight: 600;
  color: #f7f7f7;
}

.section-div div p {
  margin-top: 10px;
  font-family: "Poppins";
  font-weight: 200;
  color: #f7f7f7;
}

.section-div div a {
  justify-self: start;
  color: #fff;
  text-align: center;
  padding: 15px 40px;
  border-radius: 5px;
  margin-top: 20px;
  border: 2px solid white;
}

.digitando::after {
  content: "|";
  margin-left: 5px;
  opacity: 1;
  animation: pisca 0.5s infinite;
}

@keyframes pisca {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes inicializar {
  from {
    opacity: 0;
    transform: translate3d(0, -60px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* SEÇÃO PRINCIPAL SOBRE MIM */

main {
  background-color: #111;
  color: white;
}

main .sobre {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  justify-content: center;
  padding: 40px;
}

.sobre_titulo {
  margin: 30px 0;
  grid-column: 1/-1;
  text-align: center;
  color: #fff;
}

.sobre_titulo h1 {
  font-size: 2.5rem;
  color: #02ae55;
  margin-bottom: 15px;
  font-family: "Berkshire Swash", cursive;
}

.sobre_titulo p {
  color: #707070;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  position: relative;
}

.sobre_titulo div {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.sobre_titulo span {
  display: block;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background-color: #00e66e;
}

.sobre img {
  animation: ladoSecao 0.5s ease-in-out forwards;
  cursor: pointer;
  grid-row: 2;
  max-width: 100%;
  border-radius: 4px;
  filter: blur(0);
}

.sobre img:hover {
  transition: 0.5s ease-in;
  filter: blur(1px);
}

.sobre_conteudo {
  animation: sobeSecao 0.6s ease-in-out forwards;
  grid-column: 2/-1;
  display: grid;
  color: #707070;
  grid-template-columns: 1fr 1fr;
}

.sobre_texto {
  display: grid;
  grid-column: 1/-1;
  grid-template-columns: 1fr 1fr;
}

.sobre_texto h1 {
  font-size: 2.3rem;
  color: #fff;
  grid-column: 1/-1;
}

.sobre_texto h1::after {
  background-color: #02ae55;
  height: 6px;
  width: 60px;
  margin: 20px 0;
  content: "";
  display: block;
  border-radius: 5px;
}
.sobre_texto p {
  font-size: 1.3rem;
  grid-row: 2;
  grid-column: 1/-1;
}

.sobre_info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column: 1/-1;
  align-items: center;
  margin-bottom: 30px;
}

.sobre_info i {
  color: #00e66e;
  display: inline-block;
  padding-right: 15px;
  font-size: 1.5rem;
}

.sobre_info p {
  font-size: 0.9rem;
}

@keyframes sobeSecao {
  from {
    transition: 0.5s;
    transform: translate3d(60px, 0, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes ladoSecao {
  from {
    transition: 0.5s;
    transform: translate3d(-60px, 0, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 992px) {
  .sobre img {
    grid-column: 1/-1;
    justify-self: center;
  }

  .sobre_conteudo {
    grid-column: 1/-1;
  }
}

/* SEÇÃO SERVICES */

.services {
  margin-top: -30px;
  width: 100%;
  height: 100%;
  padding: 30px;
  background-color: #151515;
}

.my_services {
  padding: 60px;
  color: white;
}

.my_services ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.my_services ul li {
  cursor: pointer;
  border-radius: 6px;
  position: relative;
  padding: 10px;
  display: grid;
  gap: 30px;
  text-align: center;
  max-width: 300px;
  align-content: center;
  height: 300px;
  background-color: #222;
}

.my_services ul li i {
  font-size: 2.7rem;
  color: #00e66e;
}

.my_services ul li h3 {
  color: #fff;
  font-size: 1.6rem;
  font-family: "poppins";
  font-weight: 500;
}

.my_services ul li p {
  color: #707070;
  font-size: 1.1rem;
}

.my_services li::before {
  content: "";
  transition: 0.5s ease-in-out;
  border-radius: 6px;
  width: 0px;
  height: 0px;
  position: absolute;
  top: -2px;
  right: -2px;
  border-top: 2px solid transparent;
  border-right: 2px solid transparent;
}

.my_services li::after {
  content: "";
  transition: 0.5s ease-in-out;
  border-radius: 6px;
  width: 0px;
  height: 0px;
  position: absolute;
  bottom: -2px;
  left: -2px;
  border-bottom: 2px solid transparent;
  border-left: 2px solid transparent;
}

.my_services li:hover::before {
  width: 100%;
  height: 100%;
  border-top: 2px solid #014f27;
  border-right: 2px solid #014f27;
}

.my_services li:hover::after {
  width: 100%;
  height: 100%;
  border-bottom: 2px solid #014f27;
  border-left: 2px solid #014f27;
}

/* SOBRE MINHAS EXPERIÊNCIAS */

.my_resume {
  color: #f7f7f7;
  margin-bottom: 60px;
}

.resume_gerenico {
  padding: 30px;
  display: grid;
  justify-content: center;
  align-items: start;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

.resume_gerenico h2 {
  font-family: "Poppins";
  font-size: 1.5rem;
  background-color: #02ae55;
  justify-self: start;
  padding: 10px;
  border-radius: 1px;
}

.resume_gerenico h2 i {
  margin-right: 10px;
}

.experience {
  margin-bottom: 30px;
  grid-column: 1;
  grid-row: 1;
}

.education {
  margin-bottom: 30px;
  grid-column: 2;
  grid-row: 1;
}

.experience_content ul {
  color: #02ae55;
  gap: 10px;
  cursor: pointer;
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.resume_gerenico .experience_content div {
  animation: ladoSecao 0.5s ease-in-out forwards;
  display: none;
  background-color: #222;
  padding: 40px;
}

.resume_gerenico .experience_content div::before {
  content: "";
  display: inline-block;
  border-right: 30px solid transparent;
  border-bottom: 30px solid #222;
  top: -20px;
  left: 30px;
  position: absolute;
}

.resume_gerenico .experience_content div span {
  color: #00e66e;
  font-family: "Poppins";
  font-weight: bold;
}

.resume_gerenico .experience_content div h3 {
  font-family: "Poppins";
  margin: 10px 0;
}

.resume_gerenico .experience_content div p {
  color: #707070;
  font-size: 1.1rem;
}

.resume_gerenico .experience_content div.ativo {
  display: block;
  padding: 40px;
}

.experience_content ul li.ativo {
  color: #3e3d3d;
}

/* MEUS DIPROMAS E CURSOS */

.resume_gerenico .education_content div {
  animation: sobeSecao 0.5s ease-in-out forwards;
  display: none;
  background-color: #222;
  padding: 20px;
}

.resume_gerenico .education_content ul {
  color: #02ae55;
  gap: 10px;
  cursor: pointer;
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.resume_gerenico .education_content div::before {
  content: "";
  display: inline-block;
  border-right: 30px solid transparent;
  border-bottom: 30px solid #222;
  top: -20px;
  left: 30px;
  position: absolute;
}

.resume_gerenico .education_content div span {
  color: #00e66e;
  font-family: "Poppins";
  font-weight: bold;
}

.resume_gerenico .education_content div h3 {
  font-family: "Poppins";
  margin: 10px 0;
}

.resume_gerenico .education_content div p {
  color: #707070;
  font-size: 1.1rem;
}

.resume_gerenico .education_content ul li.ativo {
  color: #2f2b2b;
}

.resume_gerenico .education_content div.ativo {
  display: block;
  padding: 40px;
  animation: sobeSecao 0.5s ease-in-out forwards;
}

/* SOBRE CURSOS E SKILLS */

.cursos {
  margin-top: 50px;
  display: grid;
  gap: 30px;
  justify-content: center;
  align-items: start;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  padding: 30px;
}

.my_skill {
  display: grid;
}

.my_skill h2 {
  padding: 10px 30px;
  border-radius: 3px;
  font-size: 1.5rem;
  font-family: "Poppins";
  background-color: #02ae55;
  justify-self: start;
  margin-bottom: 30px;
}

.my_skill h2 i {
  padding-right: 10px;
}

.skill_content {
  font-size: 1.5rem;
  grid-column: 1/2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 10px;
}

.skill_content h3 {
  font-size: 1.5rem;
}

.skill_content ul {
  display: flex;
}

/* FUN FACTS */

.funfacts {
  grid-column: 3/-1;
  grid-row: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.funfacts h2 {
  grid-column: 1/-1;
  padding: 10px 30px;
  border-radius: 3px;
  font-size: 1.5rem;
  font-family: "Poppins";
  background-color: #02ae55;
  justify-self: start;
  margin-bottom: 30px;
}

.funfacts h2 i {
  padding-right: 10px;
}

.funfacts ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.funfacts ul li {
  border: 3px solid #2f2b2b;
  display: grid;
  grid-template-columns: auto 1fr;
  align-self: start;
  background-color: #222;
  width: 200px;
  height: 100px;
}

.funfacts ul li i {
  grid-row: 1/3;
  margin: auto auto;
  padding: 20px;
  font-size: 2rem;
  border-right: 2px solid #3e3d3d;
  color: #02ae55;
}

.funfacts ul li span {
  font-size: 1.5rem;
  color: white;
  font-family: "Poppins";
  font-weight: bold;
  padding-top: 10px;
  padding-left: 10px;
}

.funfacts ul li p {
  padding-left: 10px;
  color: #707070;
  font-weight: bold;
  font-family: "Poppins";
}

@media (max-width: 1089px) {
  .resume_gerenico .experience_content,
  .education_content {
    justify-self: center;
    grid-column: 1/-1;
  }

  .resume_gerenico .education {
    grid-column: 1/-1;
    margin-top: 30px;
    grid-row: 3;
    text-align: center;
    justify-self: center;
  }

  .resume_gerenico .experience {
    grid-column: 1/-1;
    margin-top: 30px;
    grid-row: 1;
    text-align: center;
    justify-self: center;
  }

  .cursos {
    grid-template-columns: 1fr;
  }

  .cursos .funfacts h2 {
    justify-self: center;
  }

  .cursos .funfacts {
    margin-bottom: 30px;
    text-align: center;
    grid-template-columns: 1fr;
    justify-self: center;
    grid-column: 1/-1;
  }

  .cursos .my_skill h2 {
    justify-self: center;
  }

  .cursos .my_skill {
    text-align: center;
    grid-template-columns: 1fr;
    justify-self: center;
    grid-column: 1/-1;
  }
}

/* PROJECTS */

.projects {
  padding: 30px;
  display: grid;
  gap: 30px;
  justify-content: center;
  background-color: #151515;
}

.projects ul {
  justify-content: center;
  display: flex;
  gap: 30px;
}

.project_models ul li {
  cursor: pointer;
  font-family: "Poppins";
  background-color: #222;
  border: 1px solid #333;
  color: #707070;
  padding: 6px 20px;
}

.project_models ul li.ativo {
  background-color: #00e66e;
  color: #151515;
  font-weight: bold;
}

.projects_armazenamento ul {
  display: grid;
  margin-top: 60px;
  gap: 5px;
  justify-content: center;
  grid-template-columns: repeat(3, 1fr);
}

.projects_armazenamento ul li {
  position: relative;
  display: none;
  max-width: 100%;
  height: 100%;
}
.projects_armazenamento ul li span {
  position: absolute;
  display: grid;
  justify-content: center;
  align-content: center;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  background-color: #000000bd;
  transition: all 0.3s ease-in-out;
  font-size: 2rem;
  color: var(--secundaria);
  text-transform: capitalize;
  transition: all 0.3s ease-in-out;
}

.projects_armazenamento ul li a:hover span {
  display: none;
}

.projects_armazenamento ul li.ativo {
  display: block;
  animation: animationButton 2s ease-in-out forwards;
}

.projects_armazenamento ul li a {
  cursor: pointer;
  background-color: #333;
  z-index: 100;
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid #333;
  border-radius: 4px;
  padding: 2px;
  transition: all 0.3s ease-in-out;
}

.projects_armazenamento ul li a:hover {
  cursor: pointer;
  background-color: #00e66e;
  transform: scaleY(1.02);
  z-index: 100;
}

.projects_armazenamento ul li img {
  cursor: pointer;
  max-width: 100%;
  height: 100%;
  border-radius: 4px;
}

.projects a {
  background-color: #222;
  text-decoration: none;
  padding: 20px 40px;
  justify-self: center;
  border-radius: 3px;
  color: #707070;
  border: 1px solid #333;
  transition: all 0.3s ease-in-out;
}
.projects a:hover {
  background-color: #00e66e;
  color: #151515;
  border: 1px solid #00e66e;
}

@keyframes animationButton {
  0% {
    opacity: 0;
    transform: translate3d(0, -90px, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0px, 0);
  }
}

/* FOOTER */
footer {
  background-color: #000000;
  padding: 25px;
}

.footer_sociais {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  align-items: center;
}

.footer_sociais li {
  border-radius: 50%;
  background-color: #212020;
  border: 1px solid #333;
}

.footer_sociais li i {
  padding: 30px;
  font-size: 1.5rem;
  color: #6d6a6aff;
}

.footer_sociais li:hover {
  transition: 0.3s ease-in-out;
  cursor: pointer;
  background-color: #3e3d3d;
}

.footer_sociais::before {
  position: absolute;
  content: "";
  bottom: -30px;
  height: 5px;
  width: 200px;
  background-color: #222;
}

footer .footer_comercial {
  text-align: center;
  color: #ffffff;
  font-size: 1.5rem;
  margin: 90px 0;
  font-family: "Poppins";
}

.contatos {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 6rem 2rem;
  text-align: center;
  gap: 5px;
}

.contatos-titulo {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: var(--claro);
}

.formulario-contato {
  width: 80%;
  max-width: 600px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  padding: 2rem;
  border: 1px solid var(--vidro);
  border-radius: 16px;
}

.campo-form {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  color: var(--claro);
  border: 1px solid var(--vidro);
  outline: none;
}

.campo-form:focus {
  border-color: var(--secundaria);
  box-shadow: 0 0 10px rgba(79, 70, 229, 0.3);
}

.grupo-form {
  margin-bottom: 1.5rem;
}

.btn-form {
  color: var(--claro);
  background: linear-gradient(45deg, var(--primaria), var(--secundaria));
  padding: 1rem 2rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  width: 100%;
  transition: all 0.5s ease;
  border: none;
}

.btn-form:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 15px rgba(79, 70, 229, 0.4);
}

.retorno {
  margin-top: 2rem;
  font-size: 1rem;
  color: #6f7a75;
}

/* media query */
@media (max-width: 768px) {
  .projects {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    align-items: center;
    gap: 15px;
    overflow-x: hidden;
  }

  .projects ul {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
  }

  .project_models ul li {
    display: grid;
    grid-template-columns: 1fr 1fr;
    cursor: pointer;
    font-family: "Poppins";
    background-color: #222;
    border: 1px solid #333;
    color: #707070;
    padding: 6px 20px;
  }

  .project_models ul li.ativo {
    background-color: #00e66e;
    color: #151515;
    font-weight: bold;
  }

  .projects_armazenamento ul {
    display: grid;
    margin-top: 60px;
    gap: 20px;
    justify-content: center;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .sobre_texto p {
    font-size: 1.2rem;
  }

  .sobre_info {
    margin-top: 30px;
    gap: 20px;
    align-items: center;
  }

  .sobre_info p {
    margin-bottom: 5px;
    padding: 3px;
    line-height: 1.4rem;
  }

  .section-div {
    animation: inicializar 0.7s forwards;
    background-color: #000;
    display: grid;
    height: 100%;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
    padding: 30px;
  }

  .section-div img {
    width: 100%;
    height: 100%;
  }

  .section-div div {
    margin-top: 10px;
    align-self: start;
    display: grid;
    gap: 30px;
  }
}
