@import url('https://fonts.googleapis.com/css?family=Roboto+Mono&display=swap');

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

body {
  font-family: 'Roboto Mono', sans-serif;
  color: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

header {
  flex: 0 0 50px;
  line-height: 50px;
  font-size: 1.5em;
  color: #272822;
  text-align: center;
  background: #f8f8f2;  
}

footer {
  display: flex;
  border-top: 1px solid #f8f8f2;
  background: #272822;
  padding: 8px;
  box-sizing: border-box;
}

main {
  flex: 1 1 auto;
  display: flex;
  overflow: hidden;
}


aside {
  height: 100%;
  flex: 0 0 200px;
  background: #272822;
  box-sizing: border-box;
  border-right: 1px solid #f8f8f2;
  color: #f8f8f2;
}

ul {
  padding: 0;
  width: 100%;
}

ul li {
  list-style: none;
  cursor: default;
  user-select: none;
}

ul li:hover {
  background: #3b3a32;
}

ul li.active {
  background: #49483e;
}

ul li::before {
  content: "☐";
  margin-left: 1em;
  margin-right: 1em;
}

ul li.done::before,
ul li.fail::before {
  border: none;
  outline: none;
  box-shadow: none;
}

ul li.done::before {
  content: "☑";
  color: #a6e22e;
}

ul li.fail::before {
  content: "☒";
  color: #F92672;
}

#error {
  flex: 1 1 100%;
  color: #fd971f;
  font-size: 14px;
  white-space: pre-wrap;
  max-height: 200px;
  overflow: auto;
}

button#test {
  background-color: #0dd173;
  border: 1px solid #18ab29;
  display: inline-block;
  cursor: pointer;
  color: #ffffff;
  font-family: Arial;
  font-size: 17px;
  padding: 8px 32px;
  text-decoration:none;
  text-shadow:0px 1px 0px #18ab29;
  border-radius: 3px;
  margin: 0 0 auto 0;
  outline: none;
  white-space: nowrap;
}

button#test:active {
  background-color: #00b55e;
}

.CodeMirror {
  flex: 1 1 auto;
  height: 100%;
  font-size: 16px;
}

.cm-s-monokai span.cm-comment {
  color: #a6e22e;
}
