@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@700&family=Roboto+Serif:opsz,wght@8..144,400&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css');

body {
    font-family: 'Roboto Serif', serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f7f9fc;
}
.container {
    max-width: 800px;
    width: 100%;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    text-align: left;
    flex: 1;
}
header {
    background: maroon;
    padding: 20px;
    border-radius: 12px 12px 0 0;
}
h1 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 3rem;
    color: whitesmoke;
    margin: 0 0 10px 0;
    text-align: center;
}
h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.5rem;
    color: whitesmoke;
    font-style: italic;
    margin: 0;
    text-align: center;
}
main {
    font-size: 1rem;
    padding: 20px 0;
    text-align: left;
}
h2 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 2rem;
    color: maroon;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: left;
}
#pun-box {
    margin: 30px 0;
    font-size: 1.25rem;
    color: #bbb;
    min-height: 20px;
    transition: color 0.2s;
}
#dadjoke-box {
    margin: 30px 0;
    font-size: 1.25rem;
    color: #bbb;
    min-height: 20px;
    transition: color 0.2s;
}button {
    padding: 10px 20px;
    font-size: 1.25em;
    cursor: pointer;
    background: maroon;
    color: whitesmoke;
    border: none;
    border-radius: 6px;
    transition: background 0.2s;
}
button:hover {
    background: indianred;
}
.header-flex {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.header-icon {
    width: 64px;
    height: 64px;
    margin-right: 20px;
    border-radius: 8px;
    object-fit: contain;
    background: #fff;
}
.header-text {
    flex: 1;
    text-align: center;
}
footer {
    background: maroon;
    color: whitesmoke;
    padding: 20px 0;
    text-align: center;
    border-radius: 0 0 12px 12px;
    margin-top: 10px;
    width: 100%;
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.footer-email {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1em;
}
.footer-email a {
    color: whitesmoke;
    text-decoration: underline;
}
.footer-email i {
    font-size: 1.2em;
}
.blog-section-header {
    display: flex;
    align-items: left;
    gap: 16px;
    margin-bottom: 16px;
}
.blog-section-icon {
    max-width: 64px;
    height: auto;
    margin: 0;
    display: block;
}
.blog-link {
    margin: 16px 0;
    text-align: left;
}
.blog-link a {
    color: maroon;
    font-weight: bold;
    text-decoration: underline;
    font-size: 1.1em;
}
.blog-date {
    color: seagreen;
}
.blog-entry,
.blog-accordion details {
    background: gainsboro;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}
summary {
    color: saddlebrown;
    font-size: 1.5rem;
}
.main-nav {
    display: flex;
    justify-content: center;
    gap: 32px;
    background: #eee;
    padding: 6px 0;
    border-radius: 0 0 12px 12px;
    margin-bottom: 4px;
    border-top: 2px solid #111;
    border-bottom: 2px solid #111;
}
.main-nav a {
    color: maroon;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.2rem;
    text-decoration: none;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}
.main-nav a:hover {
    background: maroon;
    color: whitesmoke;
}
@media (max-width: 900px) {
    .container {
        margin: 20px auto;
        padding: 0 10px;
    }
    h1 { font-size: 3rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    main { font-size: 1rem; }
}
