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

:root {
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

::selection { background: cyan; color: var(--bg); }

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: 'Press Start 2P', monospace;
  font-size: 12px;
  min-height: 100vh;
  padding: 20px;
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  pointer-events: none;
  filter: blur(var(--hex-blur));
}

.content { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }

/* [row] shortcode: things side by side */
.row { display: flex; flex-wrap: wrap; margin-bottom: 20px; }
.row > * { margin-bottom: 0; }

/* [pfp] shortcode */
.pfp {
  border: 2px solid var(--fg);
  object-fit: cover;
  flex-shrink: 0;
  vertical-align: middle;
}
.pfp-circle { border-radius: 50%; }
.pfp-no-border { border: none; }

h1 { font-size: 24px; line-height: 1.5; margin-bottom: 20px; }
h2 { font-size: 18px; line-height: 1.5; margin-bottom: 20px; }
h3 { font-size: 14px; line-height: 1.5; margin-bottom: 20px; }

p { line-height: 1.8; margin-bottom: 20px; }

.button {
  display: inline-block;
  background-color: var(--bg);
  color: var(--fg);
  border: 2px solid var(--fg);
  padding: 15px 30px;
  text-decoration: none;
  margin: 10px 10px 30px 0;
  transition: all 0.3s;
}

.button:hover, .button:focus-visible {
  background-color: var(--fg);
  color: var(--bg);
  outline: none;
}

.data-layer {
  color: rgba(255, 255, 255, 0.1);
  font-size: 28px;
  line-height: 40px;
  position: fixed;
  top: 270px;
  left: 20px;
  right: 20px;
  width: calc(100% - 40px);
  z-index: 0;
  pointer-events: none;
  transition: top 0.07s ease-out;
  word-wrap: break-word;
}

@media (max-width: 768px) {
  body { font-size: 10px; }
  h1 { font-size: 16px; }
  h2 { font-size: 13px; }
  h3 { font-size: 11px; }
  .data-layer {
    font-size: 16px;
    line-height: 24px;
    top: 200px;
    left: 10px;
    right: 10px;
    width: calc(100% - 20px);
  }
  .button { padding: 10px 20px; font-size: 10px; }
}
