@font-face {
  font-family: "Source Code Pro";
  src: url(SourceCodePro-Regular.ttf) format("truetype");
}

:root {
  --primary-color: #131313;
  --background-color: #dfdfdf;
  --accent-color: #ff8000;
  --error-color: #ff0000;
}

body {
  font-family: "Source Code Pro", monospace;
  font-size: large;
  color: var(--primary-color);
  background-color: var(--background-color);
  margin: 0px;
  transition:
    color 1s,
    background-color 1s,
    opacity 1500ms;
}

.keybox,
input {
  color: var(--primary-color);
  background-color: var(--background-color);
}

.invert {
  color: var(--background-color);
  background-color: var(--primary-color);
}

.headerbox {
  height: 70px;
}

.keybox {
  font-family: "Source Code Pro", monospace;
  line-height: 100%;
  font-size: x-large;
  height: 35px;
  margin: 0px;
  border: 0px;
  padding: 0px 0px 0px 5px;
}

input {
  font-family: "Source Code Pro", monospace;
  line-height: 100%;
  font-size: x-large;
  height: 35px;
  width: 550px;
  margin: 0px;
  border: 0px;
  padding: 0px;
}

input:disabled {
  color: var(--primary-color);
  background-color: var(--background-color);
  opacity: 1;
}

button:disabled {
  color: var(--primary-color);
  background-color: var(--background-color);
  opacity: 1;
}

input:focus {
  outline-width: 0;
}

button {
  font-family: "Source Code Pro", monospace;
  line-height: 100%;
  font-size: x-large;
  color: var(--primary-color);
  background-color: var(--background-color);
  border: 5px double var(--primary-color);
}

.overlay {
  position: fixed;
}

button#submit {
  padding: 0;
  height: 35px;
  width: 570px;
}

#progress {
  font-family: "Source Code Pro", monospace;
  font-size: large;
}

iframe {
  border: 0px;
}

code {
  white-space: pre-wrap;
  word-break: break-all !important;
  font-family: "Source Code Pro", monospace;
  display: inline-block;
}

#vessel {
  margin: 2em;
  transition: opacity 1500ms ease-out;
  opacity: 0;
}

code.plain {
  display: block;
}

.narrow {
  line-height: 100%;
}

.tall {
  line-height: 160%;
}

.extrapad {
  padding: 1em;
}

.centercontainer {
  text-align: center;
  margin: 0;
}

.centercontent {
  font-family: "Source Code Pro", monospace;
  white-space: pre;
  display: inline-block;
  text-align: left;
  line-height: 100%;
}

.tight {
  line-height: 0%;
}

#solid {
  font-family: "Source Code Pro", monospace;
  white-space: pre;
  margin: 2rem auto;
  max-width: 35em;
  padding: 0 2em;
  width: auto;
  line-height: 100%;
}

#cipher {
  display: none;
}

.bordered {
  border: 3px double var(--accent-color);
}

.cipher {
  display: none;
}

code.centered {
  white-space: pre;
  font-family: "Source Code Pro", monospace;
  display: block;
  margin: 2rem auto;
  max-width: 40em;
  padding: 0 2em;
  width: auto;
  line-height: 100%;
  text-transform: uppercase;
}

.centered {
  margin: 2rem auto;
  max-width: 35em;
  padding: 0 2em;
  width: auto;
}

.slab {
  font-size: medium;
  margin: 2rem auto;
  max-width: 60em;
  word-break: break-all;
  text-transform: uppercase;
}

em {
  font-style: normal;
  color: var(--accent-color);
  animation: blinker 0.05s linear infinite;
}

.flicker {
  color: var(--accent-color);
  animation: blinker 0.6s linear infinite;
}

.fastflicker {
  color: var(--accent-color);
  animation: blinker 0.05s linear infinite;
}

a:hover {
  animation: blinker 1s linear infinite;
  color: var(--accent-color);
}

a:any-link {
  color: var(--primary-color);
}

a:link {
  color: var(--primary-color);
}

a:visited {
  color: var(--primary-color);
}

a:focus {
  color: var(--primary-color);
}

a:active {
  color: var(--primary-color);
}

@keyframes blinker {
  50% {
    opacity: 0.5;
  }
}

.wrapper {
  display: grid;
  font-size: small;
  grid-template-columns: repeat(8, 16.01ch);
  grid-gap: 1px;
  grid-auto-rows: 16em;
  user-select: none;
}

#mirror {
  display: block;
  position: fixed;
  z-index: -1;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  opacity: 0;
  transition: opacity 1500ms ease-out;
}
