
.popupWindow {
    /* stuff that is automatic on all content things. */
    font-family: "Share Tech Mono", monospace;
    padding: 20px;
    background-color: var(--background);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-style: normal;
    /* Locks the element relative to the browser viewport */
    position: fixed; 
    /* Positions the top-left corner exactly at the screen center */
    top: 50%;
    left: 50%;
    /* Shifts the element back by half its own width and height */
    transform: translate(-50%, -50%); 
    /* Optional: Prevents window from breaking on tiny screens */
    max-width: 90vw;
    max-height: 90vh;
    overflow: auto;
    /* position at for front */
    z-index: 999;

    /* looks */
    /*  */
    background-color: var(--backgroundB);    
    border: 2px solid var(--generic);
    border-radius: 20px;
    /* both */
    box-shadow: 
        2px 10px 20px 8px var(--accent),
        inset 2px 2px 10px 1px var(--accent)
    ;

    /* bar at top */
    .top {
        width: 100%; 
        display: flex; 
        justify-content: space-around;
        margin-bottom: 10px;
    }

    #popupContent {
        width: 100%; 
        display: flex; 
        justify-content: space-around;
    }

    /* bar at bottom */
    .foot {
        margin-top: 20px;
        width: 100%; 
        display: flex; 
        justify-content: space-around;
        
        .submitButton {
            width: 150px;
        }
        .cancelButton {
            width: 150px;
        }
    }

    /* generic list item */
    .listItem {
        /* border: 4px solid black; */
        background-color: var(--generic);
        border-radius: 10px;
        margin-bottom: 4px;
        padding: 5px;

        /* height: 30px; */
        display: flex;
        justify-content: space-between;
        align-items: center;

        flex: none;
        flex-direction: row;

    }
}


.hidden{
    display: none;
}

.blur{
    filter: blur(7px);
}