@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Quicksand:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Display:ital,wght@0,400;0,800;1,400;1,800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Serif+Pro:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
    --pink: #ff4880;
    --blue: #4138ff;
    --skyblue: deepskyblue;
}

html {
    width: 100%;
    height: 100%;
    min-height: 125vh;

    /*font-family: "DM Mono", monospace;*/
    font-family: "Source Serif Pro", "Georgia", serif;
    font-size: 12pt;

    scroll-behavior: smooth;
}

body {
    width: 100%;
    height: 100%;
    min-width: 320px;
    max-width: 1920px;
    margin: auto;
    padding: 10px;
    box-sizing: border-box;
}

div, header, footer {
    box-sizing: border-box;
}

header {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: auto;
    font-family: "Quicksand", sans-serif;
    text-align: center;
}

.header-cv {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: auto;
    font-family: "Quicksand", sans-serif;
    text-align: center;
}

h2, h3 {
    font-family: "Quicksand", sans-serif;
    text-transform: lowercase;
    font-weight: 700;
}

#title {
    width: 100%;
    text-align: center;
    padding: 10px;
    margin: auto auto auto 0;
}

#title-cv {
    width: 100%;
    padding: 10px;
    margin: 0 auto;
}

#profile-pic {
    width: clamp(75px, 50%, 150px);
    height: clamp(75px, 50%, 150px);
    margin: auto;
}

#profile-pic img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

#profile-pic-cv {
    width: clamp(75px, 50%, 150px);
    height: clamp(75px, 50%, 150px);
    margin: auto;
}

#profile-pic-cv img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

#logograph {
    width: 100%;
}

#navigation {
    margin: 10px 0 25px 0;
}

#contact-info {
    width: 100%;
    background: white;
    position: fixed;
    left: 0;
    bottom: 0;
    padding-top: 10px;
    border-top: 1px solid lightgrey;
    z-index: 1;
}

#social-media-links {
    padding: 10px 0 0 0;
}
#social-media-links a.social-media-link img {
    width: 20px;
    height: 20px;
    padding: 5px 5px 0 5px;
}

#main-content {
    line-height: 20pt;
    text-align: left;
    padding: 10px 10px 150px 10px;
}

#main-content-cv {
    line-height: 20pt;
    text-align: left;
    padding: 10px 10px 150px 10px;
}

/*#main-content-cv h1, h2, h3, h4 {*/
/*    font-family: "Noto Serif Display", "Georgia", serif;*/
/*    font-weight: 800;*/
/*    text-transform: capitalize;*/
/*}*/


.nav-button {
    font-family: "Quicksand", sans-serif;
}

.unmarked-link {
    background: none;
}
.unmarked-link:hover{
    background: none;
}

a {
    display: inline-block;
    padding: 0 5px;

    color: black;
    font-weight: bold;
    text-decoration: none;

    cursor: pointer;
}

div a {
    color: var(--skyblue);
    margin: 0 -4px;
}

a:hover {
    background: var(--skyblue);
    color: white;
}

a:visited {

}

a.unmarked-link {
    padding: 0;
    margin-bottom: 15px;
}

.bsod {
    background: var(--skyblue);
    color: white;
}
.bsod a {
    color: white;
}
.bsod a:hover {
    background: var(--pink);
}

#error-content {
    width: 100%;
    height: fit-content;
    margin: auto;
    padding: 25px;
}
#error-content h1 {
    font-family: "Quicksand", sans-serif;
    font-size: 90pt;
    line-height: 24pt;
}

.center {
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
    margin: auto;
    padding: 10px;
    box-sizing: border-box;
}

.inner-content {
    display: block;
    position: relative;
    width: 100%;
    height: fit-content;
    box-sizing: border-box;
}

#main-content-cv .inner-content {
    padding-bottom: 50px;
}

.fixed {
    position: fixed;
}

.gallery {
    display: flex;
    width: 100%;
    margin-bottom: 25px;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: stretch;
}

.project-thumbnail {
    width: 300px;
    min-width: 300px;
    margin: 15px;
    padding: 0 0 15px 0;
    cursor: pointer;

    border: 1px solid lightgray;
    background: white;
    text-align: left;
    box-shadow: none;
    color: black;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
}

.project-title {
    padding: 10px;
    margin-top: 0;
}

.project-thumbnail-img img {
    width: 298px;
    height: 298px;
}

.project-thumbnail:hover {
    border: 1px solid var(--skyblue);
    background: var(--skyblue);
    color: white;
    /*box-shadow: rgba(0,0,0,0.4) 4px 4px 6px;*/
}

