/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Grechen+Fuemen&family=Montserrat+Alternates:wght@400;500;600&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  /* 
         Change favorite color:

         Default (Red): hsl(358, 80%, 49%)
         Purple: hsl(265, 80%, 49%) - Blue: hsl(220, 80%, 49%)
         Pink: hsl(330, 80%, 49%) - Green: hsl(162, 70%, 40%)
         Orange: hsl(14, 80%, 49%)

         For more colors visit: https://htmlcolorcodes.com/
         -> Choose any color 
         -> Copy the color mode (HSL)
  */
  --hue: 358;
  --first-color: hsl(var(--hue), 80%, 49%);
  --first-color-alt: hsl(var(--hue), 76%, 45%);
  --white-color: hsl(0, 0%, 98%);
  --black-color: hsl(0, 0%, 1%);
  --text-color: hsl(var(--hue), 2%, 66%);
  --body-color: hsl(var(--hue), 100%, 1%);
  --container-color: hsl(var(--hue), 2%, 10%);
  --conic-gradient: conic-gradient(from 150deg at 50% 45%,
                  hsl(var(--hue), 80%, 20%) 0deg,
                  hsl(var(--hue), 80%, 48%) 140deg,
                  hsl(var(--hue), 80%, 20%) 360deg);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Montserrat Alternates", sans-serif;
  --second-font: "Grechen Fuemen", cursive;
  --biggest-font-size: 2.5rem;
  --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 weight ==========*/
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1168px) {
  :root {
    --biggest-font-size: 3.5rem;
    --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: smooth;
}

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

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

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

h1, h2, h3, h4 {
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

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

.section__title {
  font-size: var(--h2-font-size);
  text-align: center;
  margin-bottom: 2rem;
}

.main {
  overflow: hidden;
}

/*=============== NAV ===============*/
.nav{
  position: fixed;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  background-color: hsla(0, 0%, 98%, 0.1);
  width: 88%;
  margin-inline: auto;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1rem 2rem;
  border-radius: 4rem;
  z-index: var(--z-fixed);
}

.nav__list{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__link {
  width: 2.5rem;
  height: 2.5rem;
  background-color: transparent;
  color: var(--white-color);
  font-size: 1.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background-color 0.6s;
}


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

/*===== PERFIL =====*/
.perfil{
  position: relative;
  background: var(--conic-gradient);
  height: 415px;
  border-radius: 2rem;
  padding: 1rem;
  display: grid;
  overflow: hidden;
  margin-bottom: 1rem;
}

.perfil__img{
  width: 340px;
  justify-self: center;
  align-self: flex-end;
  position: absolute;
}

.perfil__data {
  align-self: flex-end;
  background-color: hsla(0, 0%, 1%, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.5rem 1rem;
  border-radius: 1.5rem;
  border: 2px solid hsla(0, 0%, 100%, .5);
}

.perfil__name {
  font: var(--font-regular) var(--biggest-font-size) var(--second-font);
  margin-bottom: 1rem;
}

.perfil__buttons {
  display: grid;
  column-gap: .5rem;
  grid-template-columns: repeat(2, 1fr);
}

.perfil__buttons .button {
  padding: .75rem 0;
}

/*===== INFO ===== */
.info,
.about,
.skills {
  background-color: var(--container-color);
  padding: 2rem 1.5rem;
  border-radius: 2rem;
  position: relative;
}

.info__circle {
  width: 2rem;
  height: 2rem;
  background-color: var(--first-color);
  border-radius: 50%;
}

.info__name {
  font: var(--font-regular) var(--h1-font-size) var(--second-font);
}

.info__data {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 0.5rem;  
}

.info__image {
  /* Substitua a linha de background original por estas: */
  background-image: url('../img/bowser.gif');
  background-size: cover; /* Faz o GIF cobrir 100% da área sem distorcer */
  background-position: center; /* Centraliza o GIF */
  background-repeat: no-repeat; /* Garante que o GIF não se repita */
  height: 180px;
  border-radius: 2rem;
  display: grid;
  margin-block: 1.5rem;
  overflow: hidden;
}

.info__img {
  width: 140px;
  justify-self: center;
  align-self: flex-start;
  margin-top: 20px;
  margin-left: -152px;
}

.info__description {
  font-size: var(--small-font-size);
  margin-bottom: 2rem;
}

.info .button {
  width: 100%;
}

/*===== ABOUT =====*/
.about__name {
  font-size: var(--normal-font-size);
  font-weight: var(--font-regular);
  margin-bottom: 1rem;
}

.about__social {
  display: flex;
  justify-content: center;
  column-gap: 1.5rem;
  margin-block: 2rem;
}

.about__link {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--white-color);
  color: var(--black-color);
  font-size: 1.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background-color .4s, color .4s;
}

.about__link:hover {
  background-color: var(--first-color);
  color: var(--white-color);
}

.about__image {
  background: var(--conic-gradient);
  height: 300px;
  border-radius: 2rem;
  display: grid;
  overflow: hidden;
  position: relative;
}

.about__img {
  width: 150px;
  justify-self: center;
  transform: translateY(-2.5rem);
}

.about__note {
  font-size: var(--small-font-size);
  margin-block: 1rem 2rem;
}


.about .button {
  width: 100%;
}



/* 2. Estilo base para todas as camadas de imagem */
.about__layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* Permite clicar através das imagens */
}

/* 3. Estilo para a camada de fundo */
.about__background-layer {
  z-index: 1; /* Fica atrás */
  object-fit: cover; /* Cobre todo o espaço do contêiner */
}

/* 4. Prepara a camada da animação */
#about-animation-layer {
  z-index: 2; /* Fica na frente */
  object-fit: contain; /* Mostra o GIF inteiro sem cortar */
}


/* 5. Classes de posicionamento para cada personagem/GIF */

/* Posição 1: Kirby (Flutuando no meio) */
.about-pos-1 {
  width: 80px !important;
  height: 90px !important;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Posição 2: Super Mario (Correndo no chão) */
.about-pos-2 {
  width: 70px !important;
  height: 80px !important;
  top: auto; /* Alinha pela base */
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
}

/* Posição 3: Sonic (Correndo no canto) */
.about-pos-3 {
  width: 60px !important;
  height: 70px !important;
  top: auto;
  bottom: 12%;
  left: 25%;
  transform: translateX(-50%);
}



/*===== SKILLS =====*/
.skills__title {
  font-size: var(--h2-font-size);
}

.skills__item {
  width: 1.5rem;
  transition: transform .4s;
}

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

.skills__items{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-block: 1.5rem;
}


/*=============== BUTTON ===============*/
.button {
  display: inline-flex;
  justify-content: center;
  background-color: var(--first-color);
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
  padding: 1.25rem 2.5rem;
  border-radius: 4rem;
  transition: background-color .4s;
}

.button__black {
  background-color: var(--black-color);
}

.button:hover {
  background-color: var(--first-color-alt);
}

/*=============== PROJECTS ===============*/
.projects__card {
  background-color: var(--container-color);
  padding: 1.5rem;
  border-radius: 2rem;  
  margin-bottom: 1.5rem;
}

/* Atualização na classe .projects__img e adição para vídeo */
.projects__img {
  width: 100%;
  height: 100%;       /* Ocupa o container */
  object-fit: cover;  /* Garante que preenche sem esticar */
  transition: transform 0.4s;
  display: block;
}

/* Forçar altura fixa no container da imagem APENAS se quiseres padronizar */
.projects__image {
  height: 250px; /* Altura padrão para vídeos e imagens */
  display: block;
  overflow: hidden;
  border-radius: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Ajuste para Desktop */
@media screen and (min-width: 1200px) {
    .projects__image {
        height: 300px; /* Um pouco maior em telas grandes */
    }
}

.projects__name {
  font-size: var(--h3-font-size);
  margin-bottom: 0.5rem;
}

.projects__description {
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.projects__skill{
  width: 1rem;
  transition: transform 0.4s;
}

.projects__skill:hover {
  transform: translateY(-0.25rem);
}

.projects__skills {
  width: max-content;
  height: 34px;
  background-color: var(--black-color);
  padding-inline: 0.75rem;
  display: flex;
  align-items: center;
  column-gap: 0.75rem;
  border-radius: 4rem;
  margin-bottom: 1.5rem;
}


.projects__button {
  color: var(--white-color);
  display: inline-flex;
  align-items: center;
  column-gap: 0.5rem;
  transition: color 0.4s;
}

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

.projects__button span {
  font-weight: var(--font-medium);
}

.projects__button:hover {
  color: var(--text-color);
}

.projects__card:hover .projects__img {
  transform: scale(1.2);
}


/*=============== SERVICES ===============*/
.services__card {
  background-color: var(--container-color);
  padding: 4rem 1.5rem 3.5rem 1.5rem;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
}

.services__icon {
  display: inline-block;
  position: relative;
  margin-bottom: 2rem;
}

.services__icon i {
  font-size: 2.5rem;
  position: relative;
  z-index: var(--z-tooltip);
}

.services__circle {
  width: 3rem;
  height: 3rem;
  background-color: var(--first-color);
  border-radius: 50%;
  position: absolute;
  top: -1rem;
  right: -1rem;
  transition: transform 0.4s;
}

.services__name {
  font-size: var(--h3-font-size);
  margin-bottom: 1rem;
}

.services__description {
  color: var(--text-color);
}

.services__card:hover .services__circle {
  transform: translate(.25rem, -.25rem);
}

/*=============== EXPERIENCE ===============*/

.experience__container {
  row-gap: 2rem;
}

.experience__card {
  display: grid;
  row-gap: 1rem;
}

.experience__company {
  font-size: var(--h2-font-size);
}

.experience__data {
  background-color: var(--container-color);
  padding: 1.5rem;
  border-radius: 1.5rem;
}

.experience__profession {
  font-size: var(--h3-font-size);
  margin-bottom: 0.5rem;
}

.experience__date {
  display: block;
  font-size: var(--smaller-font-size);
  margin-bottom: 1rem;
}

.experience__description {
  color: var(--text-color);
}


/*=============== CONTACT ===============*/
.contact__group,
.contact__form {
  gap: 1rem;
}

.contact__form {
  position: relative;
}

.contact__input {
  background-color: var(--container-color);
  padding: 1.25rem;
  border-radius: 4rem;
  color: var(--white-color);
  
}

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

.contact__input:autofill {
  transition: background-color 6000s, color 6000s;
}

.contact__area {
  height: 10rem;
  margin-top: 1rem;
  resize: none;
}

.contact__button {
  margin-top: 2rem;
  cursor: pointer;
}

.contact__message {
  position: absolute;
  left: 0;

  bottom: 5rem;
  font-size: var(--smaller-font-size);
}

/*=============== FOOTER ===============*/
.footer {
  padding-block: 2rem 8rem;
}

.footer__container {
  row-gap: 2.5rem;
}

.footer__logo {
  color: var(--white-color);
  font: var(--font-regular) var(--biggest-font-size) var(--second-font);
  justify-self: center;
}

.footer__links {
  display: flex;
  justify-content: center;
  column-gap: 2rem;
}

.footer__link {
  color: var(--white-color);
  transition: color 0.4s;
}

.footer__link:hover {
  color: var(--text-color);
}

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

.footer__social-link {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--first-color);
  color: var(--white-color);
  font-size: 1.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background-color 0.4s, color 0.4s;
}

.footer__social-link:hover {
  background-color: var(--white-color);
  color: var(--black-color);
}


.footer__copy {
  display: block;
  margin-top: 4.5rem;
  text-align: center;
  font-size: var(--small-font-size);
  color: var(--text-color);
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: 0.6rem;
  background-color: hsl(0, 0%, 20%);
  border-radius: 0.5rem;
}

::-webkit-scrollbar-thumb {
  background-color: hsl(0, 0%, 30%);
  border-radius: 0.5rem;
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(0, 0%, 40%);
}

/*=============== SCROLL UP ===============*/
/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -30%; /* Posição inicial (escondido) */
  background-color: hsla(0, 0%, 98%, 0.1);
  display: inline-flex;
  padding: 6px;
  color: var(--white-color);
  font-size: 1.25rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 0.5rem;
  z-index: var(--z-tooltip);
  transition: bottom 0.4s, transform .4s;
}

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

/* Show Scroll Up */
.show-scroll {
  bottom: 8rem; /* Posição final (visível) */
}





/*=============== TESTIMONIALS ===============*/
/*=============== TESTIMONIALS ===============*/
.testimonial__card {
  background-color: var(--container-color);
  padding: 2rem 1.5rem;
  border-radius: 2rem;
  margin-bottom: 0; /* Removemos a margem inferior para o grid funcionar bem */
  position: relative;
  transition: transform 0.4s, box-shadow 0.4s, border-color 0.4s;
  border: 1px solid transparent; 
  height: 100%; /* Garante que todos têm a mesma altura */
  display: flex;
  flex-direction: column;
}

.testimonial__card:hover {
  transform: translateY(-0.5rem);
  border-color: var(--first-color);
  box-shadow: 0 8px 24px hsla(var(--hue), 80%, 49%, 0.15);
}

.testimonial__header {
  display: flex;
  align-items: center;
  column-gap: 1rem;
  margin-bottom: 1.5rem;
}

.testimonial__img-box {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--first-color);
  padding: 2px;
  flex-shrink: 0; /* Impede a imagem de amassar em telas pequenas */
}

.testimonial__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background-color: var(--body-color);
}

