* {
    margin: 0;
    padding: 0;
}

html,
body {
    overflow: hidden;
}

.webgl {
    position: fixed;
    top: 0;
    left: 0;
    outline: none;
}

.jitter {
    animation-duration: 0.3s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-name: jittery;
    z-index: -10;
}

.interface-wrapper {
    width: 100%;
    top: 64px;
    left: 64px;
}

.icon-control-container {
    height: 26.5px;
    width: 26.5px;
}

@media only screen and (max-width: 768px) {
    .interface-wrapper {
        width: 100%;
        top: 24px;
        left: 24px;
    }

    .icon-control-container {
        height: 19.5px;
        width: 19.5px;
    }
}

@keyframes jittery {
    10% {
        transform: translate(-0.1px, -0.15px) scale(1, 1);
    }

    20% {
        transform: translate(0.15px, 0.1px) scale(1, 1);
    }

    30% {
        transform: translate(-0.2px, -0.25px) scale(1, 1);
    }

    40% {
        transform: translate(0.05px, 0.1px) scale(1, 1);
    }

    50% {
        transform: translate(-0.025px, -0.05px) scale(1, 1);
    }

    60% {
        transform: translate(0px, 0.075px) scale(1, 1);
    }

    70% {
        transform: translate(-0.075px, -0.1px) scale(1, 1);
    }

    80% {
        transform: translate(0.075px, 0.125px) scale(1, 1);
    }

    90% {
        transform: translate(-0.125px, -0.075px) scale(1, 1);
    }

    100% {
        transform: translate(0.075px, 0.025px) scale(1, 1);
    }
}

