* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: #171520;
  color: #ffff00;
  font-family: Consolas, "Courier New", monospace;
}

.site-shell {
  position: relative;
  display: flex;
  min-height: 70dvh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.intro-row {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.logo {
  margin-right: 1rem;
  border-radius: 2px;
  background: #ffff00;
  color: #000;
  padding: 4px 1rem;
  font-family: system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  text-transform: uppercase;
}

.intro,
.find,
.find a {
  color: #fff;
}

.find {
  font-size: 1em;
}

.crt {
  position: fixed;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  user-select: none;
}

.crt::before {
  position: absolute;
  inset: 0;
  display: block;
  background:
    linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
    linear-gradient(
      90deg,
      rgba(255, 0, 0, 0.06),
      rgba(0, 255, 0, 0.02),
      rgba(0, 0, 255, 0.06)
    );
  background-size: 100% 2px, 3px 100%;
  content: " ";
}

.crt::after {
  position: absolute;
  inset: 0;
  display: block;
  background: rgba(18, 16, 16, 0.1);
  content: " ";
  opacity: 0;
  animation: flicker 0.15s infinite;
}

@keyframes flicker {
  0% { opacity: 0.27861; }
  5% { opacity: 0.34769; }
  10% { opacity: 0.23604; }
  15% { opacity: 0.90626; }
  20% { opacity: 0.18128; }
  25% { opacity: 0.83891; }
  30% { opacity: 0.65583; }
  35% { opacity: 0.67807; }
  40% { opacity: 0.26559; }
  45% { opacity: 0.84693; }
  50% { opacity: 0.96019; }
  55% { opacity: 0.08594; }
  60% { opacity: 0.20313; }
  65% { opacity: 0.71988; }
  70% { opacity: 0.53455; }
  75% { opacity: 0.37288; }
  80% { opacity: 0.71428; }
  85% { opacity: 0.70419; }
  90% { opacity: 0.7003; }
  95% { opacity: 0.36108; }
  100% { opacity: 0.24387; }
}

@media (prefers-reduced-motion: reduce) {
  .crt::after {
    animation: none;
  }
}
