

body {
  margin: 0;
  padding: 0;
  background-color: #fdfdfd; /* fondo tipo papel */
  color: #222222; /* texto oscuro legible */
  font-family: 'Segoe UI', 'Inter', sans-serif;
  font-size: 1rem; /* tamaño más profesional */
  min-height: 100vh; /* evita recorte de contenido */
  display: flex;
  flex-direction: column;
  /* background-image: url('assets/images/fondo_niif_lapiz_blanco.jpg'); */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}



#console {
  width: 80%;
  max-width: 960px;
  white-space: pre-line;
  background-color: rgba(255, 255, 255, 0.85);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px #ccc;
  color: #222;
}

#options-box button {
  display: block;
  margin: 10px auto;
  padding: 12px 20px;
  background-color: #ffffff;
  color: #222;
  border: 1px solid #999;
  font-family: 'Segoe UI', sans-serif;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
  max-width: 600px;
  text-align: left;
  transition: background-color 0.3s, color 0.3s;
}

#options-box button:hover {
  background-color: #007acc;
  color: #fff;
  border-color: #007acc;
}

#next-button,
#repaso-next-button {
  margin-top: 20px;
  padding: 10px 24px;
  background-color: #007acc;
  color: #fff;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

#next-button:hover,
#repaso-next-button:hover {
  background-color: #005a99;
}

#toggle-sound {
  font-family: 'Segoe UI', sans-serif;
  background-color: #e6f2f8; /* azul muy claro */
  color: #007acc;
  border: 1px solid #c0ddeb;
  border-radius: 4px;
  padding: 6px 14px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

#toggle-sound:hover {
  background-color: #d0e8f5;
  color: #005a99;
}


.side-image {
  width: 400px;
  max-width: 100%;
  height: auto;
  margin: 0 30px;
}

header {
  width: 100%;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 20px;
}


header h1 {
  font-size: 1.8rem;
  color: #3399cc; /* Azul profesional */
  margin-bottom: 8px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);

}


header a {
  font-size: 0.95rem;
  color: #007acc;
  text-decoration: none;
  transition: color 0.3s ease;
}

header a:hover {
  color: #005a99;
  text-decoration: underline;
}


#layout-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  padding: 60px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.side-image {
  width: 250px;  /* tamaño mejorado */
  height: auto;
}

.titulo-principal {
  font-size: 2.4rem;
  font-weight: 600;
  text-align: center;
  margin-top: 40px;
  color: #3399cc; /* Azul profesional */
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}


.volver-link {
  display: block;
  text-align: center;
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: #007acc;
  text-decoration: none;
}

.volver-link:hover {
  text-decoration: underline;
}

.volver-link.abajo {
  display: block;
  text-align: center;
  font-size: 0.9rem;
  margin-top: 30px;
  color: #007acc;
  text-decoration: none;
}

.volver-link.abajo:hover {
  text-decoration: underline;
  color: #005a99;
}


.btn-imax {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  font-size: 18px;
  color: #ffffff;
  background-color: #003366; /* un azul sobrio */
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
}

.btn-imax:hover {
  background-color: #0055aa;
}

#options-box button.selected {
  background-color: #d0eaff;
  border: 2px solid #007acc;
  color: #003a66;
  font-weight: bold;
}

#continue-button {
  margin-top: 20px;
  padding: 12px 28px;
  background-color: #007acc;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

#continue-button:hover {
  background-color: #005a99;
  transform: scale(1.03);
}

