@font-face {
  font-family: 'Child';
  src: url('child.ttf');
}@font-face {
  font-family: 'math';
  src: url('math.ttf');
}

main {
  background: url("../../assets/img/fondoMath.png") no-repeat center center fixed;
  background-size: cover;
  font-family: 'Child', sans-serif !important;
  font-size: 2.5rem !important; /* en lugar de x-large */
}

main * {
  font-family: 'Child', sans-serif !important;
  font-size: inherit !important; /* heredan el tamaño de main */
}
.display-4 {
  font-family: 'math', sans-serif !important;
  font-weight: lighter !important;
  font-size: 4rem !important;
  color: yellow !important;
}

#objeto, #objeto2 {
  text-transform: capitalize;
}

main .card-body p,
main .card-body span {
  font-size: 3rem !important;
}
/* Cards */
.gradient-card {
  border-radius: 18px;
  backdrop-filter: blur(4px);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.gradient-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

/* Personajes */
.personaje-img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

/* Caja de revelación */
.reveal-box {
  font-size: 1.2rem;
  padding: 10px 14px;
  margin: 8px auto;
  max-width: 90%;
  border-radius: 12px;
  background: rgb(255, 255, 255);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* Cabecera */
.school-header {
  background: linear-gradient(135deg, #3f87f5 0%, #1d62b3 100%);
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

h1 {
  color: white !important;
}

.lead {
  color: pink;
}