:root {
  --success: #00f2a9;
  --warning: hsl(39deg 100% 47% / 89%);
  --white: #ffffff;
  --black: #000000;
  --monochrome-100: #efefef;
  --monochrome-700: #555555;
  --monochrome-900: #0c0c0c;
}

body {
  font-family: "Open Sans", "sans-serif";
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
}

.container {
  display: flex;
  justify-content: center;
  min-height: 100%;
  width: 100%;
}

.canvas {
  background: var(--monochrome-900);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 2rem;
  position: relative;
}

.controls {
  background: var(--monochrome-100);
  display: flex;
  flex-direction: column;
  row-gap: 2.5rem;
  width: 440px;
  padding: 2rem 0;
}

.controls-section {
  padding: 0 1.8rem;
}

/* .controls-section:not(:last-child) {
    border-bottom: 1px solid #0c0c0c;
  } */

.controls .button {
  font-size: 1.2rem;
}

.controls-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.controls-row {
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
  column-gap: 1rem;
}

.button {
  background: var(--white);
  box-shadow: 1px 1px #686868;
  border-radius: 3px;
  cursor: pointer;
  line-height: 1.2;
  min-width: 120px;
  padding: 0.2rem 1rem;
  transition: box-shadow 0.05s;
}

.button:active {
  box-shadow: none;
}

.button--primary {
  background: var(--success);
}

.input {
  background: var(--white);
  cursor: pointer;
  max-width: 100px;
}

.input-speed {
  max-width: 500px;
}

#fps-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: var(--white);
  white-space: pre;
  font-family: monospace;
  padding: 1rem;
}
