@font-face {
  font-family: 'TekkenFont';
  src: url('/fuentes/tarrgetital.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'TekkenNumber';
  src: url('/fuentes/tarrgetacad.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  margin: 0;
  font-size: 20px;
  font-family: 'Roboto', sans-serif;
}

header {
  background-image: url('/banner.jpg');
  background-position: center;
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 10px 15px;
  align-items: center;
  height: 200px;
  font-family: 'TekkenFont', sans-serif;
}

.logo {
  height: 400px;
  width: 400px;  
}

.right-nav a {
  text-decoration: none;
  color: black;
  margin: 30px;
}

.main-nav {
  background: #eee;
  display: flex;
  justify-content: space-around;
  padding: 10px;
  height: 50px;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  color: black;
  font-weight: bold;
}

.content {
  display: flex;
  gap: 20px;
}

section {
  flex: 1;
}

/* Contenedor de la lista de tarjetas */
.card-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* Espaciado entre las tarjetas */
  margin-top: 20px;
  padding: 0 15px;
  /* Añadí algo de espacio en los laterales */
}

/* Estilo de cada tarjeta */
.card {
  background: #fff;
  /* Fondo blanco para las tarjetas */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  /* Sombra más suave */
  padding: 20px;
  display: flex;
  align-items: flex-start;
  /* Alineación flexible */
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* Añadí transiciones para efectos */
}

/* Estilo para el ranking */
.rank {
  font-family: 'TekkenNumber', sans-serif;
  font-size: 60px;
  color: black;
  padding: 8px 15px;
  /* Mejorado para más espacio */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background-color: #B93636;
  width: 60px;
  height: 60px;
  margin-right: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  /* Sombra sutil */
}

/* Estilo del texto dentro de la tarjeta */
.text {
  flex-grow: 1;
  margin-left: 15px;
  /* Espacio entre el ranking y el texto */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.text div h4 {
  font-family: 'Roboto', sans-serif;
}

/* Estilo de los botones */
.enlace {
  padding: 10px 20px;
  color: white;
  border: none;
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-weight: bold;
  text-decoration: none;
}

/* Estilo para la sección general */
.ranking {
  margin-top: 30px;
  padding: 5px 0;
  background-color: #eee;
  border-radius: 10px;
}

.ranking h3 {
  font-size: 2rem;
  color: #B93636;
  text-align: center;
  font-weight: bold;
  margin-bottom: 25px;
  font-family: 'TekkenFont', sans-serif;
}


.enlace {
  background: #EB211E;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
  transition: transform .2s;
  display: inline-block;
}

.enlace:hover {
  transform: scale(1.10);
  /* Efecto al pasar el mouse */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  /* Aumenta la sombra en hover */
}

footer {
  background-color: #000;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-nav {
  display: flex;
  gap: 100px;
}

.footer-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #EB211E;
}

.personaje {
  font-family: 'TekkenNumber', sans-serif;
  color: black;
  font-size: 30px;
  text-align: center;
}

.reproductor iframe {
  border-radius: 10px;
}

.input-tekken {
  border: 1px solid black;
  padding: 6px;
}

.input-tekken:focus {
  border-color: #EB211E;
  outline: none;
  /* elimina el borde azul por defecto */
}

.nombre-header {
  text-align: right;
  color: #B93636;
  font-size: 40px;
}

/* estrellas / ver mas / añadir a favoritos*/
.card-columnas {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
}

.card-columnas .columna {
  flex: 1;
}

.card-columnas .izquierda {
  text-align: left;
}

.card-columnas .centro {
  text-align: center;
}

.card-columnas .derecha {
  text-align: right;
}

.card-columnas img {
  width: 20px;
  height: 20px;
}

.faqs h2 {
  font-family: 'TekkenFont', sans-serif;
  color: #B93636;
}

.faqs-container {
  max-width: 800px;
  margin: 0 auto;
}

.banner{
  font-family: 'TekkenFont', sans-serif;
  font-size: 40px;
  text-align: center;
  color: #B93636;
}