body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f7f6;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; -> Removed so page scrolls naturally from the top */
    min-height: 100vh; /* Changed from fixed height to min-height */
    margin: 0;
    padding: 40px 20px; /* Added padding to prevent sticking to the top/bottom edges */
}

header {
    text-align: center;
    margin-bottom: 20px;
}

main {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Navigation Styles */
nav {
    margin-top: 15px;
    font-weight: bold;
}

nav a {
    color: #00008B;
    text-decoration: none;
    padding: 0 10px;
}

nav a:hover {
    text-decoration: underline;
    color: #0000FF;
}

/* Archive List Styles */
.archive-main {
    /*align-items: flex-start;  Aligns the list to the left instead of centering */
    text-align: left;
}

.puzzle-layout {
    display: flex;
    align-items: center;
    gap: 30px;
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.puzzle-list {
    list-style-type: square;
    padding-left: 20px;
    line-height: 1.8;
}

.puzzle-list a {
    color: #007bff;
}

/* About Page Styles */
.about-main {
    width: 100%;
    max-width: 800px;
}

.about-layout {
    display: flex;
    align-items: center;
    gap: 30px;
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.about-image {
    width: 250px; /* Adjust this to fit your specific image */
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.about-text {
    text-align: left;
    line-height: 1.6;
}

/* Make it stack vertically on mobile screens */
@media (max-width: 650px) {
    .about-layout {
        flex-direction: column;
        text-align: center;
    }
    
    .about-text {
        text-align: center;
    }

    .puzzle-layout {
        flex-direction: column;
        text-align: center;
    }
    
    .puzzle-text {
        text-align: center;
    }
}