:root {
    --bg-color: #0d1117;
    --terminal-bg: #0c0c0c;
    --text-color: #00ff41;
    --dim-color: #008F11;
    --error-color: #ff0000;
    --font-family: 'Courier New', Courier, monospace;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    margin: 0;
    padding: 20px;
    height: 100vh;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.terminal-window {
    width: 900px;
    max-width: 100%;
    height: 600px;
    background-color: var(--terminal-bg);
    border: 2px solid var(--dim-color);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.terminal-header {
    background-color: var(--dim-color);
    color: #000;
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 14px;
}

.terminal-body {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
    font-size: 16px;
    position: relative;
}

/* Scanline Effect */
.scanline {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, 0) 50%,
            rgba(0, 0, 0, 0.1) 50%,
            rgba(0, 0, 0, 0.1));
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 10;
}

/* Typing Animation Classes */
.line {
    display: block;
    margin-bottom: 5px;
    opacity: 0;
    /* Hidden by default */
    animation: fadeIn 0.1s forwards;
}

.prompt {
    color: #50fa7b;
    font-weight: bold;
}

.command {
    color: #f8f8f2;
}

.output {
    color: var(--text-color);
    white-space: pre-wrap;
}

.highlight {
    color: #f1fa8c;
    font-weight: bold;
}

.cursor {
    display: inline-block;
    width: 10px;
    height: 18px;
    background-color: var(--text-color);
    animation: blink 1s infinite;
    vertical-align: middle;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

a {
    color: #8be9fd;
    text-decoration: none;
    border-bottom: 1px dotted #8be9fd;
}

a:hover {
    background-color: #8be9fd;
    color: #000;
}

/* Ascii Art Layout */
.ascii-art {
    font-size: 10px;
    line-height: 10px;
    margin-bottom: 20px;
    color: var(--dim-color);
}