body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
  color: #fff;
  position: relative;
}

.intro {
  text-align: center;
  z-index: 1;
  position: relative;
  padding: 20px;
}

.logo-intro {
  width: 150px;
  opacity: 0;
  transform: scale(0.5);
  animation: logoIntro 2s forwards;
  margin: 0 auto;
}

h1 {
  opacity: 0;
  animation: textIntro 2s 1s forwards; /* 1s delay para começar depois da logo */
  margin: 10px 0;
}

.cta {
  opacity: 0;
  animation: textIntro 2s 2s forwards; /* 2s delay para começar depois do h1 */
  cursor: pointer;
  text-decoration: underline;
  margin: 10px 0;
}

@keyframes logoIntro {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes textIntro {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.cta:hover {
  color: #fff;
}
/*
.cta:active {
  color: #ffa500;
}*/

/* Animação de fundo */
.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  animation: changeBackground 20s infinite;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

@keyframes changeBackground {
  0%, 20% {
    background-image: url('/img/short_muay_thai_laranja.jpg');
  }
  20%, 40% {
    background-image: url('/img/short_muay_thai_preto.jpg');
  }
  40%, 60% {
    background-image: url('/img/short_muay_thai_vermelho_lateral_branca.jpg');
  }
  60%, 80% {
    background-image: url('/img/short_muay_thai_brasil.jpg');
  }
  80%, 100% {
    background-image: url('/img/short_muay_thai_laranja.jpg');
  }
}

.background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

/* Responsividade e controle de posição */
@media (max-width: 1200px) {
  .logo-intro {
    width: 130px;
  }

  h1 {
    font-size: 1.8em;
  }

  .cta {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .logo-intro {
    width: 120px;
  }

  h1 {
    font-size: 1.5em;
  }

  .cta {
    font-size: 1.5em;
  }
}

@media (max-width: 480px) {
  .logo-intro {
    width: 100px;
  }

  h1 {
    font-size: 1.2em;
  }

  .cta {
    font-size: 1em;
  }

  .background {
    background-size: cover;
    background-position: center;
  }

  .intro {
    padding: 10px;
  }
}
/*Botão do LINK*/

.cta {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.2em;
  color: #000;
  background-color: #fff; /* Cor de fundo do botão */
  border: none;
  border-radius: 25px; /* Arredonda as bordas */
  text-decoration: none; /* Remove o sublinhado */
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s, transform 0.2s;
  margin: 10px 0;
}

.cta:hover {
  background-color: #AAAAAA; /* Cor de fundo ao passar o mouse */
}

.cta:active {
  background-color: #fff; /* Cor de fundo ao clicar */
  transform: scale(0.98); /* Efeito de clique */
}

/* Para tornar o botão visível e mais estilizado */
.intro .cta {
  font-weight: bold;
}
