/* Presentación pública de Pasquín Flow. Mismo aire que el login de Upscaler:
   logo arriba, título grande, botón negro y manchas de color difusas al fondo. */

@font-face { font-family: Alkes; font-weight: 400; font-style: normal; font-display: swap;
             src: url("../assets/fonts/alkes-regular.woff2") format("woff2"); }
@font-face { font-family: Alkes; font-weight: 400; font-style: italic; font-display: swap;
             src: url("../assets/fonts/alkes-italic.woff2") format("woff2"); }

* { box-sizing: border-box; margin: 0; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f7f7f7;
  color: #111;
  font-family: Alkes, Georgia, serif;
  -webkit-font-smoothing: antialiased;
}

/* Fondo: dos manchas difusas, sin imagen. Son degradados que se apagan hacia el
   borde, no un filtro de desenfoque: el filtro no se dibujaba en el motor de
   Safari (quedaban dos círculos duros) y además le pesa a un teléfono. */
body::before, body::after {
  content: "";
  position: fixed;
  z-index: -1;
  width: 58vmax;
  height: 58vmax;
  border-radius: 50%;
  animation: flotar 16s ease-in-out infinite alternate;
}
body::before {
  background: radial-gradient(closest-side, rgba(244, 239, 107, .8), rgba(244, 239, 107, .45) 45%, rgba(244, 239, 107, 0));
  top: calc(18% - 12vmax);
  left: calc(28% - 12vmax);
}
body::after {
  background: radial-gradient(closest-side, rgba(246, 182, 239, .8), rgba(246, 182, 239, .45) 45%, rgba(246, 182, 239, 0));
  top: calc(36% - 12vmax);
  left: calc(44% - 12vmax);
  animation-delay: -8s;
}
@keyframes flotar { to { transform: translate(6vmax, -4vmax) scale(1.15); } }
@media (prefers-reduced-motion: reduce) {
  body::before, body::after { animation: none; }
}

header { padding: 24px 32px; }
header img { display: block; height: 28px; width: auto; }

main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
}
.entrada { width: 100%; max-width: 28rem; margin-top: -8vh; }
.entrada h1 { font-size: clamp(1.9rem, 6vw, 2.75rem); font-weight: 400; line-height: 1.1; }
.lema { font-size: 1.2rem; color: #262626; margin: .6rem 0 2rem; }
.boton {
  display: block;
  padding: .9rem 1rem;
  background: #171717;
  color: #fff;
  border-radius: 999px;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background-color .15s, color .15s;
}
.boton:hover, .boton:focus-visible { background: #ff55c9; color: #171717; }
.nota { margin-top: 1rem; font-size: .95rem; font-style: italic; color: #555; }
.volver { display: inline-block; margin-top: 2rem; color: #333; text-decoration: none; }
.volver:hover, .volver:focus-visible { text-decoration: underline; }
:focus-visible { outline: 2px solid #0099e0; outline-offset: 3px; }
