:root
{
    --main-color: #3BA123;
    --main-color-rgb: 59,161,35;
    --secondary-color: #3c872d;
    --secondary-color-rgb: 60,135,45;
}

a
{
    color: var(--main-color);
}

#toast
{
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 1em;
    width: 100%;

    animation-delay: 0;
    animation-duration: 5s;
    animation-fill-mode: forwards;
    animation-name: toastIn;
    animation-timing-function: ease-in;
}

#toast.active
{
    display: block;
    transform: translateY(-20px);
}

#toast .container-content
{
    border-radius: 6px;
    box-shadow: 0 0 8px 4px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    padding: 1em;
    width: 100%;
}

#toast .container-content.error
{
    background-color: #c00;
    color: #fff;
}

#toast .container-content.success
{
    background-color: #090;
    color: #fff;
}

#toast .container-content.warning
{
    background-color: #fc0;
    color: #000;
}

@keyframes toastIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    5% {
        opacity: 1;
        transform: translateY(0);
    }
    97% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(0);
    }
}

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