.testimonial__data {
  flex: 1;
}

.testimonial__name {
  font-size: var(--h3-font-size);
  margin-bottom: 0.25rem;
  color: var(--white-color);
}

.testimonial__role {
  font-size: var(--smaller-font-size);
  color: var(--text-color);
}

.testimonial__icon {
  font-size: 2rem;
  color: var(--first-color);
}

.testimonial__description {
  color: var(--text-color);
  font-size: var(--small-font-size);
  line-height: 1.6;
  font-style: italic;
}

/* --- ESTILO MOBILE (Padrão) --- */
/* Transformamos em um Slider Horizontal */
.testimonial__container {
  display: grid;
  grid-auto-flow: column; /* Coloca os itens lado a lado */
  grid-auto-columns: 85%; /* Cada card ocupa 85% da tela (mostra um pedaço do próximo) */
  gap: 1.5rem;
  overflow-x: auto; /* Permite rolar para o lado */
  overscroll-behavior-inline: contain;
  padding-block: 2rem; /* Espaço para a sombra não cortar */
  scroll-snap-type: x mandatory; /* Efeito magnético ao rolar */
  scrollbar-width: none; /* Esconde a barra de rolagem no Firefox */
}

/* Esconde barra de rolagem no Chrome/Safari */
.testimonial__container::-webkit-scrollbar {
  display: none;
}

