/*
 * CSS style script for LLGL webpage
 * Generated by Gemini 3 Flash
 */

:root {
    --bg-color: #ffffff;
    --text-main: #2d3436;
    --text-muted: #636e72;
    --accent-color: #0984e3;
    --accent-hover: #74b9ff;
    --border-color: #dfe6e9;
    --code-bg: #f1f2f6;
    --max-width: 900px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-color);
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers the main container */
}

/* Layout Container */
.page-wrapper {
    width: 100%;
    max-width: var(--max-width);
    padding: 2rem 1.5rem;
    box-sizing: border-box;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Rounded Button Links */
a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Applying button style to navigation or specific links */
/* If you want ALL links to be buttons, use 'a'. 
   Usually, it's better to target nav links: */
.nav-link, .sidebar a {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    margin: 0.2rem 0;
    background-color: var(--code-bg);
    color: var(--text-main);
    border-radius: 50px; /* Makes it a pill shape */
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid transparent;
}

.nav-link:hover, .sidebar a:hover {
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Mobile Friendly Centering */
.content {
    text-align: left; /* Keeps prose left-aligned */
    width: 100%;
}

img, video, canvas {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Footer Styling */
footer {
    margin-top: auto;
    padding: 3rem 0 1.5rem 0;
    border-top: 1px solid var(--border-color);
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

footer a {
    font-weight: 600;
    color: var(--text-main);
}

/* Code Blocks */
pre {
    background: var(--code-bg);
    padding: 1.25rem;
    border-radius: 12px;
    overflow-x: auto;
    border: 1px solid var(--border-color);
}
