@mixin transition {
  transition: all 0.3s ease-out;
}

@mixin delete-image {
  position: relative;
  cursor: pointer;
  &:before, &:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 2px;
    background: #000;
  }

  &:before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  &:after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
}