:root {
    --bgColor: white;
    --fontColor: #212121;
    --highlight-blue: rgba(51, 126, 169, 1);
}

.dark-mode {
    --bgColor: #212121;
    --fontColor: white;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bgColor);
    color: var(--fontColor);
    font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    transition: background-color 0.3s, color 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

#theme-toggle {
    position: absolute;
    top: 16px;
    right: 24px;
    cursor: pointer;
}

#moon,
#sun {
    width: 16px;
    height: 16px;
    transition: opacity 0.3s;
}

#moon:hover,
#sun:hover {
    color: rgba(51, 126, 169, 0.688);
}

.hidden {
    display: none !important;
}

#tab-pane {
    min-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    position: absolute;
    top: 33%;
    max-width: 100%;
    padding: 0;
    text-align: center;
    animation: fadeIn 0.5s ease-in;
}

.avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    margin-bottom: 16px;
    object-fit: cover;
}

.social-icons {
    margin-top: 10px;
}

.social-icons img {
    height: 24px;
    margin: 0 1px;
    vertical-align: middle;
}

.nav-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 36px;
}

.nav-links a:hover {
    color: rgba(51, 126, 169, 0.688);
}

.nav-links a {
    font-weight: 600;
    text-decoration: none;
    -webkit-text-decoration: none;
    color: inherit;
}

.nav-links a.active {
    color: var(--highlight-blue);
    text-decoration: underline solid;
    -webkit-text-decoration: underline solid;
    text-decoration-thickness: 3px;
    text-underline-offset: 4px;
}

.publications {
    max-width: 1024px;
    margin: 0 auto;
    padding: 64px 16px 0 16px;
    text-align: left;
    animation: fadeIn 0.5s ease-in;
    box-sizing: border-box;
}

.publications li {
    margin-bottom: 1.68rem;
}

.highlight-blue {
    color: var(--highlight-blue);
}

.container a {
    text-decoration: underline solid;
    -webkit-text-decoration: underline solid;
    color: inherit;
}

.publications a {
    text-decoration: solid;
    -webkit-text-decoration: solid;
    color: var(--highlight-blue);
}

p {
    margin: 0.18em 0;
    font-size: 1rem;
}

.year-separator {
    font-size: 1.3em;
    font-weight: bold;
    margin-top: 0.6em;
    margin-bottom: 0.5em;
    color: var(--highlight-blue);
    background: none;
    border: none;
    margin-left: 0;
    padding-left: 0;

}

ol.prefix-list {
    counter-reset: item;
    list-style: none;
    margin: 0;
    padding: 0;
}

ol.prefix-list li {
    position: relative;
    padding-left: 3.6em;
    margin-bottom: 0.8em;
}

ol.prefix-list li::before {
    content: attr(data-prefix);
    position: absolute;
    left: 0;
    top: auto;
    /* bottom: 0; */
    font-weight: bold;
    font-size: 0.98em;
    line-height: inherit;
}