/* Global variables for easy theme switching */
:root {
    --bg-color: #2b2b2b;
    --text-color: #f3f3f3;
    --accent-color: #7a39db;
}

/* Base styles */
body {
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-style: light;
    color: lightgray;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 30;
    transition: background-color 0.3s, color 0.3s;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header styles */
header {
    background: linear-gradient(to bottom, #4b0082, #5d3fd3);
    color: #fff;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    width: auto;
    height: 50px;
    background-color: #ffffff00; /* Placeholder for logo */
}

.logo_img {
    max-width: 100%;
    max-height: 100%;
    /* object-fit: contain; */
}

/* Navigation styles */
nav {
    display: flex;
    align-items: center;
}

nav ul {
    list-style-type: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 1.2rem;
    margin-left: 1rem;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Main content styles */
main {
    padding: 2rem;
    max-width: 65%;
    margin: 0 auto;
    flex-grow: 1;
}

.sidebar {
    max-width: 30%;
    min-width: 20%;
    padding: 1rem;
    background-color: #333;
    color: var(--text-color);
    border-radius: 5px;
    margin-left: 2rem;
    margin-top: 20%;
    margin-bottom: auto;
}

.comic-display {
    text-align: center;
    margin-bottom: 2rem;
}

.comic-display img {
    max-width: 100%;
    height: auto;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.archive-item {
    border: 1px solid var(--accent-color);
    padding: 0.5rem;
    text-align: center;
}

.character-images {
    display: inline-flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* Footer styles */
footer {
    background: linear-gradient(to bottom, #5d3fd3, #4b0082);
    color: #f3f3f3;
    text-align: center;
    padding: 1rem;
    margin-top: auto;
}

.social-icons {
    margin-bottom: 0.5rem;
}

.social-icons a {
    color: var(--text-color);
    font-size: 1.5rem;
    margin: 0 0.5rem;
    text-decoration: none;
}

.copyright {
    font-size: 0.8rem;
}

/* Blog styles */
.blog-post {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--accent-color);
}

.blog-post h2 {
    color: var(--accent-color);
}

.blog-post-meta {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 1rem;
}

.blog-post-excerpt {
    margin-bottom: 1rem;
}

.read-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    text-decoration: underline;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    .sidebar {
        display: none;
    }
    main {
        max-width: 80%;
    }
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: var(--accent-color);
        padding: 1rem;
    }
    nav ul.show {
        display: flex;
    }
}