* {
  font-size: 24px;
  font-family: Cambria, Cochin, Georgia;
  touch-action: manipulation;
  color: black;
  overflow: hidden;
  user-select: none;
}

small {
  font-size: 0.6em;
}

.scroll {
  overflow-y: visible;
}

.scroll::-webkit-scrollbar {
  width: 16px;
  background-color: #0000;
}

.scroll::-webkit-scrollbar-track {
  box-shadow: inset 0 0 10px black;
  border-radius: 8px;
}

.scroll::-webkit-scrollbar-thumb {
  background: #e00000;
  box-shadow: inset 0 0 6px black;
  border-radius: 8px;
}

.scroll::-webkit-scrollbar-thumb:hover {
  background: #cf0000;
}

.scroll::-webkit-scrollbar-thumb:active {
  background: #b00000;
}

input {
  border: 2px solid black;
  border-radius: 5px;
  user-select: text;
}

canvas {
  cursor: move;
  position: fixed;
  left: 0;
  top: 0;
}

button {
  cursor: pointer;
  transition:
    background-color 250ms,
    transform 500ms;
  padding: 4px;
  margin: 2px;
  border-radius: 5px;
  border: none;
  background-color: #fc2;
  filter: drop-shadow(2px 2px 4px #000d);
}

button:hover {
  transform: scale(1.02);
  background-color: #eb2;
}

button:active {
  transform: scale(1.05);
  background-color: #dc2;
}

#close,
#reset {
  background-color: #f42;
}

#close:hover,
#reset:hover {
  background-color: #d42;
}

#close:active,
#reset:active {
  background-color: #b30;
}

#menu {
  display: none;
  position: fixed;
  width: 1200px;
  max-width: 70%;
  height: 500px;
  min-height: calc(100px + 10%);
  max-height: calc(90% - 10px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #897f76;
  border-radius: 8px;
}

#percent {
  white-space: pre;
  position: fixed;
  top: 60px;
  left: 25px;
  font-size: 20px;
  cursor: move;
  text-shadow:
    -1px -1px 0 black,
    1px -1px 0 black,
    -1px 1px 0 black,
    1px 1px 0 black;
}

#close {
  border: solid 2px white;
  cursor: pointer;
  float: right;
  right: 2px;
}

#rightClick {
  cursor: pointer;
  visibility: hidden;
  font-size: 28px;
  opacity: 0;
  position: fixed;
  border-radius: 8px;
  background-color: #303030;
  color: white;
  box-sizing: border-box;
  padding: 6px;
  transition: opacity 500ms ease;
}

#slow {
  cursor: pointer;
  position: fixed;
  left: 10px;
  bottom: 10px;
  width: calc(100% - 20px);
  border-radius: 12px;
  background-color: #101010;
  color: white;
  text-align: center;
  transition: opacity 1000ms ease;
}

#copy:hover {
  color: #ddd;
}

#copy:active {
  color: #b0b0b0;
}

#left {
  width: calc(100% - 50px);
}

#line {
  position: fixed;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
}

.sheet {
  background-color: #222;
  font-size: 20px;
  opacity: 0.4;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.bottom {
  margin: 4px;
  font-size: 14px;
}

#help {
  line-height: 1.4;
  font-family: "EB Garamond";
  text-align: center;
  display: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

body {
  background-color: #222;
}

#noteTitle {
  font-size: 20px;
  font-weight: 600;
}

#noteContent {
  font-size: 15px;
  font-family: Verdana;
}

#welcome {
  position: fixed;
  top: 155px;
  left: 10px;
  cursor: pointer;
  background-color: #aaf;
  border-radius: 5px;
  border: 3px solid #27b;
  padding: 2px;
  max-width: calc(40px + 25%);
  transition: opacity 500ms;
  opacity: 0;
}

.choice,
a {
  border-radius: 4px;
  padding: 1px;
  cursor: pointer;
  color: #2060e0;
  transition:
    color 500ms,
    background-color 500ms;
  font-family: inherit;
  font-size: inherit;
}

.choice:hover,
a:hover {
  color: #0644c0;
  background-color: #b3e6f7b3;
  text-decoration: underline;
}

.choice:active,
a:active {
  color: #062b76;
  background-color: #b3e6f7;
}

#percent::selection {
  color: white;
  background: #1ae;
}

h2,
i {
  font-family: inherit;
  font-weight: 600;
}

b {
  font-size: inherit;
}

#infoClose {
  transition:
    background-color 100ms,
    transform 1s;
  opacity: 1;
  background-color: #ed710c;
}

#infoClose:hover {
  background-color: #edc70c;
}

#infoClose:active {
  transition:
    background-color 500ms,
    transform 200ms;
  background-color: #1aad10;
}
