#alert-message {
    animation: slidein 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes slidein {
    0% {
        transform: translateX(1000px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.message-notify::before {
    width: 100px;
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.829);
    animation: time 3s forwards;
}

@keyframes slideoff {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(10000px);
    }
}

@keyframes time {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}