
/* Global page settings */
body {
    font-family: "Times New Roman", Times, serif;
    font-size: 1rem; /* relative sizing for responsiveness */
    color: #000;
    background-color: #fff;
    line-height: 1.4;
    max-width: 800px; /* Limits the text width for better readability */
    margin: 2em auto;  /* Centers the content and adds top/bottom spacing */
    padding: 0 1em;   /* Prevents text from touching edges on mid-sized screens */
    /* ... other body styles ... */
}

/* Responsive title */
h1 {
    text-align: center;
    font-size: 2rem; /* scales with device */
    font-weight: bold;
    margin-bottom: 1em;
}

/* Heading styles for sections */
h2 {
    font-size: 1.5rem;
    margin-top: 1em;
    margin-bottom: 0.5em;
}

/* Paragraph spacing */
p {
    margin: 0.5em 0;
    line-height: 1.5;
}

/* Links */
a, a:visited {
    color: black;
    text-decoration: underline;
}

/* Print-specific rules remain */
@media print {
    body {
        color: black;
        background: white;
        margin: 1in; /* print still uses fixed margins */
        font-size: 12pt;
    }

    h1 {
        font-size: 18pt;
        margin-bottom: 0.5in;
    }

    h2 {
        font-size: 14pt;
        margin-top: 0.5in;
        margin-bottom: 0.25in;
    }

    a {
        color: black;
        text-decoration: none;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    body {
        margin: 0.5em;
        font-size: 0.9rem;
    }

    h1 {
        font-size: 1.5rem;
        margin-bottom: 0.75em;
    }

    h2 {
        font-size: 1.25rem;
    }

    p {
        margin: 0.4em 0;
    }
}


