html {
  line-height: 1.15;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

article, aside, footer, header, nav, section {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

figcaption, figure, main {
  display: block;
}

figure {
  margin: 1em 40px;
}

hr {
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

b, strong {
  font-weight: inherit;
}

b, strong {
  font-weight: bolder;
}

code, kbd, samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

dfn {
  font-style: italic;
}

mark {
  background-color: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

audio, video {
  display: inline-block;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

img {
  border-style: none;
}

svg:not(:root) {
  overflow: hidden;
}

button, input, optgroup, select, textarea {
  font-family: sans-serif;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button, input {
  overflow: visible;
}

button, select {
  text-transform: none;
}

button, html [type=button], [type=reset], [type=submit] {
  -webkit-appearance: button;
}

button::-moz-focus-inner, [type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring, [type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  display: inline-block;
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type=checkbox], [type=radio] {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 0;
}

[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type=search]::-webkit-search-cancel-button, [type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details, menu {
  display: block;
}

summary {
  display: list-item;
}

canvas {
  display: inline-block;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

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

html {
  font-size: 62.5%;
}

.wrapper {
  width: 90%;
  max-width: 75rem;
  margin: auto;
}

body, button, textarea, input, select, option, #optionPanel {
  background-color: black;
}

button {
  outline: 1px rgb(1, 107, 1) solid;
  border: 1px rgb(204, 255, 103) solid;
  border-radius: 0.3rem;
  padding: 0.5rem;
}

button:hover, button:focus, input:hover, input:focus, textarea:hover, textarea:focus, select:focus, select:hover {
  color: rgb(230, 255, 181);
  text-shadow: 1px 0px rgb(204, 255, 103), -1px 0px rgb(204, 255, 103);
  outline: 1px rgb(204, 255, 103) solid;
  border: 1px rgb(230, 255, 181) solid;
}
button:hover.wait, button:focus.wait, input:hover.wait, input:focus.wait, textarea:hover.wait, textarea:focus.wait, select:focus.wait, select:hover.wait {
  outline: 1px rgb(1, 107, 1) solid;
  border: 1px rgb(204, 255, 103) solid;
  color: rgb(204, 255, 103);
  text-shadow: 1px 0px rgb(1, 107, 1), -1px 0px rgb(1, 107, 1);
  color: rgb(1, 107, 1);
}

.wait {
  cursor: progress;
  color: rgb(1, 107, 1);
}

p.wait, textarea.wait, textarea.wait:hover {
  color: rgb(230, 255, 181);
  -webkit-animation: blinker 1s cubic-bezier(1, -0.04, 0, 1.06) infinite;
          animation: blinker 1s cubic-bezier(1, -0.04, 0, 1.06) infinite;
}

hr {
    border-color: rgb(1, 107, 1);
}

@-webkit-keyframes blinker {
  0% {
    color: rgb(1, 107, 1);
  }
}

@keyframes blinker {
  0% {
    color: rgb(1, 107, 1);
  }
}
.closeButton, #optionButton, #optionsCollapseButton {
  border: none;
  color: rgb(204, 255, 103);
  text-shadow: 1px 0px rgb(1, 107, 1), -1px 0px rgb(1, 107, 1);
  outline: none;
}
.closeButton:hover, .closeButton:focus, #optionButton:hover, #optionButton:focus, #optionsCollapseButton:hover, #optionsCollapseButton:focus {
  border: none;
  outline: none;
  color: rgb(230, 255, 181);
  text-shadow: 1px 0px rgb(204, 255, 103), -1px 0px rgb(204, 255, 103);
}

.closeButton {
  top: 0;
  right: 0;
  position: absolute;
}

#optionButton {
  padding: 0;
  font-size: inherit;
}

#optionsCollapseButton {
  visibility: hidden;
}

::-moz-selection {
  color: black;
  background-color: rgba(204, 255, 103, 0.8);
}

::selection {
  color: black;
  background-color: rgba(204, 255, 103, 0.8);
}

#mask {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
  visibility: hidden;
}
#mask.show {
  visibility: visible;
}

textarea {
  position: relative;
  padding: 2rem;
  resize: none;
  width: 100%;
  height: 100%;
  border-radius: 0.3rem;
  outline: 1px rgb(1, 107, 1) solid;
  border: 1px rgb(204, 255, 103) solid;
}

div, fieldset {
  margin: 0;
}

p {
  overflow-wrap: break-word;
}

body, input, select, legend, button, textarea, div, label {
  font-size: 1.8rem;
  letter-spacing: 0.2rem;
  color: rgb(204, 255, 103);
  text-shadow: 1px 0px rgb(1, 107, 1), -1px 0px rgb(1, 107, 1);
  color: rgb(204, 255, 103);
  font-family: Courier, monospace;
}

h1, label, input, select, button, form, legend {
  text-transform: uppercase;
}

h1, h2 {
  font-weight: inherit;
  display: inline-block;
}

h1 {
  font-size: 3.6rem;
}

h2 {
  font-size: 1.6rem;
}

legend {
  font-size: 2.2rem;
}

div, form, fieldset {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

fieldset {
  position: relative;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  border: none;
  padding: 0;
}
fieldset.prompt {
  width: calc(66% - 1rem);
  position: relative;
}
fieldset.prompt div {
  margin-top: 2rem;
}
fieldset.options {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  width: 33%;
  min-width: 25rem;
}
fieldset.options legend {
  width: 100%;
  text-align: right;
  position: relative;
  z-index: 2;
}

#output {
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
      -ms-flex-direction: column-reverse;
          flex-direction: column-reverse;
  white-space: pre-line;
  margin-bottom: 4rem;
}
#output > div {
  position: relative;
  outline: 1px rgb(1, 107, 1) solid;
  border: 1px rgb(204, 255, 103) solid;
  border-radius: 0.4rem;
  margin-top: 3rem;
}
#output > div > div {
  display: block;
  padding: 2rem;
  max-width: calc(100% - 25rem);
}
#output > div > div:nth-of-type(2) {
  min-width: 25rem;
  white-space: pre;
}

