body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-size: contain;
  background: url('../assets/images/lobo.gif');
  color: #333;
  transition: background-color 0.3s, color 0.3s;
  padding: 20px;

}

/* Modo oscuro */
body.tema-oscuro {
  background-color: #121212;
  color: #f1f1f1;
}

/* Cambiar botones si quieres */
body.tema-oscuro button,
body.tema-oscuro select {
  background-color: #2c2c2c;
  color: white;
  border: 1px solid #444;
}

.titulo { 
  color: red;
}

header {
  background: #000;
  border: 2px solid #00ff42; /* Borde verde brillante */
  color: red;
  padding: 1rem;
  text-align: center;
  width:"300";
    height:"200";
}

nav a {
  color: white;
  margin: 0 1rem;
  text-decoration: none;
}

main {
  padding: 2rem;
  display: grid;
  gap: 1.5rem;
  
}

.fiesta {
  background-color: #121212;;
  border: 2px solid #00ff42; /* Borde verde brillante */
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 20px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  transition: transform 0.2s;
  border-color: #00ff42;
}

.fiesta:hover {
  background-color: #00ff42;
  transform: scale(1.01);
  border-color: black;
  color: black;
}

.fiesta:hover h2,
.fiesta:hover p {
  color: black;
}

.fiesta:hover img {
  border: 3px solid black;
}

.fiesta-contenido {
  display: flex;
  align-items: center;
  gap: 20px;
}

.imagen-fiesta {
  width: 150px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.imagen-fiesta:hover {
  border-radius: 2px solid black; /* Borde verde brillante */
}

.texto-fiesta h2 {
  margin: 0 0 10px 0;
  color: white;
  font-size: 20px;
}

.texto-fiesta p {
  margin: 0 0 10px 0;
  color: white;
}

.texto-fiesta a {
  color: #4a90e2;
  text-decoration: none;
}


.texto-fiesta h2:hover {
  text-decoration: underline;
  
}

footer {
    background-color: #000;
    border: 2px solid #00ff42; /* Borde verde brillante */
  /*background: #222;*/
  color: #00ff42;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

.imagen-fiesta {
  width: 200px;
  height: auto;
  border-radius: 6px;
  flex-shrink: 0;
}

.texto-fiesta {
  flex: 1;
}


.patrocinadores {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  background-color: #000;
  
}

.patrocinadores img {
  height: 50px; /* o usa width si prefieres */
  object-fit: contain;
  /*filter: brightness(0) invert(1);*/ /* blanco en fondo oscuro */
  transition: transform 0.3s ease;
  
}

.patrocinadores img:hover {
  transform: scale(1.2);
}

/*Localizacion boton tema oscuro*/


/*Estilos de los botones de paginacion*/

#paginacion button {
  margin: 0 0.3rem;
  padding: 0.4rem 0.8rem;
  border-radius: 5px;
  background-color: #ddd;
  border: none;
  cursor: pointer;
}

#paginacion button:hover {
  background-color: #bbb;
}

.tema-oscuro #paginacion button {
  background-color: #444;
  color: #fff;
}

.tema-oscuro #paginacion button:hover {
  background-color: #666;
}

/* Header negro */
.encabezado {
  background-color: black;
  padding: 1rem;
  text-align: center;
  color: white;
}

/* Centrado del formulario */
.contenedor-formulario {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  max-height: 75vh;        /* Altura máxima visible */
  overflow-y: auto;        /* Scroll vertical si hay contenido extra */
  padding: 20px 0; 
}

/* Estilo de la tarjeta del formulario */
.tarjeta-formulario {
  background-color: black;
  border: 3px solid limegreen;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 0 15px limegreen;
  max-width: 400px;
  width: 100%;
  color: white;
}

/* Campos del formulario */
.tarjeta-formulario label {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
  color: white;
}

.tarjeta-formulario input {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.3rem;
  border: 2px solid limegreen;
  border-radius: 5px;
  background-color: black;
  color: white;
}

.tarjeta-formulario button {
  margin-top: 1.5rem;
  width: 100%;
  padding: 0.7rem;
  background-color: limegreen;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s ease;
}

.tarjeta-formulario button:hover {
  background-color: white;
  color: black;
}

.grupo-entrada {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 5px solid royalblue; /* Línea verde */
}

/* Quitar la línea del último grupo */
.grupo-entrada:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
