@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
}
:root {
  --bg-color: #000;
  --secondary: #161616;
  --text-color: #ffffff;
  --main-color: #338599;
}
html {
  font-size: 62.5%;
  overflow-x: hidden;
  width: 100%;
}
body {
  background: var(--bg-color);
  font-family: "Poppins", sans-serif;
  color: var(--text-color);
  overflow-x: hidden;
  width: 100%;
}

html::-webkit-scrollbar {
  width: 0.8rem;
}
html::-webkit-scrollbar-track {
  background: var(--bg-color);
}
html::-webkit-scrollbar-thumb {
  background: var(--main-color);
}
.heading {
  font-size: 5rem;
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 9%;
  background: rgba(0, 0, 0, 0.7);
  filter: drop-shadow(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}
.logo {
  font-size: 3rem;
  color: var(--main-color);
  font-weight: 800;
  cursor: pointer;
  transition: 0.5s ease;
}
.logo:hover {
  transform: scale(1.1);
}
.navbar a {
  font-size: 1.8rem;
  color: var(--text-color);
  margin-left: 4rem;
  font-weight: 500;
  transition: 0.3s ease;
  border-bottom: 3px solid transparent;
}
.navbar a:hover,
.navbar a.active {
  border-bottom: 3px solid var(--main-color);
}
@media (max-width: 995px) {
  #menu-icon {
    display: block;
  }
  .header{
    position: absolute;
  }
  .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem 3%;
    background: #000000;
    border-top: 0.1rem solid var(--main-color);
    box-shadow: 0.1rem solid var(--seconde-color);
    display: none;
  }
  .navbar.active {
    display: block;
  }
  .navbar a {
    display: block;
    font-size: 1.7rem;
    margin: 3rem 0;
  }
}
/* inicio */
section {
  min-height: 100dvh;
  padding: 5rem 9% 5rem;
}
.inicio {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8rem;
  background: var(--bg-color);
}
.inicio .content-home h1 {
  font-size: 6rem;
  font-weight: 700;
  line-height: 1.3;
}
span {
  color: var(--main-color);
}
.inicio .content-home h3 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.pfp img {
  position: relative;
  border-radius: 50%;
  width: 32vw;
  box-shadow: 0 0 25px var(--main-color);
  cursor: pointer;
}
.pfp img:hover {
  transform: scale(1.01);
  filter: drop-shadow(0 0 25px var(--main-color));
}
.content-home p {
  font-size: 1.8rem;
  font-weight: 500;
}
.social-icon a {
  display: inline flex;
  justify-content: center;
  align-items: center;
  height: 4rem;
  width: 4rem;
  font-size: 2rem;
  background: transparent;
  border: 0.2rem solid var(--main-color);
  border-radius: 50%;
  color: var(--main-color);
  margin: 3rem 1.5rem 3rem 0;
  transition: 0.3s ease;
}
.social-icon a:hover {
  color: #000;
  transform: scale(1.3) translateY(-5px);
  background: var(--main-color);
  box-shadow: 0 0 25px var(--main-color);
}
.btn {
  position: static;
  display: inline-block;
  padding: 1rem 2.8rem;
  background: var(--bg-color);
  box-shadow: inset 0 0 15px var(--main-color);
  border-radius: 4rem;
  font-size: 1.6rem;
  color: var(--main-color);
  border: 1px solid var(--main-color);
  letter-spacing: 0.1rem;
  font-weight: 600;
  transition: 0.3s ease;
  cursor: pointer;
  margin-right: 2rem;
  transition: all 0.5s ease;
}
#actionBtn {
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  position: fixed;
  bottom: 0px;
  right: -7rem;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 1000;
}
#actionBtn.fixed-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(-20px);
}
.btn:hover {
  transform: scale(1.03);
  background-color: var(--main-color);
  color: black;
  box-shadow: 0 0 25px var(--main-color);
}
.digitando {
  font-size: 34px;
  font-weight: 600;
  min-width: 280px;
}
.digitando span {
  position: relative;
  color: var(--main-color);
}

