/*
  The intro landing: one clickable symbol that opens /raiz/.
  Everything is scoped to body.intro so other pages are untouched.
*/

body.intro {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: 2rem;
}

body.intro header.site,
body.intro h1,
body.intro .page-date,
body.intro .page-tags {
  display: none;
}

body.intro main {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.intro {
  display: grid;
  place-items: center;
}

.intro-mark {
  display: block;
  width: min(40vmin, 13rem);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.intro-mark:hover,
.intro-mark:focus-visible {
  background: transparent;
  text-decoration: none;
}

.intro-glyph {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  background: url("symbol.png") center / contain no-repeat;
  image-rendering: pixelated;
  transition: transform 180ms ease;
}

.intro-mark:hover .intro-glyph,
.intro-mark:focus-visible .intro-glyph {
  transform: scale(1.02);
}

@media (max-width: 640px) {
  body.intro {
    padding: 1.25rem;
  }

  .intro-mark {
    width: min(52vmin, 9.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-glyph {
    transition: none;
  }

  .intro-mark:hover .intro-glyph,
  .intro-mark:focus-visible .intro-glyph {
    transform: none;
  }
}
