@font-face {
  font-family: "Terminal Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/terminal-mono.ttf") format("truetype");
}

@font-face {
  font-family: "Terminal Mono";
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  src: url("/terminal-mono-bold.ttf") format("truetype");
}

:root {
  color: #bfffd0;
  background: #050806;
  font-family: "Terminal Mono", monospace;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 0 0, rgb(42 255 107 / 13%), transparent 26rem),
    #050806;
}

body::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      rgb(130 255 162 / 3%) 0,
      rgb(130 255 162 / 3%) 1px,
      transparent 1px,
      transparent 4px
    ),
    linear-gradient(
      105deg,
      transparent 35%,
      rgb(183 255 202 / 3%) 50%,
      transparent 65%
    );
  background-size:
    auto,
    220% 100%;
  content: "";
  pointer-events: none;
}

main {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  align-items: flex-start;
  padding: clamp(0.75rem, 2vw, 1.5rem);
  overflow: hidden;
}

#shell {
  width: 100%;
}

.line {
  display: flex;
  min-width: 0;
  align-items: baseline;
  font-size: clamp(1.1rem, 3.6vw, 3rem);
  font-weight: 900;
  font-variant-ligatures: none;
  letter-spacing: 0;
  line-height: 1;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.prompt {
  flex: 0 0 auto;
  margin-right: 0.55ch;
  color: #80ff9f;
  background: linear-gradient(100deg, #46ff7d 20%, #e0ffe8 45%, #6dff95 70%);
  background-clip: text;
  background-position: 42% 0;
  background-size: 240% 100%;
  filter: drop-shadow(0 0 0.12em rgb(91 255 130 / 80%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.command {
  width: 100%;
  height: 1em;
  min-width: 0;
  max-width: 100%;
  flex: 1 1 auto;
  padding: 0;
  color: #bfffd0;
  background: transparent;
  border: 0;
  outline: 0;
  caret-color: #dfffe7;
  font: inherit;
  font-size: 0.84em;
  letter-spacing: -0.035em;
  text-shadow:
    0 0 0.12em rgb(128 255 159 / 65%),
    0 0 0.35em rgb(55 255 108 / 28%);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
