
  .alert{
    width: calc(100% - 1rem);
    max-width: 45rem;
    position: relative;
    animation: 0.125s alert-slidein ease-out forwards;
    pointer-events: none;
    transition: margin 0.5s ease-out;
  }

  .alert.closing{
    animation: 0.5s alert-slideout ease-out forwards;
  }

  @keyframes alert-slidein {
    from {
      top: -50px;
      opacity: 0;
    }

    to {
      top: 0px;
      opacity: 1;
    }
  }

  @keyframes alert-slideout {
    from {
      top: 0px;
      opacity: 1;
    }

    to {
      top: -50px;
      opacity: 0;
    }
  }
