@keyframes fadeIn {
    0% {
        transform: translate(-50%, -50%) scale(0.7);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.toast {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10001;
}

.toast p {
    position: absolute;
    left: 50%;
    top: 50%;
    width: max-content;
    padding: 16px;
    color: #ffffff;
    font-size: 14px;
    background-color: rgba(0, 0, 0, .6);
    animation: fadeIn .1s ease-in-out forwards;
}

.center-alert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10001;
    padding: 20px 30px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.center-alert.fade-out {
    opacity: 0;
    animation: fadeOut 0.3s ease forwards;
}