@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");

:root {
  --header-height: 3.5rem;
  /* lembrete do link das cores: https://colors.dopely.top/color-pedia */

  --hue: 291;
  --first-color:  #0070f0;
  --first-color-alt:  #05aaeb;
  --title-color: hsl(186, 63%, 97%);
  --text-color: rgb(249, 250, 252);
  --body-color: #2e2f33;
  --container-color: hsl(0, 0%, 3%);
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Poppins", sans-serif;
  --biggest-font-size: 2rem;
  --bigger-font-size: 1.25rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --z-tooltip: 10;
  --z-fixed: 100;
}

/* === Estilo para as bandeiras de idioma no topo === */
.language-switch {
  position: fixed;
  top: 15px;    /* era 10px coloquei 15 para testes*/
  right: 60px; /* era 10px coloquei 60 para testes*/
  z-index: 1000;
}

.language-switch button {
  font-size: 20px;
  margin-left: 5px;
  cursor: pointer;
  background: none;
  border: none;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1152px) {
  :root {
    --biggest-font-size: 3.3rem;
    --bigger-font-size: 1.7rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: auto;
}

input,
textarea,
button,
body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
}

input,
textarea,
button {
  outline: none;
  border: none;
}

h1,
h2,
h3,
h4 {
  color: var(--title-color);
  font-weight: var(--font-medium);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding-block: 5rem 2rem;
}

.section__title,
.section__subtitle {
  text-align: center;
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

.section__title {
  font-size: var(--h1-font-size);
  margin-bottom: 1.5rem;
}

.section__subtitle {
  font-size: var(--small-font-size);
  margin-bottom: .25rem;
}

.section__subtitle span {
  color: var(--first-color);
}

.main {
  overflow: hidden;
  /* For animation ScrollReveal */
}

/*=============== HEADER & NAV ===============*/
.header {
  position: fixed;
  width: 100%;
  background-color: var(--container-color);
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  color: var(--title-color);
  font-weight: var(--font-medium);
}

.nav__logo span {
  color: var(--first-color);
}

.nav__list {
  margin-right: 0rem !important;
}

.nav__toggle,
.nav__close {
  display: flex;
  font-size: 1.25rem;
  color: var(--title-color);
  cursor: pointer;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1023px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    background-color: hsla(0, 0%, 10%, .3);
    width: 40%;
    height: 100%;
    padding: 4rem 0 0 3rem;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transition: right .4s;
  }
}

.nav__list {
  display: flex;
  flex-direction: column;
  row-gap: 2.5rem;
}

.nav__link {
  color: var(--title-color);
  font-weight: var(--font-medium);
  transition: color .4s;
}

.nav__link:hover {
  color: var(--first-color);
}

.nav__close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

/* Show menu */
.show-menu {
  right: 0;
}

/* Add blur to header */
.blur-header {
  background-color: transparent;
}

.blur-header::after {
  content: '';
  position: absolute;
  width: 1000%;
  height: 100%;
  background-color: hsla(0, 0%, 10%, .3);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  top: 0;
  left: 0;
  z-index: -1;
}

/* Active link */
.active-link {
  color: var(--first-color);
}

