/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: oklch(97.3% 0.071 103.193);
}

/* Container for centered layout */
.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    position: relative;
}

.container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 100vh;
    background-image: url('https://i.pinimg.com/736x/4c/d3/33/4cd333adfe09ebd33d6898c9a3ab04af.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.05;
    z-index: -1;
    pointer-events: none;
}

/* Homepage hero section */
.hero {
    text-align: center;
    padding-top: 100px;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 30px;
    border: 2px solid #eee;
}

.tagline {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    font-weight: normal;
}

/* Navigation buttons */
.nav-buttons {
    display: grid;
    grid-template-columns: repeat(2, 120px);
    grid-template-rows: repeat(2, 50px);
    gap: 30px;
    justify-content: center;
    margin: 0 auto;
}

.nav-button {
    text-decoration: none;
    color: black;
    font-size: 16px;
    border: 1px solid black;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 50px;
}

.nav-button:hover {
    background-color: oklch(64.8% 0.2 131.684);
    color: black;
}

/* Content pages */
.page-header {
    text-align: center;
    margin-bottom: 50px;
    padding-top: 50px;
}

.page-title {
    font-size: 28px;
    font-weight: normal;
    color: #333;
    margin-bottom: 10px;
}

.back-link {
    color: black;
    text-decoration: none;
    font-size: 14px;
}

.back-link:hover {
    text-decoration: underline;
}

/* Content list */
.content-list {
    list-style: none;
}

.content-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.content-item:last-child {
    border-bottom: none;
}

.content-title {
    font-size: 18px;
    margin-bottom: 5px;
}

.content-title a {
    color: #333;
    text-decoration: none;
}

.content-title a:hover {
    color: black;
}

.content-date {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.content-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Individual content page */
.content-header {
    text-align: center;
    margin-bottom: 40px;
    padding-top: 30px;
}

.content-page-title {
    font-size: 24px;
    font-weight: normal;
    color: #333;
    margin-bottom: 10px;
}

.content-meta {
    font-size: 14px;
    color: #666;
}

.content-body {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.content-body h1,
.content-body h2,
.content-body h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: normal;
}

.content-body h1 {
    font-size: 22px;
}

.content-body h2 {
    font-size: 20px;
}

.content-body h3 {
    font-size: 18px;
}

.content-body p {
    margin-bottom: 20px;
}

.content-body a {
    color: black;
}

.content-body a:hover {
    background-color: oklch(94.5% 0.129 101.54);
    text-decoration: none;
}

.content-body blockquote {
    border-left: 3px solid #ddd;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #666;
}

.content-body code {
    background-color: #f5f5f5;
    padding: 2px 4px;
    border-radius: 3px;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 14px;
}

.content-body pre {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin: 20px 0;
}

.content-body pre code {
    background: none;
    padding: 0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .container::before {
        width: 100vw;
        left: 0;
        transform: none;
    }
    
    .hero {
        padding-top: 60px;
    }
    
    .profile-image {
        width: 120px;
        height: 120px;
    }
    
    .nav-buttons {
        gap: 20px;
        grid-template-columns: repeat(2, 100px);
        grid-template-rows: repeat(2, 45px);
    }
    
    .nav-button {
        font-size: 14px;
        width: 100px;
        height: 45px;
    }
    
    .page-header {
        padding-top: 30px;
        margin-bottom: 30px;
    }
    
    .content-header {
        padding-top: 20px;
        margin-bottom: 30px;
    }
}

.content-image {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}
