/* tg.gigaportal.pl — linux console */

:root {
    --bg: #000000;
    --fg: #d0d0d0;
    --green: #00aa00;
    --red: #ff5555;
}

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

html,
body {
    min-height: 100vh;
}

body {
    background: var(--bg);
    color: var(--fg);
    font-family: "DejaVu Sans Mono", "Liberation Mono", ui-monospace, Menlo, Consolas, monospace;
    font-size: clamp(0.9rem, 2.2vw, 1.05rem);
    line-height: 1.6;
}

.console {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 1.2rem 1.4rem;
}

.prompt {
    color: var(--green);
    margin-right: 0.6em;
}

.err {
    color: var(--red);
}

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

.cursor {
    display: inline-block;
    width: 0.6em;
    height: 1.1em;
    margin-left: 0.2em;
    background: var(--fg);
    vertical-align: text-bottom;
    animation: blink 1.1s steps(1) infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .cursor {
        animation: none;
    }
}
