* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: black;
    color: green;
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 20px;
}

.terminal {
    background-color: black;
    border: 1px solid #333;
    width: 80%;
    max-width: 800px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    margin: auto;
}

.terminal-header {
    background-color: #333;
    padding: 10px;
    color: white;
    text-align: center;
    font-weight: bold;
}

.terminal-body {
    padding: 10px;
}

.prompt {
    color: green;
}

.command {
    color: white;
}

.output {
    color: green;
}

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

#user-input {
    outline: none;
    white-space: pre;
    min-width: 1ch;
    color: white;
    caret-color: transparent;
}

.cursor {
    display: inline-block;
    width: 10px;
    height: 20px;
    background-color: green;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    from, to {
        background-color: green;
    }
    50% {
        background-color: black;
    }
}

footer {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 14px;
    margin-top: 20px;
}

footer a {
    color: green;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

