.hide-everything {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.toast-container {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 10000;
    padding: 10px;
    user-select: none;
}

.toast {
    background-color: var(--fg-1);
    color: var(--bg-1);
    padding: var(--padding-w3);
    text-align: left;
    border-radius: 100px;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 500;
    filter: var(--drop-shadow);
    font-family: var(--font);
    animation: slideIn 0.5s forwards;
    transform-origin: left;
    width: fit-content;
}

@media (max-width: 600px) {
    .toast-container {
        width: 100%;
        right: 0;
        top: 0;
        bottom: unset;
        left: unset;
    }
    .toast {
        width: unset;
    }
}

.fade-out {
    animation: slideOut 0.5s forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
    }
}
