/* =========================================================
   GENERAL
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    background: #f5f2f4;

    color: #505862;

    line-height: 1.7;
}


/* =========================================================
   HEADER
   ========================================================= */

header {
    background: #ffffff;

    padding: 45px 0;

    border-bottom: 1px solid #e6e1e4;
}


.header-container {

    width: 1000px;

    max-width: 90%;

    margin: auto;

    display: flex;

    align-items: center;

    gap: 35px;
}


.profile-photo {

    width: 150px;

    height: 150px;

    border-radius: 50%;

    object-fit: cover;

    border: 6px solid #f1edf0;
}


.header-text {

    flex: 1;
}


h1 {

    margin: 0;

    color: #4b525c;

    font-size: 42px;

    font-weight: 500;

    letter-spacing: -1px;
}


.subtitle {

    margin: 5px 0 15px 0;

    color: #8b4566;

    font-size: 19px;

    font-weight: 500;
}


.description {

    max-width: 700px;

    margin-bottom: 18px;

    color: #707781;
}


.social-links a {

    display: inline-block;

    margin-right: 18px;

    color: #8b4566;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;
}


.social-links a:hover {

    color: #54273d;

    text-decoration: underline;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

nav {

    background: #592941;

    padding: 14px 0;
}


.nav-container {

    width: 1000px;

    max-width: 90%;

    margin: auto;

    text-align: center;
}


nav a {

    display: inline-block;

    margin: 0 18px;

    color: #ffffff;

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;

    letter-spacing: 0.8px;
}


nav a:hover {

    color: #e9cbd9;
}


/* =========================================================
   MAIN
   ========================================================= */

main {

    width: 1000px;

    max-width: 90%;

    margin: 45px auto;
}


/* =========================================================
   INTRODUCTION
   ========================================================= */

.intro {

    background: #ffffff;

    padding: 35px;

    margin-bottom: 30px;

    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.04);
}


.intro h2 {

    margin-top: 0;
}


/* =========================================================
   TWO COLUMN LAYOUT
   ========================================================= */

.two-column {

    display: grid;

    grid-template-columns: 2fr 1fr;

    gap: 30px;

    align-items: start;
}


/* =========================================================
   CARDS
   ========================================================= */

.card {

    background: #ffffff;

    padding: 30px;

    margin-bottom: 30px;

    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.04);
}


.card h2 {

    margin-top: 0;

    margin-bottom: 20px;

    color: #59616b;

    font-size: 24px;

    font-weight: 500;
}


.card h3 {

    color: #6a3a51;

    font-size: 18px;

    font-weight: 600;
}


/* =========================================================
   RESEARCH
   ========================================================= */

.research-item {

    padding-bottom: 15px;

    margin-bottom: 20px;

    border-bottom: 1px solid #eee8eb;
}


.research-item:last-child {

    border-bottom: none;

    margin-bottom: 0;
}


.research-item h3 {

    margin-bottom: 5px;
}


/* =========================================================
   PUBLICATIONS
   ========================================================= */

.publication {

    margin-bottom: 35px;

    padding-bottom: 25px;

    border-bottom: 1px solid #eee8eb;
}


.publication:last-of-type {

    border-bottom: none;
}


.publication h3 {

    margin-bottom: 8px;
}


.journal {

    color: #777f88;

    font-style: italic;

    font-size: 14px;
}


.publication-links a {

    display: inline-block;

    margin-top: 8px;

    margin-right: 8px;

    padding: 5px 12px;

    border: 1px solid #8b4566;

    border-radius: 15px;

    color: #8b4566;

    text-decoration: none;

    font-size: 12px;

    font-weight: 600;
}


.publication-links a:hover {

    background: #8b4566;

    color: #ffffff;
}


.more-link {

    margin-top: 15px;
}


.more-link a {

    color: #8b4566;

    text-decoration: none;

    font-weight: 600;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.sidebar ul {

    padding-left: 20px;
}


.sidebar li {

    margin-bottom: 8px;
}


.link-list {

    list-style: none;

    padding-left: 0 !important;
}


.link-list li {

    margin-bottom: 12px;
}


.link-list a {

    color: #8b4566;

    text-decoration: none;

    font-weight: 500;
}


.link-list a:hover {

    text-decoration: underline;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {

    background: #30343a;

    color: #aeb2b7;

    text-align: center;

    padding: 30px;

    margin-top: 60px;

    font-size: 13px;
}


footer p {

    margin: 4px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 750px) {

    .header-container {

        flex-direction: column;

        text-align: center;
    }


    .profile-photo {

        width: 130px;

        height: 130px;
    }


    h1 {

        font-size: 34px;
    }


    .two-column {

        grid-template-columns: 1fr;
    }


    nav a {

        margin: 6px 10px;
    }

}
