*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Color Variables */
:root {
    --primary-color: #0066cc;
    --secondary-color: #004499;
    --text-color: #333;
    --text-color-light: #666;
    --link-text: #0066cc;
    --font-primary: 'Helvetica Neue', sans-serif;
    --font-code: monospace;
    --font-size-base: 14px;
    --font-size-h1: 2rem;
    --font-size-h2: 1.75rem;
    --font-size-h3: 1.5rem;
    --font-size-h4: 1.25rem;
    --font-size-h5: 1.1rem;
    --font-size-h6: 1rem;
    --primary-color: #0066cc;
    --overlay-color: rgba(0, 68, 153, 0.95);
    --menu-speed: 0.75s;

    /* Mobile font sizes */
    @media (max-width: 768px) {
        --font-size-base: 12px;
        --font-size-h1: 1.75rem;
        --font-size-h2: 1.5rem;
        --font-size-h3: 1.35rem;
        --font-size-h4: 1.2rem;
        --font-size-h5: 1.1rem;
        --font-size-h6: 1rem;
    }
}


/* Typography */
body {
    position: relative;
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-color);
    background: #F4F4F4;
    background: linear-gradient(rgba(245, 245, 245, 0.8), rgba(245, 245, 245, 0.8));
    background-image: url('/assets/img/background.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: local;
    width: 100vw;
    margin: 0px;
    -webkit-text-size-adjust: 100%; // 4
    -ms-text-size-adjust: 100%; // 4
    -ms-overflow-style: scrollbar; // 5
    -webkit-tap-highlight-color: rgba($default-color, 0); // 6
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0.5rem;
    margin-bottom: 0.5em;

}

h1 {
    font-size: var(--font-size-h1);
}

h2 {
    font-size: var(--font-size-h2);
}

h3 {
    font-size: var(--font-size-h3);
}

h4 {
    font-size: var(--font-size-h4);
}

h5 {
    font-size: var(--font-size-h5);
}

h6 {
    font-size: var(--font-size-h6);
}

p {
    margin: 0px;
}

a {
    cursor: pointer;
    color: var(--link-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

blockquote {
    font-style: italic;
    border-left: 4px solid #ddd;
    padding-left: 1em;
    margin-left: 0;
}

code,
pre {
    font-family: var(--font-code);
    background-color: #f5f5f5;
    border-radius: 3px;
}

code {
    padding: 0.2em 0.4em;
}

pre {
    padding: 1em;
    overflow: auto;
}

img {
    width: 100%;
    object-fit: contain;
}

/* Responsive Visibility Classes */
.mobile-hide {
    display: block;
}

.mobile-show {
    display: none;
}

@media (max-width: 768px) {
    .mobile-hide {
        display: none;
    }

    .mobile-show {
        display: block;
    }
}

.desktop-hide {
    display: none;
}

.desktop-show {
    display: block;
}

@media (min-width: 769px) {
    .desktop-hide {
        display: block;
    }

    .desktop-show {
        display: none;
    }
}
