@font-face {
  font-family: Commit;
  src: url('/fonts/CommitMono-400-Regular.otf') format('opentype');
}

@font-face {
  font-family: Recursive;
  src: url('/fonts/RecursiveMonoLnrSt-Regular.woff2') format('woff2');
}

@font-face {
  font-family: JetBrains;
  src: url('/fonts/JetBrainsMono-Light.woff2') format('woff2');
}

* { 
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  font-size: 14px;
  --background: #fdf6e3;
  --text: #586e75;
  --line: 1px solid var(--edge);
}

body {
  background: var(--background);
  width: 100vw;
  height: 100vh;
  font-family: JetBrains, monospace;
  padding-top: 2.5rem;
}
  
.menu-bar {
  height: 2.5rem;
  color: var(--text);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  display: flex;
  flex-flow: row;
  align-items: center;
  background-color: var(--background);
  border-bottom: var(--line);
  padding: 0 0.5em;
  font-size: 0.9rem;
}

.inline-list {
  list-style: none;
  display: flex;
  flex-flow: row;
}

.inline-list > * {
  display: flex;
  align-items: center;
  padding: 0.2em 1em;
  background: rgb(from var(--text) r g b / 0.2);
  margin: 1px;
}

.inline-list * {
  cursor: pointer;
}

.inline-list > *:hover {
  background: var(--text);
  color: var(--background);
}

.underline {
  border-bottom: 1px solid currentColor;
}

.fs {
  width: 100%;
  height: 100%;
}

.pane {
  width: 100%;
  height: 100%;
  display: flex;
  overflow: hidden;
}

.h-split > .half {
  height: 100%;
}

.v-split {
  flex-direction: column;
}

.canvas-container {
  display: flex;
  height: 300px;
}

.flex-row {
  display: flex;
  flex-flow: row wrap;
}

.border-right {
  border-right: var(--line);
}

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

.custom-file-upload {
  border: 1px solid #ccc;
  display: inline-block;
  padding: 6px 12px;
  cursor: pointer;
}