@font-face {
  font-family: SF;
  font-weight: bold;
  src: url("font.otf") format("opentype");
  font-display: swap;
}

* {
  font-family: SF;
  box-sizing: border-box;
  font-size: 16px;
}

body {
  margin: 0;
  background-color: #000000;
  color: #e0e0e0;
}

main {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

pre {
  margin: 0;
}

pre,
code {
  width: 100%;
}

button {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  gap: 4px;
  justify-content: center;
  align-items: center;
  padding: 4px 8px;
  border: none;
  background-color: #bb0000;
  color: white;
  cursor: pointer;
  border-radius: 4px;
}

code:focus {
  outline: none;
  border: none;
}

body {
  margin: 16px;
  margin-bottom: 100px;
}

button:hover {
  background-color: #8a0000;
}

main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

code {
  display: inline-block;
}

#output-wrapper {
  padding: 8px;
  background-color: black;
  border-radius: 4px;
}

@media (max-width: 600px) {
  * {
    font-size: clamp(8px, 2.6vw, 16px);
  }
}

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

.hljs-comment {
  opacity: 0.4;
  color: #e0e0e0;
}

.hljs-string,
.hljs-number {
  color: #bb0000 !important;
}

.hljs-keyword {
  color: green;
}

.hljs-title {
  color: #6699cc;
}

.function_ {
  color: #cc8800;
}
