* {
  box-sizing: border-box;
}

:root {
  font-family: "Source Code Pro", monospace;
  font-size: 16px;
  background: #444 url("../assets/simple-bg.png");
  color: #444;
}

html,
body {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
}

a {
  color: #c44;
  text-decoration: none;
}
a:hover {
  color: #e66;
}

table {
  width: 100%;
  border-collapse: collapse;
}
table td,
table th {
  border: 1px solid #444;
}

#app {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  max-width: 50em;
  margin: 0 auto;
  background: #fff;
}

#app > header,
#app > footer {
  font-size: 0.8em;
  flex: 0 0 auto;
  padding: 0.5em 1em;
  background: #c44;
  color: #eee;
}
#app > header h1,
#app > footer h1 {
  font-size: 1em;
  margin: 0;
  padding: 0;
}
#app > header a,
#app > footer a {
  color: #fff;
  text-decoration: underline;
}

#app > main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  background: #fff;
}
#app > main #canvas {
  flex: 0 0 auto;
  display: block;
  margin: 0 auto;
  max-width: 100vw;
  max-height: 70vh;
  cursor: pointer;
  user-select: none;
  touch-action: none;
}
#app > main #controls {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  overflow: auto;
  justify-content: center;
  align-items: center;
}
#app > main #button {
  border: 1px solid #ccc;
  color: #fff;
  border-radius: 1em;
  background: #c44;
  padding: 0.5em 1em;
  cursor: pointer;
}
#app > main #window-size-helper {
  background: #888;
  color: #fff;
  padding: 1em;
  margin: 1em;
  display: none;
}

/*# sourceMappingURL=main.css.map */
