.hidden {
  display: none;
}

html {
  font-size: 24px;
}

body {
  background: #222;
  color: #eeeeee;
  width: 40em;
  padding: 1rem;
  margin: auto;
  font-family: Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', source-sans-pro, sans-serif;
}

h1 {
  text-align: center;
  font-size: 5rem;
  text-shadow: 0.5rem 0.5rem #777, 1rem 1rem #555, 1.5rem 1.5rem #040;
  font-variant: small-caps;
  font-family: Avenir, Montserrat, Corbel, 'URW Gothic', source-sans-pro, sans-serif;
}

h2 {
  margin-top: 2em;
  text-align: center;
  font-size: 1.5rem;
  font-variant: small-caps;
  text-shadow: 0.2rem 0.2rem #555;
}

p {
  margin: 1em 0 0 0;
  line-height: 150%;
}

ul {
  margin: 0 0 0 1em;
  padding: 0;
  list-style: square;
  line-height: 150%;
  font-size: 0.9rem;
}

li {
  margin: 0.25em 0 0 0;
}

div.disclaimer {
  font-size: smaller;
  color: #555;
  text-align: center;
}

#drop-zones {
  display: flex;
  flex-direction: column;
}


.drop-zone-name {
  width: 10rem;
}

.drop-zone {
  background-color: #333;
  border: 2px dotted #555;
  margin: 1rem 0;
  display: flex;
  flex-direction: row;
}

.drop-zone table {
  border-spacing: 0.3rem;
  border: none;
  font-size: 0.65em;
}

.drop-zone th {
  font-variant: small-caps;
  margin-top: 0.5em;
  color: #777;
  text-align: right;
}

.drop-zone td {
  margin: 0;
}

.dragover {
  background-color: #444;
}

.drop-zone label {
  text-decoration: underline;
}

.title {
  text-align: center;
  font-size: 1.25rem;
  margin-top: 1rem;
}

.icon {
  font-size: 1rem;
  text-align: center;
}

.caption {
  font-size: 0.75rem;
  color: #ddd;
  text-align: center;
  border: 1px dashed #555;
  background-color: #222;
  padding: 1em;
  margin: 1em;
}

code, pre {
  overflow-x: auto;
  background-color: #343;
  color: #eedddd;
  border-radius: 0.1em;
  padding: 0.2em 0.2em;
  font-size: 0.75em;
  font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace;
}

pre {
  line-height: 150%;
}

a {
  color: inherit;
}

footer {
  margin-top: 2rem;
  color: #777;
  text-align: center;
}

.note {
  padding: 0.5em;
  border: 1px greenyellow solid;
  background-color: #030;
  color: #7d7;
  font-size: smaller;
}

.note::before {
  content: '🟢 ';
}

.warning {
  padding: 0.5em;
  border: 1px yellow solid;
  background-color: #330;
  color: #dd7;
  font-size: smaller;
}

.warning::before {
  content: '⚠ ';
}

.toast {
  position: fixed;
  left: 50%;
  bottom: -10rem;
  transform: translateX(-50%);
  background-color: #533;
  color: #daa;
  padding: 0.5em 0.5em;
  width: 50%;
  border-radius: 0.2em;
  border: 1px red solid;
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
  text-align: center;
}

.toast.toastShow {
  transform: translateX(-50%) translateY(-11rem);
  opacity: 1;
}