
* {
  box-sizing: border-box;
}
::selection {
  color: none;
  background: none;
}
::-moz-selection {
  color: none;
  background: none;
}
html, body {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}
html {
  overflow-y: hidden;
}
body {
  overflow-y: auto;
  font-size: 100%;
  font-family: courier, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: #f2f2f2;
}
#main, #geometrize-wrapper {
  height: 100%;
}
main {
  height: 100%;
}
aside {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  transform: translateX(0);
  transition: transform 0.5s ease-in-out;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  max-height: 100vh;
}
aside.close {
    transform: translateY(calc(100% - 3rem - 1px));
}
aside.close .open-button:before {
      transform: translate(-50%, -50%) translateX(-3.3px) rotate(-55deg);
}
aside.close .open-button:after {
      transform: translate(-50%, -50%) translateX(3.3px) rotate(55deg);
}
aside .open-button {
    position: absolute;
    top: 0;
    left: 0;
    width: 3rem;
    height: 3rem;
    border-right: 1px solid #f2f2f2;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
aside .open-button:before, aside .open-button:after {
      content: '';
      width: 0.75em;
      height: 1px;
      background: #f2f2f2;
      position: absolute;
      top: 50%;
      left: 50%;
      transition: transform 0.5s ease-in-out;
}
aside .open-button:before {
      transform: translate(-50%, -50%) translateX(-3.3px) rotate(55deg);
}
aside .open-button:after {
      transform: translate(-50%, -50%) translateX(3.3px) rotate(-55deg);
}
aside .side-content {
    background: rgba(60, 60, 60, 0.6);
    border: 1px solid #f2f2f2;
    width: 100%;
}
#geometrize-wrapper {
  position: relative;
}
#geometrize-wrapper canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#message, #configWindow {
  border: 1px solid #f2f2f2;
  position: absolute;
  top: 2.5em;
  left: 50%;
  transform: translateX(-50%);
  padding: 1.5em;
  width: 300px;
  background: rgba(60, 60, 60, 0.6);
  text-align: center;
  z-index: 1;
}
textarea {
  display: block;
  width: 100%;
  overflow: scroll;
  white-space: pre-wrap;
  background: #363636;
  border: 1px solid #b3b3b3;
  color: inherit;
  outline: none;
  margin: 1em 0;
}
p {
  font-size: 13px;
}
p a {
    color: inherit;
}
button.copied:after {
  content: 'Copied!';
  position: absolute;
  top: calc(100% + 0.6em);
  left: -12.5%;
  width: 125%;
  text-align: center;
  border: 1px solid #f2f2f2;
  padding: 0.5em 0;
  line-height: 1.4em;
  height: 1.4em;
  color: #f2f2f2;
  background: rgba(60, 60, 60, 0.6);
  font-weight: 700;
  animation-name: fade-out;
  animation-duration: 0.3s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  animation-timing-function: linear;
  animation-delay: 0.6s;
  opacity: 1;
  outline: none;
}
.hide {
  display: none !important;
}
#colorWindow {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: auto;
  height: auto;
  display: flex;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid;
}
#colorWindow .picker_wrapper {
    margin: 1rem;
}
@media screen and (max-width: 800px) {
aside {
    right: 0;
    width: auto;
    left: unset;
}
}
@media screen and (max-width: 600px) {
aside {
    width: 100%;
}
}
@keyframes fade-out {
0% {
    opacity: 1;
}
100% {
    opacity: 0;
}
}


#settings {
  display: flex;
  flex-direction: column;
}
.settings-header {
  position: relative;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #f2f2f2;
  cursor: pointer;
}
.settings-body {
  display: flex;
  max-height: calc(100vh - 3rem);
  overflow-y: visible;
}
.settings-body > * {
    flex: 1 0;
    padding: 0 1.15em;
    margin: 1.15em 0;
}
.settings-body > *:not(:first-child) {
      border-left: 1px solid #f2f2f2;
}
@media screen and (max-width: 800px) {
.settings-body {
    flex-direction: column;
    overflow-y: auto;
}
.settings-header h2 {
    padding: 0 1.5rem 0 4.5rem;
}
.settings-body > * {
    max-width: 380px;
}
.settings-body > *:not(:first-child) {
      border-left: none;
}
}


input[type="number"] {
  width: 3.5rem;
  font-size: 11px;
  height: 2.25em;
  border: 1px solid #f2f2f2;
}
h1 {
  margin: 0;
  font-size: 1.125em;
}
h2 {
  margin: 0;
  font-size: 1.0625em;
}
h3 {
  margin-top: 0;
  margin-bottom: 0.75em;
  font-size: 1em;
}
.field-inner {
  margin-bottom: 0.375em;
}
label {
  font-size: 13px;
}
.field-colour {
  width: 6.75em;
  height: 2.25em;
  border: 1px solid #f2f2f2;
  text-align: center;
}
.field-colour:before {
    content: none;
}
button {
  border: 1px solid #f2f2f2;
  background: none;
  color: #000;
  position: relative;
  padding: 0.2em 1em;
  z-index: 0;
  cursor: pointer;
  min-height: 2.25em;
}
button:before {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    background: #f2f2f2;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    z-index: -1;
}
button.config-button {
    margin-top: 2em;
}


.multirange .multirange--wrapper {
  display: flex;
  align-items: center;
}
.multirange .multirange--buttonwrapper {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}
.multirange .multirange--bar {
  position: relative;
  padding: 0.75em 0;
  margin-bottom: 0.375em;
}
.multirange .multirange--toggle {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}
.multirange .multirange--milestone {
  margin-bottom: 0.375em;
  display: flex;
}
.multirange .multirange--milestone > *:not(:last-child) {
    margin-right: 0.375em;
}