#optionPanel {
  text-transform: none;
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 200%;
  padding: 2rem;
  border-radius: 0.2rem;
  outline: 1px rgb(204, 255, 103) solid;
  border: 1px rgb(230, 255, 181) solid;
  z-index: 2;
  visibility: hidden;
}
#optionPanel p:first-of-type {
  margin-top: 0;
}
#optionPanel p:last-of-type {
  margin-bottom: 0;
}
#optionPanel.show {
  visibility: visible;
}

legend {
  margin-bottom: 1rem;
  text-decoration: underline;
}
legend button:first-child {
  margin-right: 1rem;
}
legend button:last-child {
  margin-left: 1rem;
}

label, input, select {
  text-align: right;
}

input, select {
  margin-bottom: 1rem;
  font-family: inherit;
  outline: 1px rgb(1, 107, 1) solid;
  border: 1px rgb(204, 255, 103) solid;
  border-radius: 0.3rem;
}

input {
  width: 7rem;
  padding: 0.5rem;
}

input:last-of-type {
  margin-bottom: 0;
}

select {
  width: 24rem;
  padding: 0.5rem;
}

label {
  position: relative;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

textarea {
  scrollbar-width: none;
}
textarea::-webkit-scrollbar {
  display: none;
}

@media (max-width: 800px) {
  html {
    font-size: 56%;
  }
  .wrapper {
    max-width: none;
    width: 95%;
  }
  form {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  form fieldset {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  form fieldset.prompt {
    width: 100%;
  }
  form fieldset.options {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
  }
  form fieldset.options #optionPanel {
    width: 100%;
  }
  textarea {
    height: 30vh;
  }
  #output > div {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  #output > div > div {
    max-width: 100%;
  }
  button {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  #optionsCollapseButton {
    visibility: visible;
  }
  label, input, select {
    width: 100%;
    visibility: hidden;
    position: absolute;
  }
  label.show, input.show, select.show {
    visibility: visible;
    position: relative;
  }
  label {
    height: 4.4rem;
  }
}