@font-face {
    font-family: 'VT323';
    src: url('/fonts/VT323-Regular.woff2') format('woff2'),
         url('/fonts/VT323-Regular.woff')  format('woff'),
         url('/fonts/VT323-Regular.ttf')   format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

body {
    margin: 0;
    padding: 8px;
    background: #0A0A0F;
    color: #4FC3F7;
    font-family: VT323, monospace;
    font-size: 16px;
    line-height: 1;
    cursor: text;
}

#screen {
    width: 80ch;
}

.line {
    display: block;
    white-space: pre-wrap;
    word-break: break-all;
    text-transform: uppercase;
    text-shadow:
        0 0 8px  rgba(79, 195, 247, 0.8),
        0 0 2px  rgba(130, 215, 247, 0.6);
}

#input-line {
    display: flex;
}

#prompt {
    white-space: pre;
    text-shadow:
        0 0 8px  rgba(79, 195, 247, 0.8),
        0 0 2px  rgba(130, 215, 247, 0.6);
    user-select: none;
}

#cmd {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #4FC3F7;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    text-shadow:
        0 0 8px  rgba(79, 195, 247, 0.8),
        0 0 2px  rgba(130, 215, 247, 0.6);
    caret-color: #4FC3F7;
    padding: 0;
    -webkit-appearance: none;
    appearance: none;
}

#cmd:disabled { opacity: 1; }
