
#console, #console * {
    font-family: Hack, 'mono', monospace;
}

#console {
    white-space: pre;
    line-height: 1.2;
    word-break: break-word;
    word-wrap: break-word;
    hyphens: auto;
    text-align: left;
    color: lightgray;
    position: absolute;
    display: flex;
    flex-direction: column-reverse;
    overflow-wrap: break-word;
    overflow-y: scroll;
    left:0;
    top: 0;
    bottom: 0;
    right: 0;
    pointer-events: none;
    padding-bottom: calc(10vh);
}

#console pre {
    font-size: 14px;
    margin: 0;
    padding: 0;
    pointer-events: all;
    padding-left: 20vw;
    padding-right: 20vw;
    white-space: break-spaces;
}

#console pre:first-child::after {
    content: '';
    display: inline-block;
    border-left: 0.1em solid lightgray;
    width: 0.5em;
    height: 1.2em;
    position: relative;
    top: 0.2em;
    animation: blink 1s infinite step-end;
}

@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    51% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}