#csketch-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  & canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    cursor: crosshair;
  }

  & #toolbar-tools, & #toolbar-colors, & #toolbar-brush, & #toolbar-history {
    background-color: #000000b3;
    padding: 8px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
  }

  & #toolbar-tools {
    position: absolute;
    top: 60px;
    left: 10px;
    display: flex;
    gap: 8px;
    z-index: 100;
  }

  & #toolbar-colors {
    position: absolute;
    top: 60px;
    left: 220px;
    display: flex;
    gap: 8px;
    z-index: 100;
  }

  & #toolbar-brush {
    position: absolute;
    top: 65px;
    left: 545px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 100;
  }

  & #toolbar-history {
    position: absolute;
    top: 60px;
    right: 10px;
    display: flex;
    gap: 8px;
    z-index: 100;
  }

  & .tool-btn, & .history-btn {
    width: 40px;
    height: 40px;
    background-color: #333;
    border: 2px solid #fff;
    cursor: pointer;
    border-radius: 4px;
    color: #fff;
    font-size: 18px;
  }

  & .color-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #fff;
    cursor: pointer;
    border-radius: 4px;
  }

  & #color-FF0000 {
    background-color: red;
  }

  & #color-FFFF00 {
    background-color: #ff0;
  }

  & #color-00FF00 {
    background-color: #0f0;
  }

  & #color-0000FF {
    background-color: #00f;
  }

  & #color-FF00FF {
    background-color: #f0f;
  }

  & #color-FFFFFF {
    background-color: #fff;
  }

  & .tool-btn:hover, & .color-btn:hover, & .history-btn:hover {
    opacity: .8;
    transform: scale(1.05);
    transition: all .2s;
  }

  & .tool-btn:active, & .color-btn:active, & .history-btn:active {
    transform: scale(.95);
  }

  & label {
    color: #fff;
    font-size: 12px;
  }

  & #brush-size {
    width: 100px;
    cursor: pointer;
    accent-color: #0f0;

    &:hover {
      opacity: .8;
    }
  }

  & #brush-size-display {
    color: #fff;
    font-size: 12px;
    min-width: 30px;
  }
}
