@viewport {
    width: device-width;
    zoom: 1.0;
}

body {
    max-width: 45rem;
    margin: 0 auto;
    padding: 1.5rem;

    color: #131313;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 1.0em;
    line-height: 1.7;
    text-align: left;

    background-color: rgb(245, 245, 245);
}

section {
    margin-top: 2em;
}

/* 
-----------------------------------------------------------------------------------
GENERAL 
-----------------------------------------------------------------------------------
*/
h1 {
    color: rgb(19, 19, 19);
    margin-bottom: 0;
    font-size: 2.5em;
}

h2 {
    font-weight: 300;
}

h3 {
    font-weight: 300;
    font-size: 1.1em;
}

a {
    color: rgb(255, 100, 55);
    text-decoration: none;
    transition: color .1s;
}

a:hover {
    color: rgb(255, 100, 55);
    text-decoration: underline;
}


/* 
-----------------------------------------------------------------------------------
ICONS 
-----------------------------------------------------------------------------------
*/

.google-scholar::before {
    content: url("./images/icons/google_scholar.svg");
    display: inline-block;
    position: relative;
    top: 0.1em;
    width: 1em;
    margin-right: 0.4em;
}

.linkedin::before {
    content: url("./images/icons/linkedin.svg");
    display: inline-block;
    position: relative;
    top: 0.15em;
    width: 1em;
    margin-right: 0.4em;
}

.document::before {
    content: url("./images/icons/doc.svg");
    display: inline-block;
    position: relative;
    top: 0.15em;
    width: 1.2em;
    margin-right: 0.4em;
}

.website::before {
    content: url("./images/icons/website.svg");
    display: inline-block;
    position: relative;
    top: 0.1em;
    width: 1em;
    margin-right: 0.4em;
}

.video::before {
    content: url("./images/icons/video.svg");
    display: inline-block;
    position: relative;
    top: 0.2em;
    width: 1.2em;
    margin-right: 0.4em;
}


.code::before {
    content: url("./images/icons/git.svg");
    display: inline-block;
    position: relative;
    top: 0.2em;
    width: 1.2em;
    margin-right: 0.4em;
}



/* 
-----------------------------------------------------------------------------------
HEADER 
-----------------------------------------------------------------------------------
*/

header {
    line-height: 1.2;
    text-align: left;
    margin-bottom: 0.5rem;
    display: grid;
    padding: 60px 0px 10px 0px;
    grid-template-columns: 130px 30px auto;
    grid-template-rows: 3em 2em 2.6em;
}

header img {
    display: block;
    width: 130px;
    height: 130px;
    grid-area: 1 / 1 / 4 / 2;
    align-self: center;
    border-radius: 60%;
}

header .name {
    font-size: 1.8em;
    font-weight: 800;
    grid-area: 1 / 3 / 2 / 3;
    align-self: center;
}

header .profession {
    grid-area: 2 / 3 / 3 / 3;
    font-weight: 300;
    font-size: 1.2em;
    align-self: center;
}

header .links {
    grid-area: 3 / 3 / 4 / 3;
    font-weight: 300;
    font-size: 0.9em;
    align-self: center;
    color: rgb(167, 167, 167)
}

header .links a {
    display: inline-block;
    grid-area: 3 / 3 / 4 / 3;
    font-weight: 600;
    align-self: center;
    text-transform: up;
    color: rgb(255, 67, 38);

    transition: font-weight .1s;
}

header .links a:hover {
    font-weight: 700;
    text-decoration: none;
}




/* 
-----------------------------------------------------------------------------------
PUBLICATIONS 
-----------------------------------------------------------------------------------
*/

.publications {
    padding: 0;
    list-style: none;
    position: relative;
    left: -2.5em;
    width: calc(100% + 5em);
}

.publications li {
    display: grid;
    grid-template-columns: auto 250px;

    margin: 1em 1em 2em 1em;
    background-color: rgb(252, 252, 252);
    border-radius: 5px;
    box-shadow: 10px 0px 25px 10px rgba(100, 114, 177, 0.049);
    /*     border: 1px solid rgb(255, 255, 255);
    border-left: 5px solid rgb(247, 84, 56); */
}

.publications .paper-img {
    grid-area: 1 / 2 / 2 / 2;
    width: 100%;
    height: 100%;

    border-radius: 0px 5px 5px 0px;
    object-fit: cover;
}

.publications .paper-info {
    grid-area: 1 / 1 / 2 / 2;
    padding: 1.2em;
    padding-left: 1.5em;
    align-self: center;
}

.publications .name {
    padding: 0;
    margin: 0;
    font-size: 1.0em;
    line-height: 1.3em;
    font-weight: 700;

}

.publications .venue {
    display: hidden;
    margin: 0.2em 0em;
    font-weight: 500;
    font-size: 0.85em;
}


.publications .authors {
    margin: 0.8em 0em;
    font-size: 0.85em;
    font-weight: 300;
}

.publications .authors a {
    color: rgb(50, 50, 50);
}

.publications .authors a:hover {
    color: rgb(255, 100, 55);
    text-decoration: none;
}


.publications .authors strong {
    font-weight: 300;
}

.publications .resources {
    margin: 0;
    padding: 0;
}

.publications .resources>a {
    display: inline-block;

    margin-right: 1.1em;
    text-transform: uppercase;

    color: rgb(242, 67, 37);
    font-size: 0.8em;
    font-weight: 600;
    text-decoration: none;

    transition: font-weight .1s;
}

.resources>a:hover {
    font-weight: 800;
}


@media screen and (max-width: 600px) {
    .publications {
        padding: 0;
        list-style: none;
        position: relative;
        left: -1.5em;
        width: calc(100% + 3em);
    }


    .publications li {
        grid-template-columns: auto;
        grid-template-rows: 300px auto;
    }

    .publications .paper-img {
        grid-area: 1 / 1 / 2 / 2;
        width: 100%;
        height: 100%;

        border-radius: 5px 5px 0px 0px;
        object-fit: cover;
    }

    .publications .paper-info {
        grid-area: 2 / 1 / 2 / 2;
        padding: 1.0em;
        padding-left: 1.2em;
        align-self: center;
    }


    header {
        display: block;
        margin-bottom: 0rem;
        padding: 30px 0px 10px 0px;
        grid-template-columns: auto;
        grid-template-rows: 100px auto;
    }

    header img {
        width: 100px;
        height: 100px;
        margin: auto;
    }

    header .name {
        font-size: 1.6em;
        text-align: center;
        margin: 0.5em 0;
    }

    header .profession {
        font-size: 1.1em;
        text-align: center;
        margin: 0;
        padding: 0;
    }

    header .links {
        text-align: center;
    }

}