:root {
    --content-width: 1000px;
    --link-hover-color: #2c7dbe;
}

@font-face {
    font-family: Dosis;
    src: url(res/Dosis-VariableFont_wght.ttf);
}


/* ALL PAGES */

body {
    font-family: sans-serif;
}

main {
    max-width: var(--content-width);
    margin: 0 auto;
}

h1, h2, h3 {
    font-family: Dosis, sans-serif;
}

p {
    line-height: 1.5;
}

img {
    display: block;
    margin: auto;
}

/* HEADER */

header {
    display: flex;
    flex-direction: row;
    max-width: var(--content-width);
    margin: 2rem auto;
    justify-content: space-between;
    font-style: normal;
    font-weight: 700;
}

.site-title {
    font-size: 50px;
    font-family: Dosis, sans-serif;
}

nav {
    display: flex;
    flex-direction: row;
    align-items: center;
}

nav a {
    text-decoration: none;
    margin: 0 1rem;
    font-size: 1.125rem;
    color: inherit;
    transition: .5s;
}

nav a:hover {
    color: var(--link-hover-color);
}

/* INDEX */

.projects {
    list-style-type: none;
}

.projects h3 {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.supervisors {
    display: flex;
    flex-direction: row;
    font-weight: bold;
    color: darkslategrey;
}

.supervisors ul {
    list-style-type: none;
    padding-inline-start: 5px;
}

.partners-link {
    text-decoration: none;
    font-style: italic;
}


/* PARTNERS */

.partners {
    display: flex;
    flex-direction: column;
}

.partners img {
    display: block;
    margin: 1.5rem auto;
    height: 100px;
    filter: saturate(0);
    transition: filter 0.5s;
}

.partner::after {
    content: '';
    display: block;
    width: 50px;
    height: 1px;
    background: lightgrey;
    margin: auto;
}

.partner:last-child::after {
    display: none;
}

.partners img:hover {
    filter: saturate(1);
}