src/styles.css
:root[data-theme="light"] {
  --text: rgba(60, 60, 67);
  --text-accent: #3451b2;
  --bg: #ffffff;
  --bg-invert: #1b1b1f;
  --border: #c2c2c4;
}

:root[data-theme="dark"] {
  --text-accent: #a8b1ff;
  --text: rgba(255, 255, 245, 0.86);
  --bg: #1b1b1f;
  --bg-invert: #ffffff;
  --border: #3c3f44;
}

body,
html {
  font-size: 62.5%;
  margin: 0;
  padding: 0;
  height: 100%;
}

html[data-theme="light"] .theme-light {
  display: none;
}

html[data-theme="dark"] .theme-dark {
  display: none;
}

body {
  font-family: Helvetica Neue, Helvetica, Arial;
  font-size: 1.6rem;
  background-color: var(--bg);
  color: var(--text);
}

main {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

h1 {
  font-size: 2rem;
  margin: 2rem;
}

button#theme-toggle,
button#menu,
button#json-view-toggle,
button#visualizer-view-toggle {
  width: 3rem;
  height: 3rem;
  border: 0;
  padding: 0;
  margin: 0;
  background-color: transparent;
  position: absolute;
  top: 1rem;
  cursor: pointer;
  fill: var(--bg-invert);
}

button#theme-toggle {
  right: 2rem;
}

button#menu {
  right: 6rem;
}

button#json-view-toggle,
button#visualizer-view-toggle {
  right: 10rem;
}

a {
  color: var(--text-accent);
}

details#files[open] {
  margin: 2rem;
}

details#files summary {
  display: none;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  border: 0.1rem solid var(--border);
  padding: 1.5rem 1rem;
}

.center {
  text-align: center;
}

svg.icon {
  fill: var(--text);
  height: 2rem;
  width: 2rem;
}

iframe {
  height: 100%;
  margin: 2rem;
}

#json-visualizer {
  margin: 2rem;
}

#json-visualizer pre {
  overflow: auto;
  border: 0.1rem solid var(--border);
  margin-bottom: 2rem;
  padding: 2rem;
}
