/* message and loading icon */

#message {
    padding: 1rem;
    position: relative;
    
    display: none;
    align-items: center;
    gap: 1rem;
    
    background-color: var(--grey);
    border: 2px solid var(--light-grey);
    border-radius: 1rem;
}

#message > svg {
    width: 30px;
    min-width: 30px;
    
    height: 30px;
    min-height: 30px;
}

#message.error {
    background-color: var(--red);
    border: 2px solid var(--red);
}

#text {
    color: var(--white);
    font-family: 'Patua One', serif;
    font-size: 1.25rem;
    font-weight: bold;
}

#dismiss-message-btn {
    margin: 0;
    padding: 0;
    
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    
    width: max-content;
    height: max-content;
    
    display: flex;
    justify-content: center;
    align-items: center;
    
    border: none;
    background-color: var(--red);
    border-radius: 50%;
    cursor: pointer;
}