/* Reset some basic elements */
html, body, ul, ol, li, h1, h2, h3, p {
    margin: 0;
    padding: 0;
}

/* Main layout styles */
body {
    font-family: "Lora", serif;
    line-height: 1.6;
    color: #333;
}

nav, main {
    max-width: 30em;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem;
}

h1, h2, h3 {
    margin: 1.5rem 0 0.5rem 0;
}

p {
    margin-bottom: 1rem;
}

/* Navigation */
nav h1 {
    display: flex;
    justify-content: center;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
}

/* Add space between nav item */
nav ul li:not(:last-child) {
    margin-right: 4em;
}

nav a {
    text-decoration: none;
    color: #333333f1;
    font-weight: bold;
    font-size: 1.5em;
    font-family: "Cormorant", serif;
}

nav a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin-bottom: 0.5rem;
    }
}

/* Blog entries list */
#blog-entries {
    margin-top: 2rem;
    margin-left: 10%;
    text-align: left;
    width: 100%;
}

#blog-entries table td {
    padding: 1em 1em 0.5em 1em;
}

#blog-entries table td a {
    color: #000;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
    font-size: 1.4em;
    font-family: "Cormorant", serif;
}

#blog-entries #title {
    font-weight: bold;
}

#blog-entries #date {
    font-style: italic;
}

#blog-entries table td a:hover {
    text-decoration: underline;
}

/* About page */
#about {
    margin-top: 2rem;
}

/* Main content styles */
main {
    padding: 1rem;
    font-size: 1.3rem;
}

/* entry title */
main h1 {
    display: flex;
    justify-content: center;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    font-family: "Cormorant", serif;
}

main .author {
    display: flex;
    justify-content: center;
    font-style: italic;
    font-size: 0.9em;
    margin: 1.5rem 0 0 0;
}

main .date {
    display: flex;
    justify-content: center;
    font-style: italic;
    font-size: 0.9em;
    margin: 0 0 2rem 0;
}

main ul, ol {
    padding-left: 30px;
    margin-bottom: 1rem;
}

main a {
    color: #000;
    text-decoration: underline;
    transition: color 0.3s ease;
}

main a:hover {
    color: #004999;
}
