.notifications {
    position: absolute;
    width: 100vw;
    z-index: 3;
    top: 30px;
}

.notification {
    background-color: #fff;
    width: 80vw;
    padding: 10px 0;
    margin-bottom: 15px;
    margin-inline: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: max(16px, 1vw);
    position: relative;
}

.container-info {
    background-color: #2196f3;
    color: #ffffff;
}

.container-warning {
    background-color: #ff9800;
}

.container-error {
    background-color: #f44336;
    color: #ffffff;
}

/* Making sure the icons grow size with the relative fontsize */
.material-symbols-outlined:is(.icon-info, .icon-warning, .icon-error, .notification-close) {
    font-size: 1em;
}

.notification p {
    flex-grow: 1;
}

.notification a {
    flex-grow: 1;
    color: inherit;
}

.notification span {
    flex-basis: 100px;
}

.notification-close {
    cursor: pointer;
}

.time-bar {
    height: 10px;
    z-index: 4;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}