/* Layout principal */
body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 100vh;
    background-color: black;
    overflow: hidden;
}


body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(https://f.feridinha.com/5ecdI.gif);
    background-repeat: no-repeat; /* Evita repetição */
    background-size: cover; /* Ajusta para cobrir a tela */
    background-position: center; /* Centraliza o fundo */
    z-index: -2; /* Coloca o GIF no fundo */
    opacity: 0.2; /* Opacidade do fundo GIF */
}

body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle,
        rgba(0, 0, 0, 0) 30%, /* Claro no centro */
        rgba(0, 0, 0, 0.85) 100%, /* Mais escuro nas bordas */
        rgba(0, 0, 0, 1) 100% /* Totalmente preto no final */
    );
    z-index: -1; /* Camada acima do GIF, mas atrás do conteúdo */
    pointer-events: none; /* Impede interação */
}


#personagem-container {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

#gif-atual {
    max-width: 100%;
    height: auto;
}

/* Menu fixo no rodapé */
#menu {
    display: flex;
    align-items: center;
    position: fixed;
    bottom: 10px;
    width: 100%;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

/* Botões de navegação */
button {
    background-color: black ;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 20px;
    cursor: pointer;
}

button:hover {
    background-color: #555;
}

/* Contêiner dos links */
#links-container {
    display: flex;
    justify-content: center;
    width: 50%;
    position: relative;
    z-index: 10;
    opacity: 1;
    transform: translateX(0);
    transition: transform 1.00s ease, opacity 1.00s ease;
}

a {
    background-color: black;
  color: white;
  border: 1px solid white;
  opacity: 1;
  font-size: 16px;
  margin: 1px 3.5px;
  transition: 0.4s;
  cursor: pointer;
  border-radius: 10px;
  width: 160px;
  height: 20px;
  display: inline-block;
  Text-align: center;
  text-decoration:none;
  padding: 16px 10px;
}

a:hover {
  background-color: #ffd700;
  color: black;
  opacity: 0.8;
  transition: 0.4s;
  cursor: pointer;
  border-radius: 8px;
  text-decoration:none;
}

/* Animações de deslocamento */
.animate {
    position: absolute;
    transition: transform 1.00s ease, opacity 1.00s ease;
}

.hide {
    display: none;
}
