* {
    font-size: 20px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    background-color: black;
    color: #00ff00;
    font-family: monospace;
    overflow: hidden;
}

.terminal {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    padding: 10px;
    overflow-y: auto;
}

.output {
    white-space: pre-wrap;
    flex-grow: 1;
    overflow-y: auto;
}

.input-line {
    display: flex;
    align-items: center;
    position: relative;
}

.prompt {
    margin-right: 5px;
}

.input-container {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

input {
    background: none;
    border: none;
    color: #00ff00;
    font-family: monospace;
    font-size: 1em;
    outline: none;
    width: 100%;
    caret-color: transparent;
}

.cursor {
    position: absolute;
    background-color: transparent;
    animation: blink 1s steps(1) infinite;
}

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

.text-mirror {
    position: absolute;
    visibility: hidden;
    white-space: pre;
    font-family: monospace;
    font-size: 1em;
}
