#chartGrid {
    display: flex;
 }
 .chart-container {
    display: flex;
    gap: 20px; 
    margin: 20px 0;
 }
 .chart-container figure {
    flex: 1;
    min-width: 0;
 }
 
 /* Base styles */
 :root {
    --background-primary: #0a0a0a;
    --background-secondary: #171717;
    --accent-grey: #a8a8a8;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --card-gradient-start: rgba(168, 168, 168, 0.1);
    --card-gradient-end: rgba(30, 30, 46, 0.4);
    --max-content-width: 1300px;
    --surface-glow: rgba(255, 255, 255, 0.1);
 }
 
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
 }
 
 body {
    background-color: var(--background-primary);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    margin: 0;
    padding: 2rem;
    line-height: 1.5;
    min-height: 100vh;
 }
 
 /* Navigation */
 nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(23, 23, 23, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    margin: 0 auto 4rem auto;
    max-width: var(--max-content-width);
 }
 
 .logo {
    font-weight: normal;
    font-size: 1.5rem;
 }
 
 .nav-links {
    display: flex;
    gap: 1rem;
 }
 
 .nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.2rem;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    transition: all 0.2s ease;
 }
 
 .nav-links a:hover {
    box-shadow: 0 0 30px var(--surface-glow);
    transform: translateY(-1px);
    text-decoration: none;
 }
 
 /* Container for all content */
 .content-container {
    width: 100%;
    max-width: var(--max-content-width);
    margin: 0 auto;
    position: relative;
 }
 
 /* Glow Effect */
 .glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: var(--accent-grey);
    filter: blur(150px);
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
 }
 
 /* Header styles */
 h1.big {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--text-primary), var(--accent-grey));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
 }
 
 h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: normal;
    text-align: center;
 }
 
 h3.small {
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
 }
 
 /* Sections and Charts */
 section {
    background: var(--background-secondary);
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem auto;
    width: 100%;
    max-width: var(--max-content-width);
    box-shadow: 0 0 20px var(--surface-glow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
 }
 
 section:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--surface-glow);
 }
 
 .chart-description {
    background: linear-gradient(135deg, var(--card-gradient-start), var(--card-gradient-end));
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    text-align: center;
 }
 
 .chart-description h2 {
    margin-top: 0;
    font-size: 1.8rem;
 }
 
 .chart-description p {
    color: var(--text-secondary);
    margin: 0 auto;
    font-size: 1rem;
    max-width: 600px;
 }
 
 /* Chart containers */
 figure {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0.75rem;
    padding: 1rem;
    margin: 0 auto;
    min-height: 300px;
    width: 100%;
    max-width: 800px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
 }
 
 /* Images */
 img {
    max-width: 100%;
    height: auto;
    margin: 1rem auto;
    display: block;
 }
 
 /* Vega-Lite chart customization */
 .vega-embed {
    width: 100%;
    background: transparent;
    display: flex;
    justify-content: center;
 }
 
 .vega-embed .vega-actions {
    display: none;
 }
 
 /* Animation for loading states */
 @keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
 }
 
 figure:empty {
    animation: pulse 2s infinite ease-in-out;
 }
 
 /* Responsive design */
 @media (max-width: 968px) {
    :root {
        --max-content-width: 95%;
    }
    
    body {
        padding: 1rem;
    }
 
    nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
 
    .nav-links {
        width: 100%;
        justify-content: center;
    }
 
    h1.big {
        font-size: 2rem;
    }
 
    section {
        padding: 1.5rem;
        margin: 1rem auto;
    }
    
    .chart-description {
        padding: 1rem;
    }
 }
 
 /* Chart Grid Layout */
 #chartGrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2rem auto;
    width: 100%;
    max-width: var(--max-content-width);
 }
 
 /* Dropdown selector customization */
 .stock-selector-container {
    margin: 20px 0;
    padding: 15px;
    background: #202023;
    border-radius: 8px;
 }
 
 #stockSelector {
    padding: 12px 20px;
    font-size: 16px;
    color: #fff;
    background: #2d2d2d;
    border: 2px solid #404040;
    border-radius: 8px;
    cursor: pointer;
    width: 250px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg width='14' height='8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    transition: all 0.2s ease;
 }
 
 #stockSelector:hover {
    background-color: #202023;
    border-color: #202023;
 }
 
 #stockSelector:focus {
    outline: none;
    border-color: #0066ff;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.25);
 }
 
 #stockSelector option {
    background: #202023;
    color: #fff;
    padding: 12px;
 }
 
 /* Links and References */
 p a {
    color: var(--text-secondary);
    text-decoration: none;
 }
 
 p a:hover {
    text-decoration: underline;
 }
 
 .references {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
 }
 
 ul {
    list-style-type: none;
    padding: 0;
    text-align: center;
 }
 
 ul li {
    margin: 0.5rem 0;
 }
 
 ul li a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: text-decoration 0.2s ease, color 0.2s ease;
 }
 
 ul li a:hover {
    text-decoration: underline;
 }
 #Location8 .vega-embed {
    position: static !important;
    padding-right: 0 !important;
    width: 100% !important;
}
.side-by-side-images {
    display: flex; /* Use flexbox layout */
    justify-content: space-between; /* Add space between images */
    gap: 20px; /* Add space between the images */
}

.side-by-side-images img {
    max-width: 48%; /* Make sure images fit within the container */
    height: auto; /* Maintain aspect ratio */
}
@font-face {
   font-family: 'Segoe UI';
   src: url('assets/fonts/SegoeUI.woff2') format('woff2'),
        url('assets/fonts/SegoeUI.woff') format('woff'),
        url('assets/fonts/SegoeUI.ttf') format('truetype');
   font-weight: normal;
   font-style: normal;
}