button {
  border: none;
  padding: 20px;
  outline: none;
  background: #cccfcf;
  color: rgba(0, 0, 0, 0.8);
  font-size: 28px;
  font-weight: 400;
}

#toast,
button {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  cursor: pointer;
}

button:hover {
  background: #333;
  color: rgba(255, 255, 255, 0.9);
}

textarea {
  resize: none;
  width: 300px;
  height: 100%;
  display: block;
  border-radius: 0;
  border: 1px solid transparent;
  outline: none;
}

textarea:focus {
  border: 1px solid dodgerblue;
  background: #fafaff;
}

.key {
  color: skyblue;
}

.string {
  color: rgba(255, 160, 80, 0.7);
}

.number {
  color: rgba(190, 255, 130, 0.7);
}

.bool,
.null {
  color: rgba(40, 150, 255, 0.7);
}

.comma,
.colon,
.bracket {
  color: rgba(255, 255, 255, 0.35);
}

.escape {
  color: rgba(255, 240, 120, 0.7);
}

pre {
  height: 100%;
  padding: 0px;
  margin: 0px;
  background: #111;
  display: flex;
}

code {
  height: 100%;
  display: block;
  padding: 20px;
  margin: 0;
  background: #111;
  min-width: 100%;
}

.left-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  width: 40%;
}

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

* {
  box-sizing: border-box;
}

#pretty,
textarea {
  font-family: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console",
    "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono",
    "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier,
    monospace;
}

.right-container {
  height: 100%;
  width: 60%;
  flex-grow: 1;
  overflow: auto;
  background: #111;
}

.right-container::-webkit-scrollbar {
  height: 10px;
  width: 10px;
}

.right-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
}

.right-container::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

.right-container::-webkit-scrollbar-corner {
  background: transparent;
}

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

#toast {
  position: fixed;
  bottom: 12px;
  right: 12px;
  padding: 8px;
  color: white;
  background: #ff4455;
  transition: 0.2s;
  border-radius: 4px;
}
