@font-face {
    font-family: 'CPMono_v07';
    src: url('/fonts/CPMono_v07 Plain.otf') format('opentype');
    font-weight: normal;
}

@font-face {
    font-family: 'CPMono_v07';
    src: url('/fonts/CPMono_v07 Bold.otf') format('opentype');
    font-weight: bold;
}

:root {
    --color-bg: #020402;
    --color-text: #c5efcb;
    --color-muted: #758173;
    --color-secondary: #a9c5a0;
    --color-subtle: #c6dec6;
    --color-link: #00af5f;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    margin: 0;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/background.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.about {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s, transform 0.8s;
}

.about.visible {
    opacity: 1;
    transform: translateY(0);
}

.panel {
    background-color: color-mix(in srgb, var(--color-bg) 50%, transparent);
    padding: 4vh 5vw;
    width: 60vw;
    box-sizing: border-box;
    border-left: 6px solid var(--color-muted);
    font-family: 'CPMono_v07', monospace;
}

@media (max-width: 600px) {
    .panel {
        width: 100vw;
        padding: 3vh 4vw;
        box-sizing: border-box;
        font-size: 0.8rem;
    }

}

.shell-line {
    color: var(--color-text);
    margin: 0.2rem 0;
}

.prompt {
    color: var(--color-secondary);
    margin-right: 0.5rem;
}

.shell-output {
    color: var(--color-subtle);
    margin: 0.5rem 0 1rem 0;
    padding-left: 1rem;
}

.shell-output pre {
    white-space: pre;
    overflow-x: auto;
    margin: 0;
    font-family: inherit;
    font-size: inherit;
}

.ll-dir {
    color: var(--color-link);
}

.glow-link-text {
    font-weight: bold;
    color: var(--color-link);
    text-decoration: none;
}

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

.glow-link-url {
    color: var(--color-secondary);
    text-decoration: underline;
}

.glow-code {
    color: var(--color-secondary);
    background-color: var(--color-bg);
}

.glow-h1 {
    font-weight: bold;
    color: var(--color-text);
    background-color: var(--color-muted);
}

.glow-h2 {
    font-weight: bold;
    color: var(--color-secondary);
}

.cursor {
    animation: blink 1s step-end infinite;
}

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

.icon {
    position: fixed;
    bottom: 3vh;
    right: 3vh;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    opacity: 0.3;
    transition: opacity 0.2s;
}

.icon:hover {
    opacity: 0.7;
}
