.alert-area {
    max-height: 100%;
    position: absolute;
    z-index: 4;
    float: left;
    left: 50%;
    top: 100px;
    transform: translate(-50%, -50%);
}

.alert {
    padding: 20px;
    color: white;
    margin-bottom: 15px;
    background-color: var(--alert-valid);
    min-width: 300px;
    border-radius: 3px;

    cursor: pointer;

    box-shadow: 4px 4px 0px 0px rgba(0,0,0,0.75);

    transition: visibility 0s, opacity 0.5s linear;
}

.alert.error {
    background-color: var(--alert-error);
}

.alert.warning {
    background-color: var(--alert-warning);
}

.closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

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