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

::selection {
    background: rgba(173, 216, 230, 0.3);
    color: #ffffff;
}
::-moz-selection {
    background: rgba(173, 216, 230, 0.3);
    color: #ffffff;
}

body {
    font-family: 'JetBrains Mono', 'SF Mono', 'Menlo', monospace;
    background: #000000;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
    min-height: 100vh;
    overflow: hidden;
}

.terminal {
    position: fixed;
    width: min(90vw, 900px);
    padding: 20px;
    border: 1px solid #555;
    border-radius: 10px;
    background: #000000;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: -20px -20px 20px -20px;
    padding: 12px 16px;
    border-bottom: 1px solid #555;
    border-radius: 10px 10px 0 0;
    background: #1a1a1a;
    cursor: grab;
    user-select: none;
}

.terminal-header:active {
    cursor: grabbing;
}

.terminal-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    display: block;
}

.terminal-dot.red {
    background: #ff5f56;
    cursor: pointer;
}

.terminal-dot.yellow {
    background: #ffbd2e;
}

.terminal-dot.green {
    background: #27c93f;
}

.terminal-title {
    flex: 1;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    color: #ffffff;
    margin-right: 35px;
}

.last-login {
    color: #ffffff;
    margin-bottom: 12px;
}

.prompt-host {
    color: #ffffff;
}

.prompt-path {
    color: #ffffff;
}

.prompt-symbol {
    color: #ffffff;
}

.cmd {
    color: #ffffff;
}

.output {
    color: #ffffff;
    margin-top: 4px;
}

.output p {
    margin: 0;
}

.pct {
    background: #ffffff;
    color: #000000;
    font-weight: 700;
}

.pct::selection {
    background: transparent;
    color: #000000;
}
.pct::-moz-selection {
    background: transparent;
    color: #000000;
}

.link {
    color: #ffffff;
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

.cursor-blink {
    display: inline-block;
    width: 8px;
    height: 17px;
    background: #ffffff;
    animation: blink 1s step-end infinite;
    vertical-align: middle;
}

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

@media (max-width: 768px) {
    body {
        font-size: 12px;
    }

    .terminal {
        width: 95vw;
        padding: 14px;
    }

    .terminal-header {
        margin: -14px -14px 14px -14px;
        padding: 10px 12px;
    }

    .terminal-title {
        font-size: 11px;
        margin-right: 28px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 11px;
    }

    .terminal {
        width: 98vw;
        padding: 10px;
    }

    .terminal-header {
        margin: -10px -10px 10px -10px;
        padding: 8px 10px;
    }

    .terminal-title {
        font-size: 10px;
        margin-right: 24px;
    }

    .cursor-blink {
        width: 6px;
        height: 14px;
    }
}
