/* Mobile Styles */
@media (max-width: 768px) {
    .container {
        flex-direction: column; /* Stack sidebar and content vertically */
    }
    .sidebar .desktop {
        display: none; /* Hide mobile nav on desktop */
    }
    .sidebar {
        width: 100%; /* Full width on mobile */
        max-width: 300px; /* Set a maximum width to prevent it from becoming too narrow */
        height: 100%; /* Full viewport height */
        padding: 50px; /* Increase padding for better visibility */
        position: absolute; /* Ensure it's positioned properly */
        top: 0;
        left: 0;
        right: 0;
        display: none; /* Hide by default */
        background-color: #2b2c30c4; /* Dark background for sidebar */
        z-index: 1000; /* Ensure it appears on top */
        overflow-y: auto; /* Add scrolling if content overflows */
        font-size: 2.5rem;
    }

    .sidebar.active {
        display: block; /* Show when active */
    }

    .menu-button {
        display: block; /* Show hamburger menu button */
        cursor: pointer;
        padding: 10px;
        background-color: #2b2c30; /* Button background */
        color: #fff; /* Button text color */
        border: none;
        font-size: 1.5rem;
        text-align: center;
        position: absolute; /* Position it absolutely */
        top: 10px; /* Adjust as needed */
        right: 10px; /* Adjust as needed */
        z-index: 1001; /* Ensure it’s above other elements */
        border-radius: 50%; /* Make the button fully round */
    }

    .menu-button::before {
        content: "\2630"; /* Unicode character for hamburger icon */
    }

    .sidebar ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
        margin: 0;
        list-style-type: none;
    }

    .sidebar ul li {
        margin: 10px 0;
    }

    .sidebar ul li a {
        color: #fff; /* Link color in sidebar */
        text-decoration: none;
    }

    .grid-container {
        margin-top: 5%;
        display: block;
        padding: 10px;
    }

    .logo img {
        width: 50vw;
    }

    .header {
        text-align: center;
        font-size: 2rem;
    }

    .updates, .about, .fanart {
        margin-bottom: 20px;
        text-align: center;
    }

    .fanart img {
        width: 100%;
        height: auto;
    }
    .nash, .nicky, .lavender, .odie, .anthony, .jordan {
        margin-bottom: 20px;
        text-align: center;
    }
    footer.main-footer {
        position: static;
        padding: 10px;
        background-color: #000;
        color: #fff;
        text-align: center;
    }

    footer.main-footer .footer-links a {
        margin: 0 5px;
        font-size: 1.2rem;
    }
}