.testimonial__card {
  scroll-snap-align: center; /* Centraliza o card ao soltar o dedo */
}


/*=============== ANIMAÇÃO DE MOVIMENTO DOS PERSONAGENS ===============*/
/* 1. Define a animação (o "caminho" a ser percorrido) */
@keyframes animate-walk {
  from {
    /* Começa fora da tela, à esquerda */
    transform: translateX(-150%);
    opacity: 1;
  }
  to {
    /* Termina fora da tela, à direita */
    transform: translateX(620%);
    opacity: 1;
  }
}

/* 2. Cria uma classe "gatilho" para aplicar a animação */
.is-walking {
  animation-name: animate-walk;
  animation-timing-function: linear; /* Velocidade constante, sem aceleração */
  animation-fill-mode: forwards; /* Mantém o estado final da animação */
}


/*=============== BREAKPOINTS ===============*/
/* Para dispositivos MUITO PEQUENOS (Ex: Galaxy Fold, iPhone SE 1ª gen)
   Telas com largura máxima de 400px. Nosso ponto de partida de 344px se encaixa aqui. */
@media screen and (max-width: 320px) {
  .container {
    margin-inline: 1rem;
  }

  .nav {
    paddin: 1rem;
  }
}

/* Para dispositivos PEQUENOS (Celulares em modo paisagem)
   Telas a partir de 540px de largura. */
