@font-face {
    font-family: 'Bakso Sapi';
    src: url('../fonts/BaksoSapi.otf') format('opentype');
}
body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #d32f2f, #004d98, #a50044, #003366);
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
    color: white;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin:  20px;
}

p{
    font-size: 1.4em;
}

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

h1 {
    /*text-decoration:line-through;*/
    font-family: 'Bakso Sapi', sans-serif;
    font-size: 2.5em;
    margin: 20px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slogan {
    font-size: 1.8em;
    font-family: 'Bakso Sapi', sans-serif;
    color: #fff;
    margin: 20px 0;
    letter-spacing: 1px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.highlight {
    color: #FFD700; /* Dorado para resaltar la palabra "estopa" */
    font-weight: bold;
}

.illustration {
    max-width: 320px;
    height: auto;
    margin: 20px auto;
}



.subscribe-section h1 {
    margin: 0px 0;
}

.subscribe-section p {
    font-size: 1.2em;
    margin-bottom: 15px;
}

.subscribe-highlight {
    font-size: 1.5em;
    font-weight: bold;
    color: #FFD700; /* Dorado para resaltar el sorteo */
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}


.subscribe-button:hover {
    background-color: #b71c1c;
    transform: scale(1.05);
}

.trivial-section {
    margin: 0px 0;
}

h2{
    text-transform: uppercase;
}

.trivial-section button {
    margin: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #d32f2f, #004d98, #a50044, #003366);
    background-size: 200% 200%;
    width:  320px;
    border: none;
    border-radius: 10px;
    color: white;
                font-weight: bold;
    text-transform: uppercase;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-position 0.3s ease, transform 0.3s ease;
}

.trivial-section button:hover {
    background-position: 100% 50%;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.alert-container {
    text-align: center;
    justify-items: center;
    margin: 30px 0;
    align-items: center;

}

.alert-container img {
    display: block;
    margin: 0 auto;
    width: 150px; /* Ajusta esto según el tamaño de tu icono */
    height: auto;
}

.alert-container h3 {
    font-family: 'Bakso Sapi', sans-serif;
    font-size: 2em;
    margin-top: 10px; /* Ajusta este valor según necesites */
}

.ranking-link {
    font-size: 1.2em;
    color: #FFD700; /* Dorado para resaltar */
    cursor: pointer;
    text-decoration: underline;
    margin-top: 0px;
}

.ranking-link:hover {
    color: #FFA500; /* Cambiar color al pasar el cursor */
}




/* Pantalla completa para el trivial */
#quiz-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d32f2f, #004d98, #a50044, #003366);
    background-size: 200% 200%;
    z-index: 500;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    font-family: 'Bakso Sapi', sans-serif;
    overflow: hidden;
    color: white;
}

/* Pregunta */
.question {
    font-family: 'Bakso Sapi', sans-serif;
    font-size: 2em; /* Hacer la pregunta más grande y destacada */
    margin-bottom: 20px;
    color: white; /* Mejor contraste sobre el fondo degradado */
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Sombra sutil para resaltar */
}

/* Estilos para las opciones de respuestas */
.options {
    list-style-type: none;
    padding: 0;
}

.options li {
    margin-bottom: 15px;
}

/* Estilos de los botones de opción */
.options button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #d32f2f, #004d98, #a50044, #003366); /* Gradiente de colores Osasuna y Barcelona */
    background-size: 200% 200%;
    color: white;
    font-size: 1.4em; /* Tamaño de fuente más grande */
    font-family: 'Bakso Sapi', sans-serif;
    cursor: pointer;
    transition: background-position 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4); /* Sombra para mejor legibilidad */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Sombra predeterminada */
}

/* Efecto hover en los botones */
.options button:hover {
    background-position: 100% 50%; /* Mover el gradiente */
    transform: scale(1.05); /* Efecto de aumento al pasar el ratón */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3); /* Sombra más intensa para resaltar */
}

/* Resultados y botones */
.result {
    font-size: 1.5em;
    color: white;
    margin-top: 20px;
    text-align: center;
}

.result button {
    padding: 10px 20px;
    font-size: 1.2em;
    border: none;
    border-radius: 10px;
    background-color: #d32f2f;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Sombra predeterminada */
}

