@keyframes fadeout {
    from {
        bottom: var(--toast-height, 6em);
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: var(--toast-height, 6em);
        opacity: 1;
    }
}

.toast {
    position: fixed;
    bottom: var(--toast-height, 6em);
    text-align: center;
    border-radius: 2px;
    background-color: var(--color-background-card);
    min-width: 250px;
    padding: 16px;
    left: 2%;
    z-index: 9999;
    visibility: visible;
    transition: bottom 0.4s ease;
    animation: fadein 0.5s, fadeout 0.5s forwards;
}