.truecropper {
  --outline-color: rgba(0, 0, 0, 0.5);
  --background-color: rgba(0, 0, 0, 0.5);

  position: relative;
  display: inline-block;
  user-select: none;
  box-sizing: border-box;
  // overflow: hidden;

  &__image {
    vertical-align: middle;
    max-width: 100%;
  }

  &__handle {
    border: 1px solid black;
    background-color: rgba(255, 255, 255, 0.5);
    width: 10px;
    height: 10px;
    position: absolute;
    top: 0;
    @media (hover: none) and (pointer: coarse) {
      width: 30px;
      height: 30px;
    }
  }

  &__new-selection {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    cursor: crosshair;
  }

  &__selection {
    position: absolute;
    top: 0;
    outline: 1px dashed var(--outline-color);
    cursor: move;
  }

  &__background-0 {
    content: " ";
    position: absolute;
    top: 0;
    display: block;
    background-color: var(--background-color);
  }

  &__background-1 {
    content: " ";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    display: block;
    background-color: var(--background-color);
  }

  &__background-2 {
    content: " ";
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    background-color: var(--background-color);
  }

  &__background-3 {
    content: " ";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    display: block;
    background-color: var(--background-color);
  }
}