#modals {
  transition: opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;

  &.show {
    opacity: 1;
    pointer-events: all;

    &:before {
      content: " ";
      opacity: 0.3;
      background: var(--base02);
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
    }

    .modal {
      pointer-events: all;
    }
  }

  .modal {
    position: relative;
    pointer-events: none;
    padding: 1rem;
    background: var(--base3);
    min-width: 20rem;
  }
}
