﻿/* General Body and Layout Styles */
body {
    font-family: Georgia, 'Times New Roman', Times, serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.page-wrapper {
    max-width: 960px;
    margin: 1.5rem auto;
    padding: 1rem 2rem;
    background-color: #ffffff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.3;
    color: #111;
}

h1 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 1.8rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
    margin-top: 2rem;
}

h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #0056b3;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

hr {
    border: 0;
    height: 1px;
    background: #ccc;
    margin: 2rem 0;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 4px;
}

/* Figure and Figcaption for images with captions */
figure {
    margin: 1.5rem 0;
    padding: 0;
}

.centered-figure {
    text-align: center;
}

.centered-figure img {
    max-width: 300px;
}

figcaption {
    text-align: center;
    font-style: italic;
    color: #555;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}


/* Image Rows (Flexbox for responsiveness) */
.image-row {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap onto the next line on small screens */
    justify-content: center;
    align-items: center;
    gap: 1rem; /* Space between images */
    margin: 1.5rem 0;
}

.image-row img {
    margin: 0; /* Override default image margin for flex items */
}

/* Utility Classes */
.highlight {
    background-color: yellow;
}

.webmaster-link {
    text-align: center;
    margin-top: 2rem;
    font-style: italic;
}

/* Media Query for smaller screens */
@media (max-width: 600px) {
    .page-wrapper {
        padding: 1rem;
        margin: 0;
        border-radius: 0;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}