.result button:hover {
    background-color: #b71c1c;
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.subscribe-button {
  display: flex;
  margin: 0 auto;
  justify-content: center; /* Centra el contenido horizontalmente */
  align-items: center; /* Centra el contenido verticalmente */
  background-color: #25D366; /* Color verde de WhatsApp */
  border: none;
  border-radius: 5px;
  color: white;
  text-transform: uppercase;
  font-size: 1.1em;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.subscribe-button:hover {
  background-color: #1EBE5B; /* Color verde más oscuro al pasar el ratón */
}

.whatsapp-logo {
  width: 25px;
  height: 25px;
  margin-right: 10px; /* Espacio entre el logo y el texto */
  vertical-align: middle;
}

/* Ajustes responsivos */
@media (max-width: 600px) {
    .question {
        font-size: 1.2em; /* Reducir el tamaño de la pregunta */
    }

    .options button {
        font-size: 1.4em; /* Ajustar el tamaño de los botones */
        padding: 12px;
    }

    .result button {
        font-size: 1.2em;
    }
}

/* Fondo que ocupa el 100% de la pantalla */
.ranking-fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #d32f2f, #004d98, #a50044, #003366);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Alinear elementos al principio */
  align-items: center;
  z-index: 1000;
  padding: 20px;
  box-sizing: border-box;
}

.ranking-title {
  font-size: 2em;
  margin-bottom: 10px;
  text-align: center;
}



.hidden {
  display: none !important;
}

/* Botón de cierre (X) */
.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 40px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  background: none;
  border: none;
}

.close-button:hover {
  color: #ff0000;
}

/* Título del ranking */
.ranking-fullscreen h2 {
  margin-top: 0;
  font-size: 36px;
  text-align: center;
  color: white;
}

/* Estilo de la lista del ranking */
.ranking-list {
  list-style: none;
  padding: 0;
  width: 100%;
  max-width: 600px;
}

.ranking-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.ranking-list li {
  padding: 10px 20px; /* Añadir padding a los lados */
  font-size: 1.2em;
  display: flex; /* Usar flexbox para alinear el contenido */
  justify-content: space-between; /* Alinear username a la izquierda y puntaje a la derecha */
}

.ranking-list li .username {
  text-align: left; /* Alinear el username a la izquierda */
  flex-grow: 1; /* Hacer que ocupe el espacio restante */
}

.ranking-list li .score {
  text-align: right; /* Alinear el puntaje a la derecha */
}

.ranking-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Texto en mayúsculas para los participantes */
.username {
  font-size: 18px;
  color: white;
  font-weight: bold;
}

.position {
  margin-right: 10px;
  font-size: 20px;
  font-weight: bold;
}

.score {
  font-size: 18px;
  font-weight: bold;
  color: white;
}

/* Medallas para el top 3 */
.gold {
  color: gold;
}

.silver {
  color: silver;
}

.bronze {
  color: #cd7f32;
}

/* Estilo especial para el ranking del usuario actual */
.user-rank {
  background-color: rgba(255, 255, 255, 0.2);
  font-weight: bold;
}


.ranking-list li.highlight {
  background-color: rgba(0, 0, 0, 0.4); /* Fondo ligeramente diferente */
  font-weight: bold; /* Negrita para destacar */
}


/* Estilo de pantalla completa para el formulario de nombre */
#username-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #004d98, #d32f2f); /* Gradiente de colores Osasuna y Barcelona */
    z-index: 9999;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.username-form {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 100%;
    margin: 20px auto;
    max-width: 320px; /* Limitar el tamaño del formulario */
}

.username-form h2 {
    font-family: 'Bakso Sapi', sans-serif;
    font-size: 2em;
    margin-bottom: 10px;
    color: #d32f2f;
}

.username-form p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #333;
}

