html,
body{
    margin:0;
    width:100%;
    height:100%;
    background:#000;
    overflow:hidden;
}

body {
    margin: 0;
    background: black;
    overflow: hidden;
    font-family: "Perfect DOS VGA 437", monospace;
}
#boot {
    position: fixed;
    inset: 0;
    padding: 18px;
    color: #bfbfbf;
    white-space: pre-wrap;
    z-index: 1;
}
#terminal {
    position: fixed;
    inset: 0;
    padding: 18px;
    background: black;
    color: #bfbfbf;
    overflow-y: auto;
    box-sizing: border-box;
    z-index: 2;
}
.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
}
#gameContainer {
    position: fixed;
    inset: 0;
    background: black;
    z-index: 999;
}

#gameFrame {
    width: 100%;
    height: 100%;
    border: none;
}

.hidden {
    display: none;
}
#windowControls {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 10000;
}

#closeBtn {
    width: 28px;
    height: 28px;
    background: #bfbfbf;
    color: black;
    font-family: monospace;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
}

#closeBtn:hover {
    background: white;
}
#console {
    white-space: pre-wrap;
    margin: 0;
    padding: 0;
}
#screen{
    box-sizing:border-box;
    width:100vw;
    height:100vh;
    padding:18px;
}

#output{
    margin:0;
    white-space:pre-wrap;
}

.cursor{
    animation:blink 1s infinite;
}

@keyframes blink{
    50%{
        opacity:0;
    }
}
.hidden {
    display: none;
}
.blue{
    color:#4aa8ff;
}

.green{
    color:#00ff66;
}

.yellow{
    color:#ffff66;
}

.red{
    color:#ff4444;
}