@media screen and (min-width: 540px) {
  .nav {
    width: max-content;
  }

  .nav__list {
    column-gap: 1.25rem;
  }

  .home__container,
  .projects__container,
  .services__container,
  .experience__container,
  .contact__container {
    grid-template-columns: 380px;
    justify-content: center;   
  }
}

/* Para dispositivos MÉDIOS (Tablets)
   Telas a partir de 768px de largura. */
@media screen and (min-width: 768px) {
  .home__container {
    grid-template-columns: repeat(2, 350px);
    align-items: flex-start;
  }

  .perfil {
    height: 100%;
  }


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

  .experience__container {
    grid-template-columns: initial;
  }

  .experience__card {
    grid-template-columns: 320px 380px;
    align-items: center;
  }

  .footer__container,
  .footer__content{
    grid-template-columns: repeat(2, max-content);
    align-items: center;
  }

  .footer__container {
    justify-content: space-between;
  }

  .footer__content {
    column-gap: 4.5rem;
  }

  .show-scroll {
    bottom: 3rem;
  }

  .testimonial__container {
    grid-auto-flow: row; /* Volta ao normal */
    grid-template-columns: repeat(2, 350px); /* 2 colunas */
    overflow-x: hidden; /* Remove scroll lateral */
    justify-content: center;
  }
}

