.jost {
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
}

:root {
  color-scheme: light dark;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 20px;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: rgba(107, 107, 107, 0.836);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #696969;
}

a {
  text-decoration: none;
  color: inherit;
}

header {
  border-radius: 1rem;
  border-style: solid;
  border-color: gray;
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Jost", sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #1f1f1fda;
  color: white;
  box-sizing: border-box;
  font-size: 1.2rem;
  z-index: 1000;
  gap: 2rem;
  width: max-content;
  width: fit-content;
  max-width: 100%;
}

.header-right ul {
  font-family: "Jost", sans-serif;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 25px;
  text-align: center;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.header-right a {
  text-decoration: none;
  color: white;
  font-size: 1.2rem;
}

.header-right a:hover {
  color: #007BFF;
}

.frontpage {
  justify-content: center;
  display: flex;
  padding: 30vh 0vh 37vh 37vh;
  flex-wrap: wrap;
  gap: 2rem;
}

.frontpage h1 {
  font-size: 2rem;
  color: white;
  flex: 1 1 100%;
  text-align: center;
}

@media (max-width: 768px) {
  header {
    font-size: 1rem;
    padding: 1rem 1rem;
  }

  .header-right ul {
    gap: 15px;
  }

  .frontpage {
    padding: 20vh 3vh 25vh 3vh;
    flex-direction: column;
    align-items: center;
  }

  .frontpage h1 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  header {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
  }

  .header-right ul {
    gap: 10px;
    justify-content: center;
  }

  .frontpage {
    padding: 15vh 2vh 20vh 2vh;
  }

  .frontpage h1 {
    font-size: 1.4rem;
  }
}

.info {
  text-align: left;
}

.photo {
  display: flex;
  flex: 10%;
  justify-content: center;
  text-align: center;
  align-items: center;

}

body {
  background-color: #1e1e1e;
  background-image: radial-gradient(rgba(255, 255, 255, 0.171) 2px, transparent 0);
  background-size: 30px 30px;
  background-position: -5px -5px;
  color: white;
  background-color: #1e1e1e;
  font-family: "Jost", sans-serif;
  scroll-behavior: smooth;
  font-size: 2vh;
  height: 100vh;
  padding-left: 10vh;
  padding-right: 10vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

body h1 {
  font-size: 5.5vh;
  text-align: center;
  color: greenyellow;
}

body h2 {
  font-size: 4vh;
  text-align: center;
}

section {
  margin-top: -10vh;
  text-align: center;

}

.dark.mode {
  background-color: #1e1e1e;
  color: white;
}

.aboutme {
  font-family: "Jost", sans-serif;
  text-align: center;
  justify-content: center;
  display: flex;
  padding: 5vh 15vh 10vh 15vh;
  flex-wrap: wrap;
}


.sama {
  text-align: center;
  align-items: center;
  justify-content: center;
}

.sama img {
  width: 50%;
  height: 40%;
}

.skills {
  text-align: center;
  display: flex;
  justify-content: center;
}

.skills ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 2vh;
}

.skills i {
  transition: all 0.3s ease;
  font-size: 5rem;
}

.skills i:hover {
  transform: scale(1.2);
  cursor: pointer;

}

.softskills {
  padding-top: 1.5rem;
}

.softskills li {
  font-weight: 300;
  font-size: 1.2rem;
  display: flexbox;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0rem 0.5rem;
}

.idiomas {
  padding-top: 5rem;
}

.idiomas li {
  font-weight: 300;
  font-size: 1.3rem;
  display: flexbox;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0rem 0.5rem;
}

.certificacoes {
  padding-top: 10vh;
}

.projects {
  font-family: "Jost", sans-serif;
  text-align: center;
  justify-content: center;
  display: flex;
  padding: 5vh 15vh 10vh 15vh;
  flex-wrap: wrap;
}

section {
  padding-left: 5vh;
  padding-right: 5vh;
  padding-top: 5vh;
  padding-bottom: 10vh;
}

footer {
  padding-top: 6vh;
  padding-bottom: 6vh;
  bottom: 0;
  margin: 0;
  width: 200%;
  position: relative;
  left: 0;
  align-self: center;
  text-align: center;
  background-color: #161616;
}

footer h2 {
  font-size: 1.5rem;
  color: greenyellow;
}

.footer_info {
  padding: 20px;
}

.footer_social {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 30px;
}

/* Botão */
.animated-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 16px 36px;
  border: 4px solid;
  border-color: transparent;
  font-size: 16px;
  background-color: inherit;
  border-radius: 100px;
  font-weight: 600;
  color: greenyellow;
  box-shadow: 0 0 0 2px greenyellow;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button svg {
  position: absolute;
  width: 24px;
  fill: greenyellow;
  z-index: 9;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .arr-1 {
  right: 16px;
}

.animated-button .arr-2 {
  left: -25%;
}

.animated-button .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-color: greenyellow;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .text {
  position: relative;
  z-index: 1;
  transform: translateX(-12px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button:hover {
  box-shadow: 0 0 0 12px transparent;
  color: #212121;
  border-radius: 12px;
}

.animated-button:hover .arr-1 {
  right: -25%;
}

.animated-button:hover .arr-2 {
  left: 16px;
}

.animated-button:hover .text {
  transform: translateX(12px);
}

.animated-button:hover svg {
  fill: #212121;
}

.animated-button:active {
  scale: 0.95;
  box-shadow: 0 0 0 4px greenyellow;
}

.animated-button:hover .circle {
  width: 220px;
  height: 220px;
  opacity: 1;
}

/* Fim do botão */

/* Icones de Redes sociais */
ul {
  list-style: none;
}

.example-2 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.example-2 .icon-content {
  margin: 0 10px;
  position: relative;
}

.example-2 .icon-content .tooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  font-size: 14px;
  transition: all 0.3s ease;
}

.example-2 .icon-content:hover .tooltip {
  opacity: 1;
  visibility: visible;
  top: -50px;
}

.example-2 .icon-content a {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #4d4d4d;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}

.example-2 .icon-content a:hover {
  box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 12%);
}

.example-2 .icon-content a svg {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
}

.example-2 .icon-content a:hover {
  color: white;
}

.example-2 .icon-content a .filled {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #000;
  transition: all 0.3s ease-in-out;
}

.example-2 .icon-content a:hover .filled {
  height: 100%;
}

.example-2 .icon-content a[data-social="linkedin"] .filled,
.example-2 .icon-content a[data-social="linkedin"]~.tooltip {
  background-color: #0274b3;
}

.example-2 .icon-content a[data-social="github"] .filled,
.example-2 .icon-content a[data-social="github"]~.tooltip {
  background-color: #24262a;
}

.example-2 .icon-content a[data-social="instagram"] .filled,
.example-2 .icon-content a[data-social="instagram"]~.tooltip {
  background: linear-gradient(45deg,
      #405de6,
      #5b51db,
      #b33ab4,
      #c135b4,
      #e1306c,
      #fd1f1f);
}

.example-2 .icon-content a[data-social="youtube"] .filled,
.example-2 .icon-content a[data-social="youtube"]~.tooltip {
  background-color: #ff0000;
}

/* Fim dos icones de redes sociais */

/* Card */
.card-frontpage {
  background: #474747d8;
  width: 13rem;
  padding-top: 25px;
  padding-bottom: 25px;
  padding-left: 20px;
  padding-right: 20px;
  border: 4px solid #fff;
  box-shadow: 0 6px 10px #212121;
  border-radius: 10px;
  text-align: center;
  color: #fff;
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
}

.card-frontpage:hover {
  transform: translateY(-10px);
}

.user-picture {
  overflow: hidden;
  object-fit: cover;
  width: 5rem;
  height: 5rem;
  border: 4px solid #fff;
  border-radius: 999px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
}

.user-picture svg {
  width: 2.5rem;
  fill: currentColor;
}

.name-client {
  margin: 0;
  margin-top: 20px;
  font-weight: 600;
  font-size: 18px;
}

.name-client span {
  display: block;
  font-weight: 200;
  font-size: 16px;
}

.social-media:before {
  content: " ";
  display: block;
  width: 100%;
  height: 2px;
  margin: 20px 0;
  background: #fff;
}

.social-media a {
  position: relative;
  margin-right: 15px;
  text-decoration: none;
  color: inherit;
}

.social-media a:last-child {
  margin-right: 0;
}

.social-media a svg {
  width: 1.1rem;
  fill: currentColor;
}

.tooltip-social {
  background: #262626;
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  padding: 0.5rem 0.4rem;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -90%);
  transition: all 0.2s ease;
  z-index: 1;
}

.tooltip-social:after {
  content: " ";
  position: absolute;
  bottom: 1px;
  left: 50%;
  border: solid;
  border-width: 10px 10px 0 10px;
  border-color: transparent;
  transform: translate(-50%, 100%);
}

.social-media a .tooltip-social:after {
  border-top-color: #262626;
}

.social-media a:hover .tooltip-social {
  opacity: 1;
  transform: translate(-50%, -130%);
}

.grid-auto {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  justify-content: center;
  margin-top: 1rem;
}

.cols-curriculo {
  gap: 2.5rem 3rem;
}

.card-client {
  background-color: #1e1e1e;
  border: 1px solid #333;
  color: #eee;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 6px 15px #0000004d;
  max-width: 350px;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  box-sizing: border-box;
  margin: 10px auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  text-align: center;
}

.card-client h2 {
  font-size: 2.5rem;
  margin: 0;
  font-weight: 600;
}

.card-client:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 12px greenyellow;
  border: 1px solid greenyellow;
}

.skills ul,
.skills ul i {
  vertical-align: middle;
}

.softskills li,
.idiomas li {
  margin-bottom: 0.4rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  padding: 40px 20px;
}

.project-card {
  background: linear-gradient(135deg, #1f1f1f, #2c2c2c);
  border: 1px solid #333;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  color: #e0e0e0;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 12px greenyellow;
  border: 1px solid greenyellow;
}

.project-card h2 {
  color: greenyellow;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.project-card h3 {
  margin-top: 20px;
  font-size: 1.2rem;
}

.project-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #cccccc;
}

.project-card a {
  display: inline-block;
  margin-top: 14px;
  color: #00ffaa;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.project-card a:hover {
  color: #66ffd0;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    padding: 20px 10px;
  }

  .project-card {
    padding: 20px;
  }
}
