.popup{
    position: absolute;
    z-index: 1000;

    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 3em;
    font-size: 0.846rem;
    pointer-events: none;

    animation: PopupEnter 1.8s forwards;

    padding: 0.5em;
    box-sizing: border-box;
}

@keyframes PopupEnter {
    0% {
        opacity: 1;
        transform: translateY(-3em);
    }
    40% {
        transform: translateY(0);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.popup.success{
    background-color: rgba(122, 209, 122, 0.8);
}
.popup.error{
    background-color: rgba(201, 104, 104, 0.8);
}
