body 
{
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #1C1C1E; /* Deep Charcoal */
    color: #A4FF8D; /* Soft Lime */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Navbar Styles */
.navbar 
{
    display: flex;
    flex-direction: column; /* Stack the header and nav-links vertically */
    align-items: center;
    justify-content: center; /* Center the navigation links */
    background-color: rgba(46,46,46, 0.5); /* Slate Gray */
    color: #A4FF8D; /* Soft Lime */
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container h1 
{
    margin: 0;
    font-size: 1.5em;
    text-align: center;
}

.nav-links 
{
    display: flex;
    gap: 20px;
    margin-top: 10px; /* Add spacing between header and nav-links */
}

.nav-links a 
{
    color: #A4FF8D;
    text-decoration: none;
}

.nav-links a:hover 
{
    color: #39FF14; /* Neon Green */
}

/* Hamburger Menu Styles */
.hamburger-menu 
{
    display: none; /* Hidden on larger screens */
    position: absolute; /* Position it independently of the centered content */
    z-index: 500; /* Bring it above other elements */
    left: 20px; /* Align it to the left */
    background: none;
    border: none;
    font-size: 1.5em;
    color: #A4FF8D;
    cursor: pointer;
}

/* Mobile Sidebar Styles */
.mobile-sidebar 
{
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    background-color: rgba(96, 96, 96, 0.9); /* Graphite */
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    z-index: 200;
    overflow-y: auto;
}

.mobile-sidebar a {
    display: block;
    margin: 10px 0;
    color: #A4FF8D;
    text-decoration: none;
}

.mobile-sidebar a:hover {
    color: #39FF14; /* Neon Green */
}

.close-sidebar {
    background: none;
    border: none;
    font-size: 1.5em;
    color: #A4FF8D;
    cursor: pointer;
    margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) 
{
    .nav-links 
    {
        display: none; /* Hide nav links on mobile */
    }

    .header-container 
    {
        justify-content: space-between; /* Align header and hamburger */
    }

    .hamburger-menu 
    {
        display: block; /* Show hamburger menu */
    }
}
#matrix 
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1; /* Places it behind other content */
}

/* Expanded State (for larger screens or expanded sidebar) */
.sidebar-expanded #sidebarContent 
{
    display: block;
}

@media (max-width: 768px) 
{
    .sidebar 
    {
        width: 80px; /* Shrink the sidebar when collapsed */
    }

    .sidebar-expanded 
    {
        width: 200px; /* Expand the sidebar when content is shown */
    }

    .main-content 
    {
        margin-left: 0; /* Adjust main content to take full width */
        padding: 10px;
    }
}

body 
{
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

.main-content, .sidebar 
{
    word-wrap: break-word; /* Break long words or URLs */
    overflow-wrap: break-word;
}

a 
{
    color: #39FF14; /* Neon Green */
    text-decoration: none;
}

a:hover 
{
    color: #A4FF8D; /* Soft Lime */
}

.screenshot-grid 
{
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    gap: 20px; /* Space between the images */
    justify-content: center; /* Center the grid horizontally */
    align-items: start; /* Center the grid vertically */
    margin: 20px auto; /* Add margin for spacing */
    max-width: 1000px; /* Restrict grid width */
}

.screenshot-panel 
{
    display: flex;
    flex-direction: column; /* Stack image and text vertically */
    align-items: center; /* Center content horizontally within each panel */
    justify-content: flex-start; /* Align items at the top of each panel */
    text-align: center;
    min-height: 400px; /* Set consistent height for each panel */
    padding: 10px;
    box-sizing: border-box;
}

.screenshot-grid img 
{
    max-width: 100%; /* Ensure images don't overflow their container */
    width: 800px;
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px; /* Optional: round the corners */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); /* Optional: add a shadow */
}

.panel-description 
{
    margin-top: 10px;
    font-size: 0.9em;
    color: #A4FF8D; /* Soft Lime */
}

.lightbox 
{
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Black background with opacity */
    justify-content: center;
    align-items: center;
}

.lightbox-content 
{
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.lightbox-close 
{
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
}

.lightbox-close:hover 
{
    color: #A4FF8D; /* Match your theme */
}

.sidebar 
{
    position: sticky;
    top: 30%;
    width: 200px;
    background-color: #606060;
    color: #A4FF8D;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 2px 0px 5px rgba(0, 0, 0, 0.5);
}

/* Sidebar Toggle Button */
.sidebar-toggle 
{
    background-color: #2E2E2E;
    color: #A4FF8D;
    border: none;
    padding: 10px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
}

/* Hidden Sidebar Content (Collapsed State) */
#sidebarContent 
{
    display: none; /* Hide sidebar content initially */
}

.staticPanel
{
    background-color: #606060; /* Graphite */
    color: #A4FF8D; /* Soft Lime */
    padding: 8px;
    width: 250px;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    border-radius: 10px;
    margin-left: 1px;
    margin-top: 6px;
    margin-bottom: 6px;
}

.main-content 
{
    margin-left: 10px; /* Adjust based on the sidebar width */
    margin-right: 10px;
    padding: 20px;
    text-align: center;
    background-color: rgba(28, 28, 30, 0.5); /* Match the theme */
    color: #A4FF8D; /* Match the theme */
    z-index: 1; /* Place it above the canvas */
    position: relative; /* Ensure it respects the stacking context */
}

.download-button 
{
    display: inline-block;
    padding: 10px 20px;
    margin: 20px 0;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.download-button:hover 
{
    background-color: #218838;
}

.features 
{
    margin: 20px 0;
}
.feature 
{
    margin-bottom: 20px;
}
.feature h3 
{
    color: #007bff;
    margin-bottom: 10px;
}
.feature p 
{
    margin: 0;
}

.devlog-list 
{
    max-width: 600px;
    margin: 2rem auto;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.6); /* optional background */
    border-radius: 10px;
    list-style-position: inside;
    color: white;
}

.devlog-list li 
{
    margin-bottom: 1rem;
    text-align: left;
}

.devlog-list a 
{
    color: #00ff00; /* or whatever your highlight color is */
    text-decoration: none;
}

.devlog-list a:hover 
{
    text-decoration: underline;
}