/* Main CSS file - Global styles and imports */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Silkscreen:wght@400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

/* Import component styles */
@import '_header.css';
@import '_blog.css';
@import '_log.css';

/* Global Variables */
:root {
    --bg-primary: #0F0F0F;
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --accent-orange: #FFA500;
    --font-pixel: 'Silkscreen', monospace;
    --font-readable: 'Inter', sans-serif;
    --border-subtle: rgba(255, 255, 255, 0.3);
    --hover-bg: rgba(255, 255, 255, 0.1);
}

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

/* Base Body Styles */
body {
    background-color: var(--bg-primary);
    font-family: var(--font-pixel);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: font-family 0.3s ease;
}

/* Font Toggle Support */
body.readable-font {
    font-family: var(--font-readable);
}

body.readable-font h1,
body.readable-font h2,
body.readable-font h3,
body.readable-font .nav-link,
body.readable-font #font-switch {
    font-family: var(--font-readable);
    font-weight: 600;
}

/* Custom Checkbox Styles */
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    margin-right: 0.3rem;
    flex-shrink: 0;
}

input[type="checkbox"]:checked::before {
    content: 'x';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    font-family: var(--font-pixel);
}

input[type="checkbox"]:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

/* Utility Classes */
.hidden {
    opacity: 0;
}

.screen {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: flex-start;
    align-items: flex-start;
}

.screen.active {
    display: flex;
}

/* Container Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}