.wrapper {
  width: 860px;
  margin: 0 auto;
}

.positive {
  background-color: green;
  color: white;
  font-weight: bolder;
}

.negative {
  background-color: salmon;
  color: white;
  font-weight: bolder;
}

#results {
  overflow-x: scroll;
}

header {
  width: 170px;
  float: left;
  position: fixed;
  -webkit-font-smoothing: subpixel-antialiased;
}

body {
  background-color: #fff;
  padding: 50px;
  color: #222;
  font-size: 1.2em;
  font-family: monospace;
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #222;
  margin: 0 0 20px;
}

p,
ul,
ol,
table,
pre,
dl {
  margin: 0 0 20px;
}

h1,
h2,
h3 {
  line-height: 1.1;
}

h1 {
  font-size: 28px;
}

a {
  color: #267cb9;
  text-decoration: none;
}

a:hover,
a:focus {
  color: salmon;
}

a small {
  font-size: 11px;
  color: black;
  margin-top: -0.3em;
  display: block;
}

a:hover small {
  color: #777;
}

strong {
  color: #222;
  font-weight: 700;
}

section {
  width: 600px;
  float: right;
  padding-bottom: 50px;
}

small {
  font-size: 11px;
}

hr {
  border: 0;
  background: #e5e5e5;
  height: 1px;
  margin: 0 0 20px;
}

footer {
  width: 270px;
  float: left;
  position: fixed;
  bottom: 50px;
  -webkit-font-smoothing: subpixel-antialiased;
}

pre {
  padding: 8px 15px;
  border-radius: 5px;
  border: 1px solid #e5e5e5;
  overflow-x: auto;
}

.site-logo {
  margin-bottom: 1rem;
  width: 100%;
}pre,
code {
  font-family: monospace;
}

code {
  border-radius: 3px;
}

pre {
  overflow: auto;
}

pre code {
  background-color: transparent;
  color: inherit;
}

@media (prefers-color-scheme: dark) {

  .sourcehut {
    filter: invert(100%);
  }

  body {
    background-color: #222;
    color: #FFF
  }

  strong {
    color: #FFF;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    color: #FFF;
  }

  a small {
    color: white;
  }
}

footer>a>img {
  max-height: 20px;
}

div#validator > form {
  display: flex;
  flex-direction: column;
  background-color: grey;
  border: solid;
  padding: 10px;
}

div#validator > form > input {
  margin: 2px; 
}

div#validator > form > button {
  margin-top: 20px;
}

.computed {
  padding: 8px 15px;
  border-radius: 5px;
  border: 1px solid #e5e5e5;
}

@media print,
screen and (max-width: 960px) {
  div.wrapper {
    width: auto;
    margin: 0;
  }

  header,
  section,
  footer {
    float: none;
    position: static;
    width: auto;
  }

  header {
    padding-right: 320px;
  }

  section {
    border: 1px solid #e5e5e5;
    border-width: 1px 0;
    padding: 20px 0;
    margin: 0 0 20px;
  }

  header a small {
    display: inline;
  }

  header ul {
    position: absolute;
    right: 50px;
    top: 52px;
  }
}

@media print,
screen and (max-width: 720px) {
  body {
    word-wrap: break-word;
  }

  header {
    padding: 0;
  }

  header ul,
  header p.view {
    position: static;
    margin: 1rem auto;
  }

  pre,
  code {
    word-wrap: normal;
    text-wrap: wrap;
  }
}

@media print,
screen and (max-width: 480px) {
  body {
    padding: 15px;
  }
}

@media print {
  body {
    padding: 0.4in;
    font-size: 12pt;
    color: #444;
  }
}

