html,
body {
    height: 100%;
    margin: 0;
    overflow: hidden;
    /* Prevent scrolling on the body */
}

body {
    background-color: #000;
    color: #0f0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
}

#terminal {
    padding: 10px;
    height: 100%;
    /* Use 100% of the available height */
    width: 100%;
    box-sizing: border-box;
    overflow-y: auto;
    /* Allow scrolling only within the terminal */
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
}

#output {
    white-space: pre-wrap;
}

.input-line {
    display: flex;
}

.prompt {
    margin-right: 10px;
}

#input-text {
    background-color: transparent;
    border: none;
    color: #0f0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
    outline: none;
}

#placeholder {
    color: #0f0;
    opacity: 0.5;
}

.visually-hidden {
    position: fixed;
    /* Fix position to prevent jump */
    top: 0;
    left: 0;
    opacity: 0;
    height: 0;
    width: 0;
    border: none;
}

#cursor {
    display: inline-block;
    width: 10px;
    /* Adjust width of the cursor block */
    height: 1.2em;
    /* Adjust height of the cursor block */
    background-color: #0f0;
    animation: blink 1s step-end infinite;
}

#footer {
    position: fixed;
    bottom: 10px;
    width: 100%;
    text-align: center;
    color: #0f0;
    opacity: 0.5;
    font-size: 0.8em;
    pointer-events: none;
    /* Let clicks pass through to terminal */
    z-index: 10;
}

/* Screen Reader Only - for SEO content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@keyframes blink {
    50% {
        background-color: transparent;
    }
}


.command {
    color: #0f0;
}

.response {
    color: #fff;
}

.response a {
    color: #fff;
    /* White color for links */
    text-decoration: underline;
}