:root {
    /* Colors */
    --text-primary: #1a1a1a;
    --text-secondary: #495057;
    --text-muted: #666;
    --heading-primary: #2c3e50;
    --heading-secondary: #34495e;
    --link-color: cornflowerblue;
    --border-color: #e9ecef;
    --bg-light: #f8f9fa;
    --bg-primary: #fff;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    color: var(--text-primary);
    background: var(--bg-primary);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    margin-top: 0;
    color: var(--heading-primary);
    font-weight: 500;
    font-family: Montserrat, system-ui, -apple-system, sans-serif;
}

h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    color: var(--heading-secondary);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

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

a:hover {
    text-decoration: underline;
}

.thesis-link {
    background: var(--bg-light);
    padding: 1rem;
    margin: 1rem 0;
}

ul.projects {
    list-style-type: none;
    padding: 0;
}

aside {
    float: right;
    margin: 2mm;
}
.aliases {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: -1.8rem;  /* pulls it closer to the name */
    margin-bottom: 1.5rem;
    margin-left: 3rem;
}

.aliases em {
    color: var(--text-secondary);
    font-style: italic;
    font-weight: bolder;
}

.project {
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 3px solid var(--border-color);
}

.project .title {
    font-weight: 600;
}

.project .authors {
    color: var(--text-muted);
    font-style: italic;
}

.project .venue {
    color: var(--text-secondary);
}

.project .date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-left: 1em;
}

.project .subheading {
    display: none;
}

.project .description {
    color: var(--text-secondary);
    margin-top: 0.3rem;
}

.profile-sidebar {
    top: 2rem;
}

.profile-image {
    width: 200px;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
}


.projects {
    margin-top: 1rem;
}


.project-links {
    margin: 2rem 0;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    color: var(--text-secondary);
}
.links a:not(:last-child)::after {
    content: " • ";
    color: var(--text-muted);
    text-decoration: none;
    display: inline-block;
    margin: 0 0.5rem;
}

@media (max-width: 800px) {
    body {
        flex-direction: column;
    }

    .profile-image {
        width: 150px;
    }

    h1 {
      font-size: 2rem;
    }
}
