:root {
    --bg-color: #ffffff;
    --text-color: #333333;
    --accent-color: #0066cc;
    --secondary-text: #666666;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --max-width: 800px;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    margin: 0 auto;
    padding: 2rem;
    max-width: var(--max-width);
}

header {
    margin-bottom: 3rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

header h1 {
    margin: 0;
    font-size: 2rem;
}

header p {
    margin: 0.5rem 0;
    color: var(--secondary-text);
}

nav a {
    margin-right: 1rem;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
}

nav a:hover {
    color: var(--accent-color);
}

h2 {
    margin-top: 2rem;
    font-size: 1.5rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.project-item {
    margin-bottom: 2rem;
}

.project-item h3 {
    margin-bottom: 0.5rem;
}

.project-item .date {
    font-size: 0.85rem;
    color: var(--secondary-text);
    margin-top: 0;
}

footer {
    margin-top: 4rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    font-size: 0.85rem;
    color: var(--secondary-text);
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    body {
        padding: 1rem;
    }
}

/* Profile Picture Styles */
.intro-content {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%; /* Makes it circular */
    object-fit: cover;
    object-position: top center; 
    flex-shrink: 0; /* Prevents image from squishing */
    
    /* Add these lines to improve appearance */
    border: 1px solid #e0e0e0; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

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

/* Publication Link Buttons */
.publication-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Increased from 10px to 20px */
    margin-top: 1.5rem;
}

.columns.is-centered {
  align-items: stretch;
}
.columns.is-centered .column video {
  height: 100%;
  object-fit: cover; /* or 'contain' to avoid cropping */
}