html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    background: #050505;
    color: #66ff66;
    /*font-family: "Courier New", Courier, monospace;*/
	font-family: monospace;
    font-size: 16px;
    line-height: 1.45;
    padding: 24px 18px 80px;
    text-shadow: 0 0 4px rgba(102, 255, 102, 0.25);
}

a {
    color: #00ff88;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.terminal-shell {
    max-width: 860px;
}

#terminal-output {
    display: block;
}

#terminal-output pre,
.prompt-line,
.ascii-header,
.placeholder-block div,
.counter-value,
.section-title,
.tagline,
.normal-line,
.command-form {
    white-space: pre-wrap;
    word-break: break-word;
}

#terminal-output pre {
    margin: 0;
}

.prompt-line {
    margin: 0 0 18px;
    color: #4ade80;
}

.secondary-line {
    opacity: 0.7;
}

.command-line {
    color: #8cff8c;
}

.command-echo {
    margin-top: 0;
    margin-bottom: 0;
}

.spacer-line {
    height: 18px;
}

.ascii-header {
    margin: 0 0 16px;
    color: #7dff7d;
    font-size: 12px;
    line-height: 1.2;
    overflow-x: auto;
}

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

.tagline {
    margin: 10px 0 34px;
}

.placeholder-block,
.counter-block {
    margin-bottom: 34px;
}

.section-title {
    margin-bottom: 10px;
    text-transform: lowercase;
}

.section-title::before {
    content: "> ";
}

.typed-title::before {
    content: "";
}

.placeholder-block div,
.counter-value,
.normal-line {
    margin: 4px 0;
}

.command-form {
    display: flex;
    align-items: baseline;
    gap: 0;
    margin-top: 0;
    position: relative;
}

.command-label {
    color: #8cff8c;
    flex: 0 0 auto;
    margin-right: 8px;
}

.command-display {
    display: inline;
    white-space: pre-wrap;
    word-break: break-word;
    color: #66ff66;
    text-shadow: 0 0 4px rgba(102, 255, 102, 0.25);
    min-width: 1ch;
}

.command-display::after {
    content: "_";
    display: inline;
    animation: blink 1s step-end infinite;
}

.command-input {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 1px;
    border: 0;
    outline: 0;
    padding: 0;
    background: transparent;
    color: transparent;
    caret-color: transparent;
    opacity: 0;
    pointer-events: none;
}

.hidden-until-ready {
    display: none;
}

@media (max-width: 640px) {
    body {
        padding: 18px 14px 64px;
        font-size: 15px;
    }

    .ascii-header {
        font-size: 9px;
    }

    .command-label {
        margin-right: 6px;
    }
}
