body {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-left: 1em;
}

hr {
  margin: 1em;
}

div.wizard {
  width: 45%;
  float: left;
  height: 100%;
  overflow-y: auto;
}

div.widget {
  border: 0.5px solid lightgray;
  background-color: transparent;
  padding: 1em 1em 1em 1em;
  margin: 1em;
  color: inherit;
}

div.widget>label {
  font-size: medium;
  color: inherit;
}

div.widget>label>input {
  margin-right: 1em;
  overflow: visible;
  color: inherit;
  box-shadow: none;
}

div.widget>label>input[type="checkbox"] {
  width: 1em;
  height: 1em;
  position: relative;
  opacity: 100;
}

div.widget>label>input::placeholder {
  font-style: italic;
  opacity: 0.5;
}

.required {
  opacity: 0.7;
  color: red;
}

div.widget>label>select {
  margin-right: 1em;
  opacity: 100;
  background-color: transparent;
  color: inherit;
  width: auto;
  border: 0.5px solid lightgray;
  border: none;
}

div.widget>label>select:focus {
  outline: none;
}

option:disabled {
  color: red;
}

div.widget>label>button {
  margin-right: 1em;
  padding: 0 8px;
  height: 24px;
  line-height: 24px;
}

div.preview {
  position: relative;
  width: 45%;
}

#inputtext {
  width: 45%;
  height: 75%;
  float: right;
  resize: none;

  position: relative;
  background-color: #272822;
  color: #f8f8f2;

  text-shadow: 0 1px rgba(0, 0, 0, 0.3);
  font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  word-wrap: normal;
  line-height: 1.5;
  tab-size: 4;
  hyphens: none;

  font-size: 90%;
  line-height: 1.5;

  padding: 1em;
  margin: .5em;
  overflow: auto;
  border-radius: 0.3em;
  border: none;
}

#inputtext:focus {
  outline: none;
}

#downloadbutton,
#copybutton {
  position: relative;
  left: 10%;
  top: 75%;
  margin-top: 1em;
  margin-left: -0.5em;
}

#infobox {
  position: fixed;
  bottom: 0;
  right: 0;
  text-align: left;
  margin: 0.5em;
  /* border: 1px solid var(--dark-navbar); */
  padding: 1em;
  width: 45%;
  height: 15%;
  overflow: scroll;
  font-size: medium;
  font-family: inherit;
  box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.12), 0 1px 5px 0 rgba(0,0,0,.2);
  background-color: #fff;
}

@media (prefers-color-scheme: dark),
(prefers-dark-interface) {
  #inputtext {
    background-color: var(--pre-textbox);
  }
  #infobox {
    background-color: var(--darkmode-navigator);
  }
}