:root {
  --default-bg: #ffffff;
  --main-color: #007bff;
  --default-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

* {
  font-family: "Roboto", sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  color: black;
}

body {
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  user-select: none;
}

svg {
  display: block;
}

.hidden {
  display: none !important;
}

#screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  cursor: crosshair;
  touch-action: none;
}

#hud {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.color-indicator {
  position: fixed;
  width: 1.5rem;
  height: 1.5rem;
  border: black 0.125rem solid;
  border-radius: 50%;
  z-index: 100;
  transform: translate(0.5rem, 0.5rem);
}

.switch {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 3.2rem;
  height: 2rem;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #c0c0c0;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.switch .slider:before {
  position: absolute;
  content: "";
  height: 1.5rem;
  width: 1.5rem;
  left: 0.25rem;
  bottom: 0.25rem;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.switch input:checked + .slider {
  background-color: var(--main-color);
}

.switch input:focus + .slider {
  box-shadow: 0 0 1px var(--main-color);
}

.switch input:checked + .slider:before {
  -webkit-transform: translateX(1.2rem);
  -ms-transform: translateX(1.2rem);
  transform: translateX(1.2rem);
}

.switch .slider.round {
  border-radius: 2rem;
}

.switch .slider.round:before {
  border-radius: 50%;
}
