@font-face {
  font-family: "IndieFlower";
  src: url("./fonts/IndieFlower-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

html, body {
  height: 100%;
}

body{
  margin: 0;
  overflow: hidden;
  display: grid;
  place-items: center;

  background: radial-gradient(1200px 700px at 20% 10%, rgba(210,230,255,.9), rgba(210,230,255,0) 60%),
              radial-gradient(900px 600px at 80% 20%, rgba(120,170,255,.6), rgba(120,170,255,0) 55%),
              linear-gradient(180deg, #a9d6ff 0%, #6fa8ff 35%, #4b6cff 70%, #204ddf 100%);
}

/* el link */
.hero-link{
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

/*  La hoja SIEMPRE cabe: escala con la pantalla */
.hoja{
  width: min(900px, 88vw);
  height: min(720px, 86vh);         /* garantiza que no se salga */
  background: rgba(255,255,255,0.96);
  border-radius: 16px;
  box-shadow: 0 18px 55px rgba(0,0,0,0.22);
  display: grid;
  align-content: center;
  justify-items: center;
  padding: clamp(18px, 4vw, 60px);
  gap: clamp(16px, 5vh, 44px);
}

/* texto grande (responsive) */
.hoja h1{
  margin: 0;
  text-align: center;
  font-family: "IndieFlower", cursive;
  font-weight: 400;
  color: #111;

  font-size: clamp(34px, 5.5vw, 72px); 
  line-height: 1.25;

  display: flex;
  flex-direction: column;
  gap: clamp(10px, 2.8vh, 26px);        /* controla el espacio entre bloques */
}

/* parte de abajo */
.nota{
  font-family: "IndieFlower", cursive;
  text-align: center;
  color: #111;
}

.dedicado{
  font-size: clamp(14px, 1.6vw, 22px);
  line-height: 1.2;
}

.click{
  margin-top: 10px;
  font-size: clamp(12px, 1.2vw, 16px);
  opacity: 0.95;
}

/* hover suave */
.hero-link .hoja{
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-link:hover .hoja{
  transform: translateY(-4px);
  box-shadow: 0 26px 70px rgba(0,0,0,0.28);
}