.username-form input {
    width: 90%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 1.2em;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.username-form button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    background-color: #d32f2f;
    color: white;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.username-form button:hover {
    background-color: #b71c1c;
    transform: scale(1.05);
}




.fullscreen-info {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #d32f2f, #004d98, #a50044, #003366);
  color: white;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow-y: auto; /* Permitir solo scroll vertical */
  overflow-x: hidden; /* Desactivar scroll horizontal */
  padding: 40px 20px;
  box-sizing: border-box;
}

.info-header {
  width: 100%;
  text-align: center;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  position: relative;
}

.logo-pamplonews {
  max-width: 100px;
  margin-bottom: 10px;
}

.info-header h1 {
  font-size: 1.6em;
  margin: 0;
  text-align: center;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.info-content {
  width: 100%;
  max-width: 800px;
  text-align: left;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  margin-bottom: 40px;
  box-sizing: border-box;
}

.info-content h2 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #ffcccb;
}

.info-content p,
.info-content ul {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 20px;
}

.info-content ul {
  padding-left: 20px;
}

.info-content ul li {
  margin-bottom: 10px;
}

.close-button {
  position: fixed;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 2.5em;
  cursor: pointer;
}

.close-button:hover {
  color: #ffcccb;
}

/* Ajuste responsivo */
@media (max-width: 600px) {
  .info-content {
    padding: 15px;
  }

  .info-content h2 {
    font-size: 1.3em;
  }

  .info-content p,
  .info-content ul {
    font-size: 1em;
  }

  .close-button {
    font-size: 2em;
  }
}

#whatIsPamplonews {
  color: #ffcccb; /* Color suave para destacar el enlace */
  text-decoration: none; /* Quitar subrayado predeterminado */
  font-size: 1em; /* Aumentar el tamaño de la fuente */
  font-weight: bold; /* Hacer que el texto sea más llamativo */
  border-bottom: 2px solid #ffcccb; /* Agregar una línea inferior para resaltarlo */
  padding-bottom: 5px; /* Espacio debajo del texto */
  transition: all 0.3s ease; /* Transición suave para los efectos */
}

#whatIsPamplonews:hover {
  color: #ffffff; /* Cambiar el color al pasar el mouse */
  border-bottom-color: #ffffff; /* Cambiar la línea inferior al pasar el mouse */
  cursor: pointer; /* Cambiar el cursor a pointer */
}

.ranking-fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #d32f2f, #004d98, #a50044, #003366);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: auto;
}

.ranking-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.challenge-section {
  text-align: center;
  margin-bottom: 30px;
}

.challenge-text {
  font-size: 1.2em;
  margin-bottom: 15px;
}

.whatsapp-button {
  background-color: #25D366;
  color: white;
  font-size: 1.2em;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin: 0 auto;
}

.whatsapp-button:hover {
  background-color: #20b357;
}

.whatsapp-logo {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

.ranking-list {
  width: 100%;
  max-width: 600px;
  margin-top: 20px;
  list-style: none;
  padding: 0;
}

.alerta p{
    font-size: 1.0em;
}




/* Mantener la estética de la sección */
.subscribe-section {
    margin: 40px 0;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    max-width: 600px; /* Limitar el ancho */
    overflow: hidden; /* Evitar desbordamiento */
}

.flip-container {
    perspective: 1000px;
}

.flipper {
    transform-style: preserve-3d;
    transition: transform 0.6s ease-in-out;
    position: relative;
}

.front, .back {
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    padding: 20px;
    box-sizing: border-box;
}

.front {
    z-index: 2;
}

.back {
    color: #fff;
    transform: rotateY(180deg);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Efecto flip */
.flip-container.flipped .flipper {
    transform: rotateY(180deg);
}

.info-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #FFD700;
    color: #000;
    font-weight: bold;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Ocultar el ícono cuando se hace flip */
.flip-container.flipped .info-icon {
    display: none;
}

.back-button {
    background-color: #FFD700;
    color: #004d98;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    font-weight: bold;
    font-size: 1.1em;
}

.back-button:hover {
    background-color: #ffbf00;
}



/* Mantener la estética general de los textos */
.subscribe-section h1 {
    margin: 0px 0;
}

.subscribe-section p {
    font-size: 1.2em;
    margin-bottom: 15px;
}

.subscribe-highlight {
    font-size: 1.2em;
    font-weight: bold;
    color: #FFD700; /* Dorado para resaltar el sorteo */
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}


/* Estilos para el párrafo del desayuno */
.breakfast-description {
    color: white; /* Texto en blanco para contraste */
}

/* Estilo para resaltar las partes clave */
.breakfast-description span {
    color: #FFD700; /* Resaltar en dorado */
    font-weight: bold; /* Negrita para destacar */
}

.back p{
    font-size: 1.0em;
    text-align: left;
}

/* Estilos para la sección final con humor */
.final-message {
    padding: 30px;
    color: white;
    text-align: center;
}

.final-message h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
}

.final-message p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.final-message .highlight {
    color: #FFD700;
    font-weight: bold;
}

.share-button {
    background-color: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 1.2em;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease;
}

.share-button:hover {
    background-color: #1DA851;
    transform: scale(1.05);
}

.share-button:active {
    transform: scale(1.02);
}

