#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;

    & ~ header, & ~ main {
      filter: blur(0.5rem);
    }

    .modal {
      pointer-events: all;
    }
  }

  .modal {
    position: relative;
    pointer-events: none;
    padding: 1rem;
    background: var(--alt-bg);
    color: var(--alt-font);
    min-width: 20rem;
    box-shadow: var(--floating) 0px 10px 30px -5px;
  }
}
