/* Reset for clean layout */
body, h1, h2, h3, h4, h5, h6, p, ul, li, img, a {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General Body Styling */
body {
    font-family: 'Raleway', sans-serif;
    background-color: #101010;  /* Deep dark background for high contrast */
    color: #f4f4f4;  /* Light color for text */
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Header */
header {
    background-color: #1a1a1a;  /* Slightly dark gray to make it look polished */
    color: #fff;
    padding: 20px 0;  /* Reduced padding to make the header shorter */
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

header h1 {
    font-size: 2.8rem;  /* Slightly smaller font size for the title */
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #ecf0f1;
    margin-bottom: 10px;  /* Reduced margin for a more compact look */
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;  /* Reduced margin for tighter spacing */
}

nav ul li {
    font-size: 1.1rem;
}

nav ul li a {
    color: #ecf0f1;
    text-decoration: none;
    padding: 8px 16px;  /* Adjusted padding for better proportion */
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: #3498db;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    color: #fff;
    font-size: 1.8rem;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #3498db;
}

/* Main Comic Section */
main {
    padding: 40px 0;
    background-color: #121212;
}

.comic {
    text-align: center;
    padding: 30px;
    background-color: #1c1c1c;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.comic-pages {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.comic-page {
    width: auto;
    height: 90vh;
    object-fit: contain;
    border: 2px solid #333;  /* Subtle border to keep focus on content */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    font-size: 1rem;
}

footer p {
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .comic-pages {
        flex-direction: column;
    }

    .comic-page {
        max-width: 100%;
    }
}
