:root {
    --bg-color: #000000;
    --text-color: #00ff00;
    --error-color: #ff0000;
    --link-color: #00ffff;
    --prompt-color: #00ff00;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
    line-height: 1.5;
    height: 100vh;
    overflow: hidden;
}

#terminal {
    width: 100%;
    height: 100vh;
    padding: 20px;
    overflow-y: auto;
}

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

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

#prompt {
    color: var(--prompt-color);
    margin-right: 5px;
}

#input-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
    position: relative;
}

#input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-color);
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
    width: 100%;
    caret-color: transparent;
}

.error {
    color: var(--error-color);
}

a {
    color: var(--link-color);
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

#cursor {
    display: inline-block;
    width: 10px;
    height: 18px;
    background-color: var(--text-color);
    animation: blink 1s infinite;
    position: absolute;
    left: 0;
}

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

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    #input {
        font-size: 14px;
    }
    
    #terminal {
        padding: 10px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    body {
        font-size: 15px;
    }
    
    #input {
        font-size: 15px;
    }
}
