:root {
    --bg-dark: #0a0a0a;
    /* Nero profondo */
    --text-green: #00ff41;
    /* Verde Matrix classico */
    --text-dim: #008f11;
    /* Verde scuro per dettagli */
    --accent-blue: #007bff;
    /* Blu per i link file */
    --terminal-header: #333333;
    /* Grigio per la barra superiore */
    --font-mono: 'Courier New', Courier, monospace;
}

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

body {
    background-color: #1a1a1a;
    /* Sfondo esterno al terminale */
    color: var(--text-green);
    font-family: var(--font-mono);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Finestra Terminale */
.terminal-window {
    background-color: var(--bg-dark);
    width: 100%;
    max-width: 800px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
}

.terminal-header {
    background-color: var(--terminal-header);
    padding: 10px;
    display: flex;
    align-items: center;
    position: relative;
}

.buttons {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.title {
    color: #bbb;
    font-size: 12px;
    position: absolute;
    width: 100%;
    text-align: center;
    left: 0;
}

/* Contenuto */
.content {
    padding: 20px;
    font-size: 1rem;
}

.command-line {
    margin-bottom: 15px;
}

.prompt {
    color: var(--text-dim);
    font-weight: bold;
}

.typing {
    color: #fff;
}

.response {
    margin-bottom: 30px;
}

.response h1 {
    font-size: 2rem;
    margin-bottom: 5px;
}

/* Lista Progetti */
.grid {
    margin-bottom: 30px;
}

.project-item {
    margin-bottom: 8px;
}

.dir {
    color: var(--text-dim);
    margin-right: 15px;
}

.file {
    color: var(--accent-blue);
    text-decoration: none;
}

.file:hover {
    text-decoration: underline;
    background: rgba(0, 255, 65, 0.1);
}

.desc {
    color: #888;
    margin-left: 10px;
}

/* Animazione Cursore */
.cursor {
    display: inline-block;
    background-color: var(--text-green);
    width: 10px;
    height: 1.2rem;
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    from,
    to {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}