/* Basic resets and theme */
:root {
  --bg-color: #0d1117;
  --text-primary: #e6edf3;
  --text-secondary: #8b949e;
  --accent-color: #238636;
  --accent-hover: #2ea043;
  --glass-bg: rgba(22, 27, 34, 0.7);
  --border-color: #30363d;
  /* Use ChineseRocks for general UI and AldotheApache for headings */
  --font-main: "ChineseRocksRg", "AldotheApache", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: "AldotheApache", "ChineseRocksRg", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Load bundled fonts */
@font-face {
  font-family: "AldotheApache";
  src: url("/fonts/AldotheApache.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ChineseRocksRg";
  src: url("/fonts/ChineseRocksRg.otf") format("opentype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden; /* Prevent scroll on full screen app */
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
}

#app {
  position: relative;
  width: 100vw;
  height: 100vh;
}

/* Topbar / menu basics */
.topbar {
  width: 100%;
  background-color: #242b2d;
}
.menu {}

/* Utility small elements */
.form-label {
  display: inline-block;
  color: #677779;
  margin-bottom: 4px;
  padding-bottom: 1px;
  border-bottom: 1px solid #667;
  width: max-content;
}
button {
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  border: 1px solid #333;
  padding: 6px;
  border-radius: 0;
  background-color: #adbdbb;
  cursor: pointer;
}
button:hover {
  background-color: #b0d0cc;
  border-color: #934;
}