/* Para dispositivos GRANDES (Desktops pequenos)
   Telas a partir de 1200px de largura. */
@media screen and (min-width: 1200px) {
  .container {
    margin-inline: auto;
  }

  .section {
    padding-block: 3rem 4rem;
  }

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

  .home__container {
    grid-template-columns: 280px 560px 280px;
    align-items: stretch;
  }

  .perfil {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    padding: 2rem;
  }

  .perfil__img {
    width: 600px;
  }

  .perfil__data {
    width: 370px;
    padding: 1.5rem;
    border-radius: 2rem;
  }

  .info {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  .info__name {
    font-size: var(--h2-font-size);
  }

  .about {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
    align-content: center;
  }

  .about__image {
    height: 210px;
  }

  .about__img {
    transform: translateY(-1rem);
  }

  .skills {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }

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

  .projects__container {
    grid-template-columns: repeat(3, 368px);
    gap: 2rem;
  }

  .projects__card {
    padding-bottom: 2rem;
  }

  .services__container {
    grid-template-columns: repeat(3, 368px);
    gap: 2rem;
  }

  .services__card {
    padding-block: 6rem 5rem;
  }

  .services__icon i {
    font-size: 3.5rem;
  }

  .services__circle {
    width: 4rem;
    height: 4rem;
    right: -1.5rem;
    top: -1.5rem;
  }

  .experience__container {
    row-gap: 4rem;
  }

  .experience__card {
    grid-template-columns: 350px 510px;
    column-gap: 8rem;
  }

  .experience__company {
    font-size: var(--h1-font-size);
  }

  .experience__data {
    padding: 2rem;
    border-radius: 2rem;
  }

  .testimonial__container {
    grid-template-columns: repeat(3, 368px);
    gap: 2rem;
    overflow: visible;
  }
  
  .testimonial__card {
    padding: 2.5rem 2rem; /* Mais espaço interno no desktop */
  }



  .contact__container {
    grid-template-columns: 620px;
  }

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

  .contact__area {
    height: 15rem;
  }

  .contact__button {
    width: max-content;
    justify-self: center;
  }

  .footer {
    padding-top: 3rem;
  }

  .footer__links {
    column-gap: 3rem;
  }

  .footer__copy {
    margin-top: 7rem;
  }
   
}

@media screen and (min-width: 1500px) {
  .nav {
    width: max-content;
    height: max-content;
    padding: 2rem 1rem;
    left: initial;
    right: 3rem;
    top: 0;
    bottom: 0;
    margin-block: auto;
  }

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

  .footer {
    padding-block: 3rem;
  }

  .scrollup {
    right: 4rem;
  }
}




/*=============== ABOUT GIF WALKING ANIMATION ===============*/
/* 1. Define a animação (o "caminho" a ser percorrido) */
@keyframes animate-walk-about {
  from {
    /* Começa um pouco fora da tela, à esquerda */
    transform: translateX(-110%);
  }
  to {
    /* Termina bem fora da tela, à direita */
    transform: translateX(110%);
  }
}

/* 2. Cria uma classe "gatilho" para aplicar a animação */
.is-walking-about {
  animation-name: animate-walk-about;
  animation-timing-function: linear; /* Velocidade constante */
  animation-fill-mode: forwards; /* Mantém o estado final da animação */
}

/* 3. Novas classes de posicionamento para os novos GIFs */
/* Adicione estas classes junto com as outras .about-pos-* que você já tem */

/* Posição 0: Metal Slug (Parado e maior) */
.about-pos-0 {
  width: 100% !important;
  height: auto !important;
  top: auto;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* Posição 4: Bomberman (No canto superior) */
.about-pos-4 {
  width: 90px !important;
  height: 110px !important;
  top: auto;
  bottom: 15%; /* Um pouco acima do chão */
}