/*=============== HOME ===============*/
.home {
  background-color: var(--container-color);
  background-image: url('../images/bg.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.home__container {
  padding-top: 0rem !important;
  padding-bottom: 5rem !important;
  row-gap: 2.5rem;
}

.home__content {
  display: grid;
  row-gap: 2rem;
}

.home__data {
  text-align: center;
}

.home__subtitle,
.home__education {
  font-size: var(--bigger-font-size);
}

.home__subtitle span,
.home__title {
  color: var(--first-color);
}

.home__title {
  font-size: var(--biggest-font-size);
  font-weight: var(--font-semi-bold);
}

.home__description {
  margin-block: 1rem 1.5rem;
}

.home__social {
  display: flex;
  justify-content: center;
  column-gap: 1.25rem;
}

.home__social-link {
  display: flex;
  background-color: var(--first-color-alt);
  padding: .5rem;
  color: var(--title-color);
  font-size: 1.5rem;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transition: transform .4s;
}

.home__social-link:hover {
  transform: translateY(-.25rem);
}

.home__image {
  justify-self: center;
}

.home__blob {
  width: 320px;
  fill: var(--first-color);
  filter: drop-shadow(0 10px 10px hsla(var(--hue), 100%, 40%, .2));
  margin-left: 7rem;
}

/*=============== BUTTON ===============*/
.button {
  display: inline-block;
  background-color: var(--first-color);
  padding: 0.5rem 1.3rem;
  border-radius: .5rem;
  color: var(--title-color);
  transition: box-shadow .4s;
}

.button:hover {
  box-shadow: 0 8px 24px hsla(var(--hue), 100%, 40%, .25);
}

/*=============== ABOUT ===============*/
.about__container {
  row-gap: 2.5rem;
}

.about__data {
  text-align: center;
}

.about__description {
  margin-bottom: 2rem;
  padding: 0 2rem;
}

.about__image {
  justify-self: center;
}

.about__blob {
  width: 320px;
}

.about__blob path {
  stroke: var(--first-color);
}

/*=============== SKILLS ===============*/
.skills {
  background-color: var(--container-color);
  background-image: url('../images/bg.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.skills__container {
  padding-bottom: 2rem;
  row-gap: 3.5rem;
}

.skills__data {
  text-align: center;
}

.skills__description {
  margin-bottom: 2rem;
}

.skills__content,
.skills__group {
  display: grid;
}

.skills__content {
  grid-template-columns: repeat(2, max-content);
  column-gap: 4rem;
  justify-content: center;
  align-items: baseline;
}

.skills__group {
  row-gap: 1rem;
  list-style: decimal-leading-zero;
}

.skills__item {
  font-weight: var(--font-medium);
  color: var(--title-color);
}

.skills__item::marker {
  color: var(--first-color);
}

/*=============== SERVICES ===============*/
.services__container {
  row-gap: 2rem;
  padding-block: 1rem;
}

.services__card {
  text-align: center;
  background-color: var(--container-color);
  padding: 3rem 1.25rem;
  border-radius: 1rem;
  border: 2px solid var(--container-color);
  transition: border .4s;
}

.services__icon {
  display: block;
  font-size: 4rem;
  color: var(--first-color);
  margin-bottom: .75rem;
}

.services__title {
  font-size: var(--h2-font-size);
  margin-bottom: 1.5rem;
}

.services__card:hover {
  border: 2px solid var(--first-color);
}

/*=============== PROJECTS ===============*/
.projects {
  background-color: var(--container-color);
  background-image: url('../images/bg.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.projects__container {
  row-gap: 2rem;
  justify-content: center;
  padding-block: 1rem;
}

.projects__card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
}

.projects__img {
  width: 100%;
  height: 100%;
}

.projects__modal {
  position: absolute;
  left: 0;
  bottom: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      hsla(0, 0%, 0%, 0) 0%,
      hsla(var(--hue), 70%, 40%, .8) 120%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: bottom .4s;
}

.projects__subtitle,
.projects__button {
  color: var(--title-color);
  font-size: var(--small-font-size);
}

.projects__subtitle {
  display: block;
  margin-bottom: .25rem;
}

.projects__title {
  font-size: var(--h2-font-size);
  margin-bottom: .75rem;
}

.projects__button {
  display: flex;
  align-items: center;
  column-gap: .5rem;
  font-weight: var(--font-medium);
}

.projects__button i {
  font-size: 1.25rem;
}

.projects__card:hover .projects__modal {
  bottom: 0;
}

/*=============== CONTACT ===============*/
.contact__container {
  display: flex;
  justify-content: center;
  padding-top: 1rem;
}

.contact__form,
.contact__group {
  display: grid;
  row-gap: 1rem;
}

.contact__form {
  position: relative;
}

.contact__input {
  padding: 1rem 1.25rem;
  border-radius: .5rem;
  background-color: var(--container-color);
  color: var(--title-color);
}

.contact__input::placeholder {
  color: var(--text-color);
}

.contact__form textarea {
  height: 11rem;
  resize: none;
  margin-bottom: 2rem;
}

.contact__button {
  justify-self: center;
  cursor: pointer;
}

.contact__message {
  position: absolute;
  left: 0;
  bottom: 4rem;
  font-size: var(--small-font-size);
  color: var(--title-color);
}

/*=============== FOOTER ===============*/
.footer {
  background-color: var(--container-color);
  padding-block: 3.5rem 2rem;
}

.footer__container {
  text-align: center;
}

.footer__title {
  font-size: var(--h1-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: .25rem;
}

.footer__title span {
  color: var(--first-color);
}

.footer__education {
  font-size: var(--normal-font-size);
}

.footer__social {
  display: flex;
  justify-content: center;
  column-gap: 1.25rem;
}

.footer__social-link {
  display: flex;
  background-color: var(--first-color-alt);
  padding: .5rem;
  color: var(--title-color);
  font-size: 1.5rem;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transition: transform .4s;
}

.footer__social-link:hover {
  transform: translateY(-.25rem);
}

.footer__copy {
  font-size: var(--smaller-font-size);
  margin-top: 2rem;
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: .6rem;
  border-radius: .5rem;
  background-color: hsl(228, 12%, 25%);
}

::-webkit-scrollbar-thumb {
  background-color: hsl(228, 8%, 35%);
  border-radius: .5rem;
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(228, 8%, 45%);
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -50%;
  background-color: var(--body-color);
  padding: 6px;
  display: inline-flex;
  border-radius: .25rem;
  color: var(--first-color);
  font-size: 1.25rem;
  box-shadow: 0 4px 12px hsla(228, 15%, 8%, .4);
  z-index: var(--z-tooltip);
  transition: bottom .4s, transform .4s;
}

.scrollup:hover {
  transform: translateY(-.25rem);
}

/* Show Scroll Up */
.show-scroll {
  bottom: 3rem;
}

@media screen and (max-width: 1080px){
  .home__blob {
    margin-left: 0rem;
  }
  .skills__content{
    margin-left: 10vw;
  }
}

/* For small devices */
@media screen and (max-width: 320px) {
  .container {
    margin-inline: 1rem;
  }

  .skills__content {
    grid-template-columns: max-content;
    row-gap: 1rem;
  }

  .services__card {
    padding-block: 1.5rem;
  }
}

/* For medium devices */
@media screen and (min-width: 576px) {

  .home__container,
  .about__container,
  .skills__container,
  .services__container,
  .projects__container,
  .contact__container {
    grid-template-columns: 360px;
    justify-content: center;
  }
}

@media screen and (min-width: 768px) {
  .nav__menu {
    width: 55%;
  }

  .home__container,
  .about__container,
  .skills__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .home__data,
  .about__data,
  .skills__data,
  :is(.about__data, .skills__data) :is(.section__subtitle, .section__title) {
    text-align: initial;
  }

  .home__social {
    justify-content: initial;
  }

  .home__blob,
  .about__blob {
    width: 400px;
  }

  .about__data {
    order: 1;
  }

  .services__container,
  .projects__container {
    grid-template-columns: repeat(2, 352px);
  }
}

/* For large devices */
@media screen and (min-width: 1023px) {
  .home {
    padding-block: 8rem 2rem !important;
  }

  .about {
    padding-block: 5rem 2rem !important;
  }

  .section {
    padding-block: 6rem 2rem;
  }

  .section__subtitle {
    font-size: var(--normal-font-size);
  }

  .nav {
    height: calc(var(--header-height) + 1rem);
  }

  .nav__close,
  .nav__toggle {
    display: none;
  }

  .nav__list {
    flex-direction: row;
    column-gap: 2.3rem;
    margin-right: 3.7rem;
  }

  .nav__menu {
    width: initial;
  }

  .blur-header::after {
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
  }
}

@media screen and (min-width: 1152px) {
  .section__title2 {
    margin-bottom: 0;
  }
  .container {
    margin-inline: auto;
  }

  .home__container {
    grid-template-columns: 455px 550px;
    column-gap: 7rem;
    padding-block: 2rem 3rem;
    /* padding-block: 8rem 3rem; */
  }

  .home__blob {
    width: 460px;
  }

  .home__content {
    row-gap: 3.5rem;
  }

  .home__description {
    margin-block: 1.5rem 2.5rem;
  }

  .home__social {
    column-gap: 1.5rem;
  }

  .about__container {
    grid-template-columns: 550px 460px;
    column-gap: 4.5rem;
    padding-bottom: 1rem;
  }

  .about__blob {
    width: 470px;
  }

  .about__description {
    margin-bottom: 3rem;
    padding: 0 0;
  }

  .skills__container {
    grid-template-columns: 340px 425px;
    column-gap: 10rem;
    padding-bottom: 4rem;
  }

  .skills__description {
    margin-bottom: 3rem;
  }

  .skills__content {
    column-gap: 8rem;
  }

  .skills__group {
    row-gap: 1.5rem;
  }

  .skills__item {
    font-size: var(--h3-font-size);
  }

  .services__container {
    grid-template-columns: repeat(3, 330px);
    padding-block: 1rem 3rem;
  }

  .services__card {
    padding: 3rem 2rem;
  }

  .projects__container {
    grid-template-columns: repeat(3, 350px);
    row-gap: 3rem;
    padding-block: 2.5rem 4rem;
  }

  .projects__button {
    font-size: var(--normal-font-size);
  }

  .contact__form {
    row-gap: 1.5rem;
  }

  .contact__group {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.5rem;
  }

  .contact__input {
    padding: 1rem;
  }

  .contact__form textarea {
    height: 13rem;
  }

  .footer {
    padding-block: 4.5rem 4rem;
  }

  .footer__container {
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    text-align: initial;
  }

  .footer__title {
    font-size: var(--bigger-font-size);
  }

  .footer__social { 
    
    column-gap: 1.5rem;
   
  }

  .footer__copy {
    margin: 0;
    justify-self: flex-end;
  }

  .scrollup {
    right: 3rem;
  }
}

/*===== Animação perfil =====*/

@keyframes fadeInScaleFloat {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    filter: drop-shadow(0 0 6px #05aaff) drop-shadow(0 0 12px #05aaff);
    stroke-opacity: 0.6;
  }
  50% {
    filter: drop-shadow(0 0 18px #05aaff) drop-shadow(0 0 30px #05aaff);
    stroke-opacity: 1;
  }
}

/* Container para aplicar entrada + flutuação */
.home__blob-container {
  width: 420px;  /* antes 320px, aumentei para 380px */
  margin-left: 7rem; /* mantém se quiser afastar do lado esquerdo */
  animation: fadeInScaleFloat 1.2s ease forwards, float 4s ease-in-out infinite;
  transform-origin: center;
  display: block;
  overflow: visible;
}

/* O path do brilho */
.home__glow-path {
  fill: none;
  stroke: #05aaff; /* cor do brilho - pode mudar */
  stroke-width: 10;
  animation: pulseGlow 3.5s ease-in-out infinite;
  transform-origin: center;
  pointer-events: none; /* para não atrapalhar interação */
}

@media screen and (max-width: 768px) {
  .home__blob-container {
    margin-left: 0;
    margin: 0 auto;
    display: block;
  }
}

.projects__all-button-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.projects__all-button-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/*=====botão all projects pulsando =======*/

@keyframes pulse-glow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 hsla(var(--hue), 100%, 60%, 0.7);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 15px 5px hsla(var(--hue), 100%, 60%, 0.6);
    filter: brightness(1.2);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 hsla(var(--hue), 100%, 60%, 0);
    filter: brightness(1);
  }
}

.button--pulse {
  animation: pulse-glow 2s infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Mobile (até 575px) */
@media screen and (max-width: 575px) {
  .services__container {
    display: grid;
    grid-template-columns: 1fr;
    padding-inline: 1rem;
    overflow-x: hidden;
  }

  .services__card {
    max-width: 100%;
    margin: 0 auto;
  }
}

/* Tablets (576px - 767px) */
@media screen and (min-width: 576px) and (max-width: 767px) {
  .services__container {
    grid-template-columns: repeat(2, 1fr);
    padding-inline: 1rem;
  }
}

@media screen and (max-width: 575px) {
  .skills__container {
    padding-inline: 1rem;
  }

  .skills__content {
    grid-template-columns: 1fr;
    justify-items: center;
    margin-left: 0;
    row-gap: 2rem;
    text-align: center; /* centraliza o texto dentro dos itens */
  }

  .skills__group {
    width: 100%;
    max-width: 300px;
  }

  .skills__item {
    text-align: center; /* cada item centralizado */
  }
}

/*=====QRCODE e WhatsApp=======*/
.whatsapp-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.qr__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr__code {
  width: 180px;
  height: 180px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.qr__code:hover {
  transform: scale(1.05);
}

.qr__text {
  margin-top: 0.8rem;
  font-size: 1rem;
  color: var(--text-color);
}

.whatsapp__button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--first-color);
  color: #fff;
  border-radius: 2rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.whatsapp__button:hover {
  background-color: var(--first-color-alt);
  transform: translateY(-2px);
}

/*===== Pulse runner =======*/
iframe {
  width: 800px;
  max-width: 100%;
  height: 250px;
  display: block;
  margin: 2rem auto;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.3);
}

/*===== Não ignorar as quebradas de linha do aboutme =======*/
.about__description {
  white-space: pre-line;
}

/*===== MAPA =======*/

.location__card {
  background: rgba(0, 0, 0, 0.6); /* vidro */
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.2);
  width: 800px;
  height: 550px;
  margin: 0 auto;  
}

.location__map {
  width: 760px;
  height: 400px;
  border: none;
  border-radius: 12px;
  filter: grayscale(100%) invert(92%) brightness(85%) contrast(90%); /*===== filtro para escureçer o mapa fica "sabor dark" XD =======*/
}

.location__info {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.location {
  background-color: var(--container-color);
  background-image: url('../images/bg.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/*=============== INTRO ===============*/

#intro {
    position: fixed;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,.85), rgba(0,0,0,.92)), url('../images/bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 1s ease;
}

.intro__logo {
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--first-color);
    letter-spacing: 10px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    animation: introGlow 3s ease-in-out infinite;
}

.intro__typing {
    color: var(--first-color-alt);
    font-size: 1rem;
    letter-spacing: 2px;
    border-right: 2px solid var(--first-color-alt);
    padding-right: 6px;
    white-space: nowrap;
    overflow: hidden;
}

@keyframes introGlow {
    0% {
        text-shadow:
            0 0 10px rgba(5, 170, 235, 0.5),
            0 0 20px rgba(5, 170, 235, 0.3);
    }
    50% {
        text-shadow:
            0 0 20px rgba(5, 170, 235, 0.9),
            0 0 40px rgba(5, 170, 235, 0.7),
            0 0 60px rgba(5, 170, 235, 0.5);
    }
    100% {
        text-shadow:
            0 0 10px rgba(5, 170, 235, 0.5),
            0 0 20px rgba(5, 170, 235, 0.3);
    }
}

/*===== Scanline =====*/

.intro__scanline {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            to bottom,
            rgba(5,170,255,0.12) 0px,
            rgba(5,170,255,0.12) 1px,
            transparent 1px,
            transparent 4px
        );
    mix-blend-mode: soft-light;
    opacity: .90;
    pointer-events: none;
    animation: scanlineMove 8s linear infinite;
}

