:root {
  font-family: Inter, sans-serif;
  font-feature-settings: 'liga' 1, 'calt' 1;
  /* fix for Chrome */
}

@supports (font-variation-settings: normal) {
  :root {
    font-family: InterVariable, sans-serif;
  }
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  background-color: #2c2c2c;
  color: #ffffff;
}

#editor-app {
  display: flex;
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

#debug {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 600px;
  background-color: #1e1e1e;
  padding: 10px;
  box-sizing: border-box;
  overflow: auto;
  white-space: pre-wrap;
  border-left: 1px solid #444;
}

#debug pre {
  margin: 0;
}

#editor {
  flex: 1;
  max-width: 800px;
  margin-right: 600px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  overflow: auto;
  border: none;
  outline: none;
  caret-color: #ffffff;
}

#editor:focus {
  outline: none;
}

#editor span:focus {
  outline: none;
}

#editor p,
#editor pre {
  margin-bottom: 1em;
}

#editor pre {
  background-color: #1e1e1e;
  padding: 10px;
  border-radius: 5px;
  overflow-x: auto;
}

#editor code {
  font-family: 'Fira Code', monospace;
}

#editor strong {
  font-weight: bold;
  color: #ffffff;
}

#editor em {
  font-style: italic;
}

#editor ::selection {
  background-color: #444444;
  color: #ffffff;
}

#editor .execution-output {
  background-color: #252525;
  padding: 10px;
  border-radius: 5px;
  margin-top: 5px;
  color: #d4d4d4;
  white-space: pre-wrap;
}