@charset "UTF-8";

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  height: 100%;
  margin: 0;
  padding: 0;
  background: #2f3640;
  color: #fff;
}

body {
  font-family: 'IBM Plex Sans', sans-serif;
}

pre {
  font-size: 1em;
  font-family: 'IBM Plex Mono', monospace;
  margin-top: 6em;
}

section.welcome {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

section.welcome.hidden {
  display: none;
}

section .dialog {
  background: #718093;
  padding: 1em;
  border-radius: 0.5em;
  max-width: 40em;
}

header,
footer {
  flex-shrink: 0;
  flex-grow: 0;
  box-shadow: 0 0 1em #000;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em;
  background: #44bd32;
  color: #fff;
  position: fixed;
  top: 0;
  width: 100%;
}

footer {
  font-size: 0.8em;
  text-align: center;
}

h1 {
  margin: 0;
}

input {
  font-size: 1em;
}

button {
  font-size: 1em;
}

a {
  color: inherit;
}

header form {
  flex-grow: 1;
  flex-shrink: 1;
  display: flex;
  justify-content: flex-end;
}

header form input[type="url"] {
  flex-grow: 1;
  max-width: 30em;
  background: #f5f6fa;
  color: #2f3640;
  padding: 0.5em;
  margin: 0 0.3em;
  border: none;
  font-size: 1em;
  font-family: inherit;
}

header input[type="file"] {
  display: none;
}

button,
.button,
input[type="submit"] {
  border: none;
  background: #f5f6fa;
  color: #2f3640;
  padding: 0.5em 1em;
  cursor: pointer;
  margin: 0 0.3em;
  font-size: 1em;
  font-family: inherit;
}

header form :last-child {
  margin-right: none;
}