html[data-effects="off"] .jitter { animation: none; }
html[data-effects="off"] .blinking-cursor,
html[data-effects="off"] .loading::after { animation: none; }
@media (prefers-reduced-motion: reduce) {
    .jitter, .blinking-cursor, .loading::after { animation: none; }
}
.room-controls { position: fixed; bottom: 20px; right: 20px; display: flex; gap: 8px; z-index: 10001; pointer-events: auto; }
@media (max-width: 768px), (pointer: coarse) {
    html:not([data-room-started="true"]) .room-controls { display: none; }
}
.room-controls button, .icon-control-container, .bios-start-button { color: white; background: black; font: inherit; min-height: 32px; cursor: pointer; }
.room-controls button { border: 2px solid white; padding: 8px 12px; font: 14px monospace; }
button:focus-visible, a:focus-visible { outline: 3px solid #4df4ff; outline-offset: 4px; }
@media (pointer: coarse) { .room-controls button, .icon-control-container { min-height: 44px; min-width: 44px; } }

.icon-control-container { padding: 8px; border: 0; margin-right: 4px; }

body.over-desk-shortcut { cursor: pointer; }
.desk-keyboard-shortcuts:not([hidden]) {
    position: fixed; left: 12px; bottom: 12px; z-index: 10000;
    display: flex; flex-wrap: wrap; gap: 4px; max-width: calc(100vw - 24px);
    padding: 6px; background: #202428;
}
.desk-keyboard-shortcuts:not(:focus-within) { clip-path: inset(50%); pointer-events: none; }

h1,
h2,
h3,
h4,
h5,
p {
    /* font-family: ocr-a-std, monospace; */
    font-family: monospace;
    font-weight: 400;
    font-style: normal;
    color: white;
    /* mobile friendly font size */
    font-size: 16px;
}

/* if on mobile */
@media only screen and (max-width: 768px) {
    h1,
    h2,
    h3,
    h4,
    h5,
    p {
        font-size: 10px;
    }
}

br {
    padding-top: 8px;
    padding-bottom: 8px;
    height: 16px;
}

.loading::after {
    display: inline-block;
    animation: dotty steps(1, end) 1s infinite;
    content: '';
}

@keyframes dotty {
    0% {
        content: '   ';
    }
    25% {
        content: '. ';
    }
    50% {
        content: '.. ';
    }
    75% {
        content: '...';
    }
    100% {
        content: '   ';
    }
}
.blinking-cursor {
    background-color: #fff;
    width: 0.8em;
    height: 0.15em;
    -webkit-animation: 0.65s blink step-end infinite;
    -moz-animation: 0.65s blink step-end infinite;
    -ms-animation: 0.65s blink step-end infinite;
    -o-animation: 0.65s blink step-end infinite;
    animation: 0.65s blink step-end infinite;
}

@keyframes blink {
    from,
    to {
        background-color: transparent;
    }
    50% {
        background-color: white;
    }
}

@-moz-keyframes blink {
    from,
    to {
        background-color: transparent;
    }
    50% {
        background-color: white;
    }
}

@-webkit-keyframes blink {
    from,
    to {
        background-color: transparent;
    }
    50% {
        background-color: white;
    }
}

@-ms-keyframes blink {
    from,
    to {
        background-color: transparent;
    }
    50% {
        background-color: white;
    }
}

@-o-keyframes blink {
    from,
    to {
        background-color: transparent;
    }
    50% {
        background-color: white;
    }
}

.bios-start-button {
    background-color: #000;
    border: 4px solid #fff;
    border-width: 4px 3px 4px 3px;
}

.bios-start-button p {
    box-sizing: border-box;
    padding: 8px;
}

.bios-start-button:hover p {
    background-color: #fff;
    cursor: pointer;
    color: #000;
}

/* Phosphor-green boot text; keep the original black screen and white frame. */
.startup-terminal,
.startup-terminal p,
.startup-terminal .bios-start-button {
    color: #39ff14;
}
.startup-terminal .blinking-cursor {
    background-color: currentColor;
    animation: terminal-cursor 0.65s step-end infinite;
}
@keyframes terminal-cursor {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}
.startup-terminal .bios-start-button:hover p {
    background-color: #39ff14;
    color: #000;
}
@media (forced-colors: active) {
    .startup-terminal, .startup-terminal p { color: CanvasText; }
    .startup-terminal .bios-start-button { color: ButtonText; }
    .startup-terminal .bios-start-button:hover p { color: HighlightText; background-color: Highlight; }
}

.loading-screen-header {
    padding: 48px;
}

.loading-screen-body {
    padding-left: 48px;
    padding-right: 48px;
}

.loading-screen-footer {
    padding: 48px;
    padding-bottom: 64px;
}

.info-wrapper {
    top: 64px;
    left: 64px;
}

/* if on mobile make all loading screen elements have a padding of 16 */
@media only screen and (max-width: 768px) {
    .loading-screen-header {
        padding: 16px;
    }

    .info-wrapper {
        top: 16px;
        left: 16px;
    }

    .blinking-cursor {
        background-color: #fff;
        width: 0.4em;
        height: 0.08em;
        -webkit-animation: 0.65s blink step-end infinite;
        -moz-animation: 0.65s blink step-end infinite;
        -ms-animation: 0.65s blink step-end infinite;
        -o-animation: 0.65s blink step-end infinite;
        animation: 0.65s blink step-end infinite;
    }
    
    .loading-screen-body {
        padding-left: 16px;
        padding-right: 16px;
    }

    .loading-screen-footer {
        padding: 16px;
        padding-bottom: 32px;
    }
}

.startup-terminal {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    overflow: auto;
    padding: clamp(64px, 10vh, 100px) clamp(18px, 6vw, 88px) 32px;
    background: #080b09;
    color: #b9d7ac;
    font: 16px/1.55 "Courier New", monospace;
}
.startup-terminal h1, .startup-terminal p, .startup-terminal .bios-start-button {
    font: inherit;
    color: inherit;
    margin: 0;
}
.startup-terminal h1 { font-weight: bold; color: #dcf2cd; margin-bottom: 0.4em; }
.startup-terminal h1 span { font-weight: normal; }
.startup-terminal .dos-command, .startup-terminal .dos-meter { margin-top: 1.5em; }
.dos-files { list-style: none; padding: 0; margin: 0.65em 0 0; }
.dos-files li { display: grid; grid-template-columns: 12ch minmax(0, 38ch) 3ch; gap: 1ch; }
.dos-files strong, .dos-files b { color: #dfefcf; }
.dos-message { display: grid; }
.dos-message::before, .dos-message > span { grid-area: 1 / 1; }
.dos-message::before { content: attr(data-full); visibility: hidden; }
.startup-terminal .bios-start-button {
    display: inline-flex; gap: .6ch; align-items: baseline;
    margin-top: 1em; padding: .35em .65em; border: 1px solid currentColor;
    background: transparent; cursor: pointer;
}
.startup-terminal .bios-start-button:hover, .startup-terminal .bios-start-button:focus-visible {
    color: #080b09; background: #cce5bc;
}
.bios-start-button i { width: .65ch; height: 1em; background: currentColor; align-self: center; }
@media (prefers-reduced-motion: no-preference) {
    .bios-start-button i { animation: terminal-cursor 1.2s step-end infinite; }
}
@media (max-width: 560px) {
    .startup-terminal { font-size: 14px; }
    .dos-files li { grid-template-columns: 11ch minmax(0, 1fr) 3ch; margin-bottom: .5em; }
}


/*# sourceMappingURL=main.css.map*/