/* window.css */

.window {
    background-color: var(--bg-3);
    box-shadow: inset 0 0 9px var(--bg-2);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid;
    border-radius: 15px;
    min-height: 60vh;
    max-height: 60vh;
    min-width: 80vw;
    max-width: 80vw;
    overflow-x: scroll;
    overflow-y: scroll;
}

.WindowBar {
    display: block;
    position: sticky;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 20px;
    font-size: auto;
    padding: 2px;
    font-weight: 900;
    background-color: var(--bg-2);
}

.WindowContents {
    margin: 6px;
}

.CloseButton {
    display: inline-block;
    font-size: auto;
    border: 2px solid #ff0000;
    background-color: #ff0000;
    color: #ffffff;
    text-shadow: 0 0 2px #ffffff;
    border-radius: 15px;
    text-align: center;
    float: right;
    cursor: pointer;
}