:root {
    --main-bg-color: #f8f8ff;
    --secondary-bg-color: #e3e3ec;
    --main-text-color: #292a2d;
    --accent-color: #0d417c;
}

/*:root {
    --main-bg-color: #292a2d;
    --secondary-bg-color: #3c3c41;
    --main-text-color: #f8f8ff;
    --accent-color: #80aadd;
}*/

@font-face {
    font-family: 'Atkinson Hyperlegible Next';
    font-style: normal;
    font-weight: 200 800;
    src: url(/fonts/AtkinsonHyperlegibleNextVF-Variable.woff2) format('woff2');
}

body {
    margin: 0;
    font-family: 'Atkinson Hyperlegible Next', sans-serif;
    background-color: var(--main-bg-color);
    color: var(--main-text-color);
    font-weight: normal;
    box-sizing: border-box;
    font-size: 1.1rem;
}

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

a:hover {
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    text-align: center;
}

h1 {
    font-weight: bold;
    font-size: 3.5rem;
}

h2 {
    font-weight: normal;
}

h3 {
    margin: 50px 0 0;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    height: 60px;
    width: 100%;
    background-color: var(--secondary-bg-color);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    font-size: 1.25rem;
    flex-wrap: wrap;
}

header > div {
    display: flex;
    gap: 20px;
}

header a:link, header a:visited {
    color: var(--main-text-color);
}

header + * {
    padding-top: 60px;
}

dl {
    display: grid;
    grid-template-columns: max-content auto;
    gap: 15px 0;
}

dt {
    grid-column-start: 1;
    font-weight: bold;
}

dd {
    grid-column-start: 2;
}

ul {
    margin: 0;
    padding: 0;
}

.justify {
    text-align: justify;
}

.italic {
    font-style: italic;
}

.main-page {
    width: 100dvw;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.social-links {
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.publication-preview {
    background-color: var(--secondary-bg-color);
    max-width: 1000px;
    margin: 20px;
    padding: 25px 40px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.publication-preview h2 {
    margin: 0;
}

.publications-list {
    margin-bottom: 50px;
}

.publication-content {
    max-width: 1200px;
    margin: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.publication-content h1 {
    font-size: 2.5rem;
    padding: 0 25px;
}

.publication-card {
    background-color: var(--secondary-bg-color);
    padding: 25px 40px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.abstract {
    margin-top: 50px;
    text-align: justify;
}