/* The alert message box */
.notification {   
    position: fixed;
    padding: 1rem;
    color: white;
    min-width: 20%;
    width: fit-content;
    height: fit-content;
    border-radius: 15px;

    top: 0;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 1rem;

    opacity: 92%;
    z-index: 5;
}

.message {
    font-weight: bold;
}

.success {
    background-color: mediumseagreen;
}

.error {
    background-color: indianred;
}

.warning {
    background-color: #ebdb34;
}

.information {
    background-color: dodgerblue;
}

/* The close button */
.closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 30px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

/* When moving the mouse over the close button */
.closebtn:hover {
    color: black;
}

.notification {
    /* Other styles for the notification */
    opacity: 1;
    transition: opacity 0.7s ease-in-out;
}
