:root {
  color-scheme: dark;
  font-family: ui-monospace, "SFMono-Regular", "Cascadia Code", "Liberation Mono", monospace;
  font-size: 12px;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

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

html {
  overflow: hidden;
}

body {
  height: 100%;
  min-height: 100svh;
  margin: 0;
  padding: 4px;
  overflow: hidden;
  background: #080808;
  color: rgb(232 232 228 / 82%);
}

#background {
  position: fixed;
  z-index: 0;
  inset: 5px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  border-radius: 11px;
  pointer-events: none;
}

.frame {
  position: fixed;
  z-index: 1;
  inset: 4px;
  min-height: 0;
  padding: clamp(2rem, 2.7vw, 3.5rem);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: none;
  scrollbar-width: none;
  border: 1px solid rgb(232 232 228 / 14%);
  border-radius: 12px;
}

.identity p {
  display: flex;
  flex-direction: column;
  margin: 0;
  line-height: 1.55;
}

.terminal {
  width: min(100%, 42rem);
  margin-top: clamp(7rem, 12vh, 10rem);
}

section + section {
  margin-top: 2.75rem;
}

.about p {
  max-width: 38rem;
  margin: 0;
  line-height: 1.65;
}

h1,
h2 {
  margin: 0 0 1.4rem;
  color: rgb(232 232 228 / 52%);
  font: inherit;
}

h1 span,
h2 span {
  color: rgb(232 232 228 / 28%);
}

ul {
  margin: 0;
  padding: 0 0 0 1.2rem;
  list-style: none;
}

li {
  overflow-wrap: anywhere;
  line-height: 1.55;
}

li + li {
  margin-top: 0.65rem;
}

a {
  color: inherit;
  text-decoration-color: rgb(232 232 228 / 24%);
  text-underline-offset: 0.2em;
  touch-action: manipulation;
  transition:
    color 120ms ease,
    text-decoration-color 120ms ease;
}

@media (hover: hover) and (pointer: fine) {
  a:hover {
    color: rgb(232 232 228 / 100%);
    text-decoration-color: currentcolor;
  }
}

a:focus-visible {
  border-radius: 2px;
  outline: 1px solid currentcolor;
  outline-offset: 4px;
}

.legal {
  margin-top: 2.75rem;
  color: rgb(232 232 228 / 38%);
  line-height: 1.55;
}

.legal small {
  font: inherit;
}

@media (width <= 40rem) {
  .frame {
    padding: 2rem;
  }

  .terminal {
    margin-top: 7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  a {
    transition: none;
  }
}