/*===== Loading =====*/

.intro__loading {
    width: 220px;
    height: 4px;
    margin-top: 2rem;
    background: rgba(255,255,255,.08);
    border-radius: 999px;
    overflow: hidden;
}

.intro__loading-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(
        90deg,
        var(--first-color),
        var(--first-color-alt)
    );
    box-shadow:
        0 0 10px var(--first-color-alt),
        0 0 20px var(--first-color-alt);
    animation: loadingBar 11s ease forwards;
}

@keyframes loadingBar {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

/*===== TERMINAL CODE =====*/

.intro__code {
    margin-top: 2rem;
    font-family: "Courier New", monospace;
    color: #8fdfff;
    font-size: .9rem;
    opacity: .8;
    line-height: 1.8;
    text-align: left;
}

.cursor {
    animation: blinkCursor .8s infinite;
}

@keyframes blinkCursor {
    50% {
        opacity: 0;
    }
}

/*===== FUTURISTIC CORNERS =====*/

.intro__corners {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.corner {
    position: absolute;
    width: 70px;
    height: 70px;
}

/* linhas */

.corner::before,
.corner::after {

    content: "";
    position: absolute;
    background: #05aaff;
    box-shadow:
    0 0 5px rgba(5,170,255,.6),
    0 0 10px rgba(5,170,255,.7),
    0 0 20px rgba(5,170,255,.8);

animation: cornerPulse 2s ease-in-out infinite;
}

/* linha horizontal */

.corner::before {
    width: 70px;
    height: 2px;
}

/* linha vertical */

.corner::after {
    width: 2px;
    height: 70px;
}

/* TOP LEFT */

.top-left {
    top: 30px;
    left: 30px;
}

/* TOP RIGHT */

.top-right {
    top: 30px;
    right: 30px;
}

.top-right::before,
.top-right::after {
    right: 0;
}

/* BOTTOM LEFT */

.bottom-left {
    bottom: 30px;
    left: 30px;
}

.bottom-left::before,
.bottom-left::after {
    bottom: 0;
}

/* BOTTOM RIGHT */

.bottom-right {
    bottom: 30px;
    right: 30px;
}

.bottom-right::before,
.bottom-right::after {
    right: 0;
    bottom: 0;
}

@keyframes cornerPulse {
    0% {
        opacity: .6;
        box-shadow:
            0 0 5px rgba(5,170,255,.4),
            0 0 10px rgba(5,170,255,.5);
    }
    50% {
        opacity: 1;
        box-shadow:
            0 0 10px rgba(5,170,255,.8),
            0 0 20px rgba(5,170,255,1),
            0 0 35px rgba(5,170,255,.9);
    }
    100% {
        opacity: .6;
        box-shadow:
            0 0 5px rgba(5,170,255,.4),
            0 0 10px rgba(5,170,255,.5);
    }
}

@keyframes scanlineMove {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(10px);
    }
}


/*===== CENTRALIZAR NO MOBILE =====*/
@media screen and (max-width: 768px) {

    .intro__logo {
        text-align: center;
        font-size: 2.2rem;
        letter-spacing: 4px;
        padding-inline: 1rem;
    }
    .location__card {
        width: 100%;
        height: auto;
        padding: 1rem;
    }
    .location__map {
        width: 100%;
        height: 300px;
    }
    .location__info {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ===== PAGE TRANSITION ===== */

body {
    animation: pageReveal 2s ease;
}
body.page-exit {
    animation: pageExit 2s ease forwards;
}

@keyframes pageExit {
    0% {
        filter: blur(0px);
        opacity: 1;
    }
    100% {
        filter: blur(12px);
        opacity: 0.4;
    }
}

@keyframes pageReveal {
    0% {
        filter: blur(12px);
        opacity: 0.4;
    }
    100% {
        filter: blur(0px);
        opacity: 1;
    }
}

/* ===== LENIS SMOOTH SRCOOL ===== */

html.lenis,
html.lenis body {
    height: auto;
}
.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}
.lenis.lenis-stopped {
    overflow: hidden;
}

/* ===== PARTICLES ===== */

#particles-js {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* ===== SKILLS SHOWCASE ===== */

.skills-showcase {
    padding: 4rem 0 2rem;
    overflow: hidden;
}
.skills-block {
    margin-bottom: 4rem;
}
.skills-small-title {
    text-align: center;
    color: #05aaff;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}
.skills-big-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: white;
}
.skills-big-title span {
    background: linear-gradient(
        90deg,
        #05aaff,
        #c850ff
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.skills-marquee {
  padding: 1.8rem 0;
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(
        to right,
        transparent,
        white 15%,
        white 85%,
        transparent
    );
}
.skills-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: marqueeMove 50s linear infinite;
}
.reverse .skills-track {
    animation: marqueeMove 100s linear infinite reverse;
}
.skills-marquee:hover .skills-track {
    animation-play-state: paused;
}
.skill-item {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 1.2rem 2rem;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(0, 0, 0, 0.10);
    border-radius: 18px;
    color: rgba(255, 255, 255, 0.65);
    transition: .35s ease;
    backdrop-filter: blur(10px);
}
.skill-item i {
    font-size: 1.5rem;
}
.skill-item:hover {
    transform: translateY(-8px) scale(1.05);
    color: white;
    border-color: rgba(5,170,255,.6);
    box-shadow:
        0 0 20px rgba(5,170,255,.25),
        0 0 40px rgba(5,170,255,.15);
    background: rgba(5,170,255,.08);
}
.skill-item.soft:hover {
    box-shadow:
        0 0 20px rgba(200,80,255,.25),
        0 0 40px rgba(200,80,255,.15);
    border-color: rgba(200,80,255,.5);
}

@keyframes marqueeMove {
    from {

        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media screen and (max-width: 768px) {
    .skills-big-title {
        font-size: 2.5rem;
    }
    .skill-item {
        padding: 1rem 1.5rem;
    }
}

.skills.section {
    padding-top: 0rem;
    padding-bottom: 0rem;
}

/* ===== GITHUB STATUS ===== */

.github-activity {
    background-color: var(--container-color);
    background-image: url('../images/bg.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 5rem 0;
}
.github-card {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;
    padding: 1.5rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    box-shadow:
        0 0 20px rgba(5,170,255,.08);
    transition: .4s ease;
}
.github-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 0 30px rgba(5,170,255,.18);
}
.github-card img {
    width: 100%;
    display: block;
    border-radius: 14px;
}
.graph-card {
    margin-top: 1rem;
}


/* ===== TILT CARDS ===== */
.projects__card {
    transform-style: preserve-3d;
    transition:
        transform .15s ease,
        box-shadow .25s ease;
}