// Variables and font definitions for cecli website

// Font face definition
@font-face {
    font-family: GlassTTYVT220;
    src: local("Glass TTY VT220"), local("Glass TTY VT220 Medium"), url(/assets/Glass_TTY_VT220.ttf) format("truetype");
}

// CSS Custom Properties (CSS Variables)
:root {
    // Color palette - Dark Mode
    --primary: #4C6EF5;
    --primary-dark: #3b5bdb;
    --secondary: #12B886;
    --dark: #F8F9FA;  // Light text on dark background
    --light: #121212; // Dark background
    --gray: #ADB5BD;
    --code-bg: #1e1e1e;
    --terminal-green: #14b014;
    
    // Typography variables
    --heading-line-height: 1.2;
    --body-line-height: 1.7;
    --paragraph-spacing: 1.6rem;
    --heading-spacing: 1.8rem;
    
    // Typographic scale
    --text-xs: 0.75rem;    // 12px
    --text-sm: 0.875rem;   // 14px
    --text-base: 1rem;     // 16px
    --text-md: 1.125rem;   // 18px
    --text-lg: 1.25rem;    // 20px
    --text-xl: 1.5rem;     // 24px
    --text-2xl: 1.875rem;  // 30px
    --text-3xl: 2.25rem;   // 36px
    --text-4xl: 3rem;      // 48px
    
    // Spacing rhythm values
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
    --space-16: 4rem;
}

// Responsive CSS variable adjustments
// Large tablets and small desktops (992px and below)
@media (max-width: 992px) {
    :root {
        --heading-line-height: 1.25;
        --body-line-height: 1.65;
        --paragraph-spacing: 1.4rem;
        --heading-spacing: 1.6rem;
    }
}

// Tablets (768px and below)
@media (max-width: 768px) {
    :root {
        // Adjust scale for mobile
        --text-4xl: 2.5rem;
        --text-2xl: 1.75rem;
        --text-xl: 1.25rem;
    }
}

// Mobile devices (576px and below)
@media (max-width: 576px) {
    :root {
        --heading-line-height: 1.3;
        --body-line-height: 1.6;
        --paragraph-spacing: 1.2rem;
        --heading-spacing: 1.4rem;
    }
}