$checkbox-size: 2rem;

input[type="checkbox"].large {
  width: $checkbox-size;
  height: $checkbox-size;
  position: relative;
  
  &::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    color: rgba($background, 0);
    background-color: $font-color-main;
    box-shadow: inset 0 0 0 2px $background;
    font: {
      size: 0rem;
      weight: bolder;
    }
    line-height: $checkbox-size;
    text-align: center;
    transition:
      background-color 150ms 0ms ease,
      color 150ms 50ms ease,
      font-size 150ms 50ms ease;
  }
  
  &:checked::after {
    content: "\02714";
    color: rgba($font-color-main, 1);
    background-color: $font-color-subtle;
    font-size: $checkbox-size;
  }
}