/* General */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #ffffff;
  border-bottom: 1px solid rgb(147, 175,184);
  position: sticky;
  top: 0;
}

header .logo img{
  height: 60px;
  width: auto;
}

header nav{
  display: flex;
  gap: 15px;
}

header a{
  text-decoration: none;
  color: rgb(22, 61, 136);
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 20px;
  transition: background-color 0.3 ease, color 0.3 ease;
}

header a:hover{
  color: #ffffff;
  background-color: rgb(95, 160, 194);
}

/* Boton de "Gaming" en el nav */
a.gaming-link{
  font-weight: 600;
  font-size: 20px;
  background: linear-gradient(270deg, #ff005d, #00f7ff, #00ff00, #6f00ff, #ff005d);  background-size: 600% 600%;

   /* Versiones con prefijo para navegadores WebKit */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* Versiones estándar para compatibilidad con otros navegadores */
  background-clip: text; /* Aquí defines la propiedad estándar */
  color: transparent;   /* Esta es la propiedad estándar equivalente a -webkit-text-fill-color */

  animation: animarTexto 10s ease infinite;
}

/* Efecto al pasar el mouse (hover) */
a.gaming-link:hover {
  /* Cuando hacemos hover, el degradado se convierte en el background del elemento */
  -webkit-background-clip: border-box; /* O 'padding-box', lo que prefieras para el área del fondo */
  -webkit-text-fill-color: initial;    /* Restaura el color del texto a su valor inicial (negro por defecto o heredado) */
  background-clip: border-box;
  color: #fff; /* Define un color de texto visible para cuando el fondo degradado está activo, por ejemplo, blanco */
}

@keyframes animarTexto{
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

section {
  padding: 40px 20px;
}

/* Footer */
footer {
  background-color: #0a0a23;
  color: white;
  text-align: center;
  padding: 20px;
}
