.alertgreen {
    background-color: var(--color5);
    border-left: 6px solid var(--color5.1);
}

.alert {
    background-color: var(--color6);
    border-left: 6px solid var(--color6.1);
}

.alertred {
    background-color: var(--color7);
    border-left: 6px solid var(--color7.1);
}

.message {
    position: fixed;
    width: 100%;
    padding: 5px;
    bottom: 0px;
    color: black;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.message.show {
    display: block;
    opacity: 1;
    animation: hide 5s forwards;
}

@keyframes hide {
    0% { opacity: 1; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

.custom-alert-close {
    cursor: pointer;
}

.custom-alert-close:hover {
    color: red;
}

.alertgreen, .alert, .alertred {
    max-height: 40px;
    width: 100%;
}

