body {
    
    margin: 0;
    font-family: Arial, sans-serif;

    background-image: url("Background.png");
    background-size: cover;          /* makes it fill screen */
    background-position: center;     /* keeps it centered */
    background-repeat: no-repeat;    /* prevents tiling */
    background-attachment: fixed;    /* optional: subtle parallax */
}

/* Main layout */
.layout {
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
}

/* Sidebar */
.sidebar {
    width: 20%;
    background: #111;
    color: white;
    padding: 30px 20px;
    min-height: 100vh;
}

.logo {
    margin-top: 0;
}

.sidebar nav {
    margin: 15px 0;
}

.sidebar nav a {
    display: block;
    text-decoration: none;
    color: #ccc;
    padding: 10px 0;
    font-size: 16px;
    transition: 0.2s;
}

.sidebar nav a:hover {
    color: white;
    transform: translateX(5px);
}

.sidebar nav a.active {
    color: white;
    font-weight: bold;
}

/* Content */
.content {
    flex: 1;
    background: black;
    padding: 0px;
}

/* Comic column */
.comic-container {
    text-align: center;
    margin-top: 10px;
}

.comic-container img {
    max-width: 700px;
    width: 70%;
    margin-top: 10px;
}

.comic-container h2 {
    margin-bottom: -30px;
}

/* Navigation buttons */
.nav-buttons {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 5px;
}

.nav-buttons a {
    margin: 5px;
    padding: 8px 16px;
    background: #222;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

.nav-buttons a:hover {
    background: #444;
}

.nav-instruction {
    text-align: center;
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
    font-style: italic;
}


/* Mobile */
@media (max-width: 768px) {
    .layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        min-height: auto;
    }

    .content {
        padding: 20px;
    }
}