@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;700&display=swap');

body {
    font-family: 'Roboto Mono', monospace;
    background-color: #000;
    color: #eee;
}

#matrix-canvas {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

.glow {
    color: #0f0;
    text-shadow: 0 0 2px #0f0, 0 0 5px #0f0, 0 0 10px #0f0;
}

.intro-text-fill-black {
    color: #000;
    text-shadow: 0 0 2px #0f0, 0 0 5px #0f0, 0 0 10px #0f0;
}

.terminal-prompt .glow {
    text-shadow: 0 0 5px #0f0, 0 0 10px #0f0;
}

#terminal-input {
    caret-color: #0f0;
}

#terminal-input:focus {
    box-shadow: none;
    outline: none;
}

#terminal-output > div {
    white-space: pre-wrap;
    word-wrap: break-word;
    padding-bottom: 10px;
}

/* Blinking cursor effect for intro */
.intro-cursor::after {
    content: '█';
    font-size: 1em;
    color: #0f0;
    animation: blink 0.55s step-end infinite;
    margin-left: 0.5rem;
}

/* Blinking cursor effect */
.terminal-prompt::after {
    content: '█';
    font-size: 1em;
    color: #0f0;
    animation: blink 1s step-end infinite;
    margin-left: 0.5rem;
}

@keyframes blink {
    from, to {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    #terminal {
        padding: 2px;
    }
}
