* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.6;
    color: white;
    background-color: black;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.content-wrapper {
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
}

.title {
    font-size: 2.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 2rem;
    text-align: center;
}

/* Section styles */
.section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: white;
}

/* Experience and Grant items */
.experience-item,
.grant-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.experience-item h3,
.grant-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: white;
}

.meta {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.experience-item ul,
.grant-item p {
    margin-left: 1rem;
}

.experience-item li {
    margin-bottom: 0.5rem;
    list-style-type: "→ ";
}

/* Blog specific styles */
.blog-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-meta {
    margin-bottom: 2rem;
    color: #888;
    font-size: 0.9rem;
}

.blog-meta .tags {
    margin-left: 1rem;
}

h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: white;
}

ul {
    list-style-position: inside;
    margin: 1rem 0;
}

li {
    margin-bottom: 0.5rem;
}

pre {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1rem 0;
}

code {
    font-family: 'JetBrains Mono', monospace;
    color: #e0e0e0;
}

.navigation-links {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Existing styles */
.profile-section {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.profile-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
}

.bio-text {
    flex: 1;
}

.bio-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #e0e0e0;
}

.link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.link:hover {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .profile-section {
        flex-direction: column;
        align-items: center;
    }

    .profile-image {
        width: 250px;
        height: 250px;
        margin-bottom: 2rem;
    }

    .content-wrapper {
        padding: 2rem;
    }

    .title {
        font-size: 2rem;
    }
}

/* Project specific styles */
.project-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin: 1rem 0;
}

.project-image {
    width: 360px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.project-content ul {
    flex: 1;
    margin: 0;
}

/* For multiple images in a row */
.project-content:has(img:only-child) {
    justify-content: flex-start;
    gap: 2rem;
}

.project-content:has(img:only-child) .project-image {
    width: 360px;
}

@media (max-width: 1024px) {
    .project-content {
        flex-direction: column;
        align-items: center;
    }

    .project-image {
        width: 280px;
    }

    .project-content:has(img:only-child) .project-image {
        width: 280px;
    }
}

@media (max-width: 768px) {
    .project-content {
        flex-direction: column;
        align-items: center;
    }

    .project-image {
        width: 240px;
        margin: 0;
    }
}

.experience-item img {
    width: 360px;
    height: auto;
    display: block;
    margin: 0;
}

@media (max-width: 1024px) {
    .experience-item img {
        width: 280px;
    }
}

@media (max-width: 768px) {
    .experience-item img {
        width: 240px;
    }
}