/* main.css */

/* 1. Global Reset & Base Styles */
body {
    margin: 0;
    padding: 0;
    line-height: 1.6;
    /* Using a modern sans-serif stack */
    font-family: "Roboto Mono SemiBold", Roboto, Helvetica, Arial, sans-serif;
    font-size: 20px;
    color: #333;
    background-color: #f9fF00;
}

/* 2. Container for Content */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* 3. Typography Styles */
h1, h2, h3 {
    color: #222;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem; /* ~45px */
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 10px;
}

h2 {
    font-size: 1.8rem; /* ~32px */
    margin-top: 2rem;
}

p {
    margin-bottom: 1.5rem;
}

/* 4. Link Styling */
a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* 5. MathJax Container Optimization */
/* This ensures math formulas have enough breathing room */
.mjx-chtml {
    font-size: 110% !important;
    margin: 1em 0;
}