#alert-container {
    display: contents;
}

.alert {
    position: absolute;
    background-color: rgba(170, 170, 170, 1);
    border-radius: 14px;
    width: 100%;
    max-width: fit-content;
    animation: alert-fade 2s forwards;
    animation-iteration-count: 1;
    height: auto;
    top: 25%;
    padding: 10px 10px 20px 10px;
    z-index: 1;
}

.alert-title {
    width: 100%;
    height: 10%;
    border-width: 12px;
    text-align: center;
    font-style: normal;
    font-weight: bold;
}

.alert-msg {
    text-align: center;
    color: rgb(0, 0, 0);
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: pre-line;
}

@keyframes alert-fade {
    from {
        opacity: 0;
        /* Da invisibile */
    }

    to {
        opacity: 1;
        /* A visibile */
    }
}