* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Baskerville', serif;
}

body {
    background-color: #fafafa;
    color: #1a1a1a;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 3rem 2rem 2rem;
}

#nav-container {
    position: absolute;
    top: 3rem;
    right: 2rem;
    width: 250px;
    text-align: right;
}

.container {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    gap: 4rem;
}

.main-nav {
    width: 250px;
    flex-shrink: 0;
    text-align: right;
    position: absolute;
    right: 25px;
}

.name {
    font-size: 2rem;
    font-weight: 100;
    margin-bottom: 3rem;
    letter-spacing: 0.5px;
}

.nav-list {
    list-style: none;
}

.nav-item {
    margin-bottom: 1.5rem;
}

.nav-link {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 1.125rem;
    transition: opacity 0.2s ease;
    letter-spacing: 0.3px;
}

.nav-link:hover {
    opacity: 0.6;
}

.content {
    flex: 1;
    max-width: 800px;
}

.content-loading {
    text-align: center;
    color: #808080;
    font-style: italic;
    padding: 2rem 0;
}

.content-error {
    text-align: center;
    color: #d32f2f;
    font-style: italic;
    padding: 2rem 0;
}

.content-title {
    font-weight: normal;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.commonplace-list {
    list-style: none;
    /* padding-bottom: 100px; */
}

.list-item {
    list-style: none;
    margin-bottom: 0.5rem;
}

.footer {
    text-align: center;
    margin-top: 6rem;
    padding-top: 2rem;
}

.footer-quote {
    color: #c0c0c0;
    font-size: 0.875rem;
    font-style: italic;
    margin-bottom: 1rem;
    transition: color 0.2s ease;
}

.footer-links {
    color: #c0c0c0;
    font-size: 0.875rem;
}

.footer-link {
    color: #c0c0c0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #808080;
}

@media (max-width: 768px) {
    body {
        padding: 2rem 1.5rem 1.5rem;
    }

    #nav-container {
        position: static;
        width: 100%;
        text-align: left;
        margin-bottom: 2rem;
    }

    .container {
        flex-direction: column;
        gap: 2rem;
    }

    .main-nav {
        width: 100%;
    }

    .name {
        font-size: 1.75rem;
        margin-bottom: 2.5rem;
    }

    .nav-link {
        font-size: 1rem;
    }

    .footer {
        margin-top: 4rem;
    }
}