body {
  display: block;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  background-color: #ccc;
  font-family: Arial, sans-serif;

}

.contenedor-central {
  width: 1000px;
  margin: 0 auto;
  background-color: #ccc;

}
header {
  background-color: #005a87;
  color: white;
  padding: 1em;
  text-align: center;
}

section {
  padding: 2em;
  border-bottom: 1px solid #ccc;
}

#educativa {
    background-color: antiquewhite;
}

#evaluacionPDF {
    background-color: #7ba9c0 ;
}
h2 {
  color: #005a87;
}

.flashcard .cerrar{
  margin-left: 90%;

}

.botones-educativos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.botones-educativos button {
  background-color: white;
  border: 2px solid #007bb5;
  color: #005a87;
  padding: 1.5em;
  width: 250px;
  height: 180px;
  text-align: center;
  font-size: 1.1em;
  font-weight: bold;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 91, 139, 0.1);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.botones-educativos button i {
  font-size: 2.5em;
  margin-bottom: 0.5em;
  color: #007bb5;
  transition: transform 0.3s;
}

.botones-educativos button:hover {
  background-color: #e6f4ff;
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 91, 139, 0.2);
}

.botones-educativos button:hover i {
  transform: scale(1.2) rotate(5deg);
}

.flashcard {
  position: fixed;
  top: 82%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 2rem;
  max-width: 600px;
  border-left: 6px solid #007bb5;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0, 91, 139, 0.5);
  z-index: 10000;
}

.flashcard h3 {
  color: #005a87;
  margin-top: 0;
}


.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-contenido {
  background: white;
  padding: 1rem;
  border-radius: 10px;
  max-width: 90%;
  max-height: 90%;
  overflow: auto;
  position: relative;
  text-align: center;
}

.modal .cerrar {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
}

.modal .cerrar:hover {
  color: #d11a2a;
}

/* Estilo general del formulario */
form[name="formPDF"] {
  max-width: 700px;
  margin: 40px auto;
  padding: 30px;
  background-color: #81bbd8;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  font-family: 'Segoe UI', sans-serif;
}

/* Título */
form[name="formPDF"] h3 {
  text-align: center;
  color: #ffffff;
  margin-bottom: 25px;
  font-size: 1.6rem;
}

/* Etiquetas de preguntas */
form[name="formPDF"] label {
  display: block;
  margin-top: 20px;
  font-weight: bold;
  color: #14212e;
  font-size: 1.05rem;
}

/* Estilo de los select */
form[name="formPDF"] select {
  width: 100%;
  padding: 10px 12px;
  margin-top: 8px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background-color: #f9f9f9;
  font-size: 1rem;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

form[name="formPDF"] select:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
  background-color: #fff;
}

/* Botón enviar */
.btnEnviarRespuestas {
  display: block;
  margin: 30px auto 10px;
  background-color: #3498db;
  color: white;
  font-size: 1.1rem;
  padding: 12px 24px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s;
}

.btnEnviarRespuestas:hover {
  background-color: #2980b9;
  transform: scale(1.03);
}

.btnEnviarRespuestas i {
  margin-right: 8px;
}


#resultado {
  padding: 1.5rem;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}


#resultado h3 {
  color: #2e7d32;
}

#resultado p, #resultado ul {
  color: #34495e;
  font-size: 1rem;
}

#resultado ul {
  margin-top: 10px;
  padding-left: 20px;
}

#resultado li {
  list-style-type: disc;
  margin-bottom: 5px;
}

/* Retroalimentación */
#retroalimentacion {
  max-width: 700px;
  margin: 30px auto;
  padding: 25px;
  background-color: #ecf0f1;
  border-left: 5px solid #3498db;
  border-radius: 12px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Clase para ocultar elementos */
.oculto {
  display: none;
}







