/* Fondo general */
body {
  background: linear-gradient(to right, #f8e0e2, #FADADD);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  margin: 0;
  padding: 30px;
}

/* Encabezados */
h3 {
  color: #FF69B4;
  background-color: #FFB6B9;
  padding: 10px;
  border-radius: 10px;
  width: fit-content;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Botones */
button {
  background-color: #FF1493;
  color: rgb(248, 246, 246);
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #F88379;
}

/* Preguntas y opciones */
label {
  margin-left: 8px;
  margin-right: 20px;
  font-size: 1rem;
}

/* Resultados */
#resultado {
  font-weight: bold;
  margin-top: 10px;
  color: #d32f2f;
}

/* Contenedor para separar preguntas */
.pregunta {
  margin-bottom: 30px;
  padding: 15px;
  background-color: #ffffffcc;
  border-radius: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}
.intro {
  position: relative;
  z-index: 1;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.85);
  padding: 30px 40px;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}
.boton-ir {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background-color: #1a1a1a;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  transition: background-color 0.3s, transform 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.boton-ir:hover {
  background-color: #ffcc00;
  color: #1a1a1a;
  transform: scale(1.05);
}.intro {
  position: relative;
  z-index: 1;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.85);
  padding: 30px 40px;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}
.boton-ir {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background-color: #FF1493;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  transition: background-color 0.3s, transform 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.boton-ir:hover {
  background-color: white;
  color: #FF1493;
  transform: scale(1.05);
}