.error {
    background-color: white;

    /* Place the error modal*/
    width: 60%;
    margin: auto; /* Center it */

    /* Place the text in the error */
    display: flex;
    flex-direction: column;
    
    /* Give ot a border */
    border: 1.5px solid black; 
    border-radius: 3px;
}

.error-header {
    margin-top: 2px;

    /* We display the header using a flex box*/
    display: flex;
    justify-content: flex-end;

    border-bottom: 1.5px solid black;
}

.error-header-text {
    width: 50%;

    /* Set the font size and opacity to be low-key */
    font-size: 15px;
    opacity: 0.75;
}

.error-header-close {
    float: right;

    /* This pushes the close off the edge of the box, and centers the error-header-text*/
    margin-left: 21%;
    margin-right: 1%;
}

.error-message {
    font-size: 15px;

    /* Put the error message in the right location */
    text-align: center;
    margin-top: 3px;
    margin-bottom: 3px;
    margin-right: 5px;
    margin-left: 5px;
}