@media (max-width: 1000px) {
  .inicio {
    gap: 4rem;
  }
}
@media (max-width: 995px) {
  .inicio {
    flex-direction: column;
    margin: 5rem 4rem;
  }
  .inicio .content-home h3 {
    font-size: 2.5rem;
  }
  .inicio .content-home h1 {
    font-size: 5rem;
  }
  .pfp img {
    width: 70vw;
    margin-top: 4rem;
  }
}
/* serviços */
.servicos {
  background: var(--bg-color);
  padding: 0 5rem;
}
.container-servicos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.boxservices {
  border: 1px solid var(--main-color);
  height: 290px;
  border-radius: 3rem;
  cursor: pointer;
  transition: 0.3s ease;
  padding: 2rem;
  margin-top: 50%;
}
.boxservices:hover {
  box-shadow: #338599 0px 0px 25px;
}
.boxservices .infoservices {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: left;
  max-height: 200px;
  padding: 5rem;
}
.infoservices h4 {
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.infoservices p {
  font-size: 1.6rem;
  font-weight: 400;
  max-height: 100px;
  margin: auto;
}
@media (max-width: 991px) {
  section {
    padding: 10rem 3% 2rem;
  }
  .servicos {
    padding-bottom: 7rem;
  }
  .boxservices {
    margin-top: initial;
  }
}
@media (max-width: 895px) {
  .servicos h2 {
    margin-bottom: 3rem;
  }
  .container-servicos {
    grid-template-columns: repeat(2, 1fr);
  }
  .infoservices h4 {
    font-size: 2rem;
    font-weight: 800;
  }
  .infoservices p {
    font-size: 15px;
  }
  .boxservices {
    margin-top: initial;
  }
}
@media (max-width: 480px) {
  .container-servicos {
    display: flex;
    flex-direction: column;
  }
  .infoservices h4 {
    font-size: 3rem;
  }
  .infoservices p {
    font-size: 2rem;
  }
  .boxservices {
    margin-top: initial;
  }
}
/* educacão */
.education {
  background: var(--bg-color);
}
.education .timeline {
  font-size: 2rem;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.education .timeline::after {
  content: "";
  position: absolute;
  width: 6px;
  background-color: #393159;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  z-index: -2px;
}
.education .container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}
.education .container::after {
  content: "\f501";
  position: absolute;
  width: 25px;
  height: 25px;
  line-height: 25px;
  right: -17px;
  background-color: #fff;
  border: 4px solid var(--main-color);
  top: 15px;
  border-radius: 50%;
  z-index: 100;
  font-size: 1.89rem;
  text-align: center;
  font-weight: 600;
  font-family: "Font Awesome 5 Free";
  color: #393159;
}
.education .left {
  left: 0;
}
.education .right {
  left: 50%;
}

.education .right::after {
  left: -16px;
}
.education .content {
  border: 1px solid #338599;
  box-shadow: inset 0 0 25px var(--main-color);
  position: relative;
  border-radius: 6px;
}
.education .content .tag {
  font-size: 1.5rem;
  padding-top: 1.5rem;
  padding-left: 1.5rem;
}
.education .content .decs {
  margin-left: 1.5rem;
  padding-bottom: 1rem;
}
.education .content .tag h3 {
  font-size: 2.5rem;
  font-weight: 600;
  color: #fff;
}
.education .content .decs p {
  font-size: 1.3rem;
  font-weight: 500;
  color: #595760;
}
@media screen and (max-width: 600px) {
  .education .timeline {
    margin-top: 2rem;
  }
  .education .timeline::after {
    left: 31px;
  }
  .education .container {
    width: 100%;
    padding-left: 8rem;
    padding-right: 2rem;
  }
  .education .container::after {
    font-size: 2.2rem;
  }
  .education .container::before {
    left: 61px;
    border: medium solid var(--main-color);
    border-width: 10px 0 10px 0;
    border-color: transparent var(--main-color) transparent transparent;
  }
  .education .left::after {
    left: 15px;
  }
  .education .right::after {
    left: 15px;
  }
  .education .right {
    left: 0%;
  }
  .education h2 {
    position: relative;
    z-index: 1000;
  }
}
/* Projetos */

.project-container {
  padding: 3rem;
  display: flex;
  justify-content: center;
  gap: 100px;
}
.project {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.nlw p {
  font-size: 1.8rem;
  margin-bottom: 30px;
}
.project img,
video {
  max-width: 500px;
  border-radius: 15px;
  --webkit-animation: glow 2s ease infinite alternate;
  --moz-animation: glow 2s ease infinite alternate;
  animation: glow 2s ease infinite alternate;
}
.nlw {
  margin-bottom: 100px;
}
.githublink a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 6rem;
  color: white;
  background: transparent;
  transition: all 0.5s ease;
  border-radius: 50%;
}
.vercel {
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 6rem;
  padding: 1rem;
  width: 6rem;
  height: 6rem;
  margin-left: 2rem;
}
.vercel svg {
  fill: white;
  transition: all 0.5s ease;
  transform: translateY(-3px);
}
.vercel:hover {
  background: #ffffff;
}
.vercel:hover svg {
  fill: #000000;
}
@keyframes glow {
  from {
    box-shadow: 0 0 25px var(--main-color);
  }
  to {
    box-shadow: none;
  }
}

@media (max-width: 480px) {
  .project-container {
    display: flex;
    flex-direction: column-reverse;
  }
  .project img,
  video {
    max-width: 100%;
  }
}

@media (max-width: 895px) {
  .project-container {
    display: flex;
    flex-direction: column-reverse;
  }
  .project img,
  video {
    max-width: 100%;
  }
}
/* fim Projetos */

/* contact section */
.contact form {
  max-width: 70rem;
  margin: 1rem auto;
  margin-bottom: 3rem;
  text-align: center;
}
.contact form .input-box {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.contact form .input-box input,
.contact form textarea {
  width: 100%;
  padding: 1.5rem;
  font-size: 1.6rem;
  color: var(--text-color);
  background: var(--bg-color);
  border-radius: 0.8rem;
  border: 2px solid var(--main-color);
  margin: 1rem 0;
  resize: none;
}
.contact form .btn {
  margin-top: 2rem;
}
/* footer section */
.footer {
  position: relative;
  bottom: 0;
  padding: 15px 0;
  width: 100%;
  background-color: var(--main-color);
}
.footer .social {
  text-align: center;
  padding-bottom: 15px;
  color: black;
}
.footer .social a {
  font-size: 25px;
  color: black;
  border: 2px solid black;
  width: 42px;
  height: 42px;
  display: inline-block;
  text-align: center;
  border-radius: 50%;
  margin: 0 10px;
  transition: 0.3s ease;
}
.footer .social a:hover {
  transform: scale(1.2) translateY(-5px);
  background: black;
  color: var(--main-color);
}
.footer ul {
  margin-top: 0;
  padding: 0;
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 0;
  text-align: center;
}
.footer ul li a {
  color: black;
  border-bottom: 3px solid transparent;
  transition: 0.3s ease;
}
.footer ul li a:hover {
  border-bottom: 3px solid black;
}
.footer ul li {
  display: inline-block;
  padding: 0 15px;
}
.footer .copyright {
  margin-top: 30px;
  text-align: center;
  font-size: 16px;
  color: #000000;
}
@media (max-width: 1285px) {
  html {
    font-size: 55%;
  }
  .services-container {
    padding-bottom: 7rem;
    grid-template-columns: repeat(2, 1fr);
    margin: 0 5rem;
  }
}
@media (max-width: 991px) {
  .header {
    padding: 2rem 3%;
  }
  section {
    padding: 10rem 3% 2rem;
  }
  .services {
    padding-bottom: 7rem;
  }
  .footer {
    padding: 2rem 3%;
  }
}
/* Obrigado */
.obrigado {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100dvh;
}
.obrigado h2 {
  margin-bottom: 3rem;
}
.obrigado a {
  text-decoration: none;
  color: var(--main-color);
  border: 1px solid var(--main-color);
  font-size: 3rem;
  width: 25vh;
  text-align: center;
  border-radius: 5px;
  cursor: pointer;
}
.obrigado a:hover {
  background: var(--main-color);
  color: white;
}

.tecnologias {
  display: flex;
  gap: 1rem;
}
.tecnologias span {
  font-size: 1.5rem;
  border-top: 1px solid #242020;
  border-left: 1px solid #242020;
  border-bottom: 1px solid #595760;
  border-right: 1px solid #595760;
}
.rpgui {
  color: yellow;
}
.container__skills {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 90vh;
  gap: 5rem;
}
.container__skills h2 {
  font-size: 3rem;
}
@media screen and (min-width: 1360px) {
  .container__skills {
    align-items: center;
  }
}

table {
  width: 60%;
  border-collapse: collapse;
}
table td:nth-child(1) {
  width: 35%;
  font-size: 2rem;
  font-weight: bold;
}
.line__skill {
  position: absolute;
  border-bottom: 2px solid;
  border-style: dotted;
  border-image-source: linear-gradient(to right, #33859900, var(--main-color));
  border-image-slice: 1;
}
.toggle__lang{
  position: fixed;
  z-index: 999;
  right: 2rem;
  top: 1.5rem;
  border-radius: 999px;
  width: 40px;
  height: 40px;
  background: url("./assets/img/english.jpg");
  background-size: 100% 100%;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.5s ease;
}
.toggle__lang.ptbr{
  background: url("./assets/img/brasil.png");
  background-size: 100% 100%;
}
.pt{
  display: none;
  visibility: hidden;
}
.pt.active{
  display: initial;
  visibility: initial;
}
.en{
  display: none;
  visibility: hidden;
}
.en.active{
  display: initial;
  visibility: initial;
}