.two-column-list {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

.two-column-list h1, .two-column-list h2, .two-column-list h3, .two-column-list h4 {
    margin: 0;
    font-family: "Source Serif Pro", "Georgia", Serif;
    text-transform: capitalize;
}

.two-column-list a {
    overflow-wrap: anywhere;
}

.two-column-list-el {
    /*display: grid;*/
    /*grid-template-columns: [right] 180px [left] auto;*/
    display: flex;
    flex-direction: column;
}

.two-column-list-el-right {
    text-align: left;
}

.two-column-list-el-right .sticky {
    position: sticky;
    top: 10px;
}

.two-column-list-el-left {
    text-align: left;
    padding-left: 5px;
}

.unmarked-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.publication-list {
    margin: 0;
    padding: 0 0 0 10px;
}

#awards-table {
    display: grid;
    grid-template-columns: [num] 50px [name] auto [scope] 200px [year] 200px [amount] auto;
    border: 1px solid lightgray;
}

#awards-table div {
    padding: 10px 20px;
    text-align: left;
}

.col-1 {
    grid-column-start: 1;
    grid-column-end: 1;
    padding: 5px;
}

.col-2 {
    grid-column-start: 2;
    grid-column-end: 2;
    padding: 5px;
    border-left: 1px solid lightgray;
}

.col-3 {
    grid-column-start: 3;
    grid-column-end: 3;
    border-left: 1px solid lightgray;
    padding: 5px;
}

.col-4 {
    grid-column-start: 4;
    grid-column-end: 4;
    border-left: 1px solid lightgray;
    padding: 5px;
}

.col-5 {
    grid-column-start: 5;
    grid-column-end: 5;
    max-width: 250px;
    border-left: 1px solid lightgray;
    padding: 5px;
}

.row-2 {
    grid-row-start: 2;
    grid-row-end: 2;
    border-top: 1px solid lightgray;
}

/**********************************************************************************************************************
 * Responsive Code
 */
@media only screen and (min-width: 1024px) and (min-height: 800px) {
    html {
        font-size: 14pt;
        min-height: 800px;
    }

    body {
        /*display: flex;*/
        padding: 0;
    }

    .nav {
        width: 40%;
        height: 100%;
        min-height: 800px;
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
    }

    .nav-cv {
        width: 30%;
    }

    header {
        /*width: 40%;*/
        flex-direction: unset;
        text-align: left;
        padding: 0 0 0 10px;
    }

    .header-cv {
        text-align: right;
        margin: 50px 0 0 0;
    }

    #profile-pic-cv {
        margin: auto 0 auto auto;
    }

    #title {
        width: fit-content;
        text-align: left;
    }

    #title-cv {
        margin: 0;
    }

    .menu-cv {
        width: 30%;
        min-width: 200px;
        display: flex;
        flex-direction: column;
        justify-content: right;
        margin: 50px 0 50px auto;
    }

    .menu-cv .nav-button {
        margin-right: 0;
        font-size: 18pt;
    }

    #main-content {
        width: 60%;
        min-height: 100%;
        margin: auto auto auto 40%;
        padding: 0;
        display: flex;
        flex-direction: column;
        text-align: justify;
    }

    #main-content .inner-content {
        min-height: 100vh;
        display: flex;
        text-align: justify;
    }

    #main-content-cv {
        width: 70%;
        min-height: 100%;
        margin: auto 0 auto 30%;
        padding: 0;
        display: flex;
        flex-direction: column;
    }

    #main-content-cv .inner-content {
        display: flex;
    }

    #main-content-cv h2 {
        font-size: 24pt;
    }

    .inner-content .content {
        height: fit-content;
        margin: auto 0;
    }

    .two-column-list-el {
        display: grid;
        grid-template-columns: [right] 180px [left] auto;
    }

    .two-column-list-el-left {
        text-align: left;
        padding-left: 25px;
    }

    #profile-pic {
        width: clamp(50px, 15%, 100px);
        height: clamp(50px, 15%, 100px);
        margin: 10px 10px auto auto;
    }

    #contact-info {
        width: 100%;
        background: white;
        position: relative;
        padding: 0;
        border-top: none;
    }

    #social-media-links a.social-media-link img {
        width: 30px;
        height: 30px;
        padding: 5px 7px;
    }

    #error-content {
        width: 50%;
        height: fit-content;
        margin: 100px auto auto auto;
    }

    .center {
        padding: 0 50px 0 50px;
    }
    
    .sticky {
        top: 0;
        position: sticky;
    }
}

@media only screen and (min-width: 1920px){
    #profile-pic {
        width: 20%;
        height: 20%;
        min-width: 50px;
        min-height: 50px;
        max-width: 200px;
        max-height: 200px;
    }
}

