@import '../../../styles/colors.scss';

$padding: 5px;

.wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: $padding;
}

.relative {
  position: relative;
  outline: 1px solid black;
}

.canvas {
  background-color: $body-background-color;
  cursor: crosshair;

  // Disable panning/zooming when touching canvas element
  -ms-touch-action: none;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

.absolute {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.reset {
  cursor: pointer;
  position: absolute;
  top: 0;
  right: $padding;
  color: $primary-main;

  &:hover {
    color: $primary-dark;
  }
}
