@font-face {
    font-family: Space Grotesk;
    src: url("fonts/SpaceGrotesk-Medium.otf") format("opentype");
}

@font-face {
    font-family: Space Grotesk Light;
    font-weight: bold;
    src: url("fonts/SpaceGrotesk-Light.otf") format("opentype");
}


a, body, div, footer, h1, h2, header, html, img, nav, object, p, section, ul {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align:baseline
}

 header {
    display:block
}

body{
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
}



    

* {
    box-sizing:border-box
}

a {
  text-decoration: none; /* no underline by default */
}

a:hover {
  text-decoration: underline; /* underline on hover */
}


html {
    font-size: 12px;
    --scroll-behavior: smooth;
    scroll-behavior:smooth;
}

body {
    font-family: Space Grotesk;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    color: floralwhite;
    background-color: black;
}

ul {
    padding-left: 4rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.datenschutzerklaerung {
    padding-bottom: 1rem;
}

li {
    list-style-type: circle;
}

a {
    color: inherit;
    text-decoration:none
}

.title {
    font-size: xx-large;
}


h2 {
    font-size: x-large;
    padding-bottom: 0.5rem;
    padding-top: 0.5rem;
}

#home {
    padding: 0 2.5rem;
    margin: 0;
    width: 100%;
    min-height: 92.3vh;
    border-bottom: .5vw solid floralwhite;
    font-size: 1.4rem;
}


.header {
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 0.4;
    letter-spacing:.01em;
}




.header {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    padding-top: 2rem;
    padding-bottom: 0.8rem;
    border-bottom: .5vw solid floralwhite;
    display: flex;
    justify-content: space-between;
    align-items:center
}

nav {
    display: none;
}

@media screen and (min-width: 250px) {
    nav {
    display:block
    }
    nav ul {
        display:flex
    }
    nav ul li + li {
        margin-left:2rem
    }
}

.nameandmotto {
    container-type: inline-size;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
    justify-content: space-between;
    align-content: center;
}


.name {
    padding-top: 7rem;
    font-size: clamp(0.5rem, 12cqi, 13rem);
    text-align: center;
    white-space: nowrap;
    font-family: "Space Grotesk Light", sans-serif;
    letter-spacing: -3px;
}

@media screen and (min-width: 350px) {
    .name {
        letter-spacing: -6px;
    }
}

@media screen and (min-width: 850px) {
    .name {
        letter-spacing: -10px;
    }
}

.motto {
    font-size: 7rem;
    padding-top: 4rem;
    letter-spacing: -0.2rem;
    font-family: "Space Grotesk Light", sans-serif;
    container-type: inline-size;
}

.motto div {
    display: flex;
    padding-bottom: 1rem;
    font-size: clamp(0.5rem, 9cqi, 8rem);
}


.motto div .divider {
  flex: 1;
}

.motto div .divider:first-of-type {
  text-align: right;
}




/* .rand {
    border-bottom: .5vw solid #fff;
    height: 98.5vh;
}
 */




#about {
    padding: 0 2.5rem;
    margin: 0;
    width: 100%;
    min-height: 99vh;
    border-bottom:.5vw solid floralwhite;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.aboutheader {
    font-weight: 500;
    font-size: 1.3rem;
    letter-spacing:.01em;
    height: fit-content;
    padding: 0;
    margin: 0;
    padding-bottom: 0.3rem;
    padding-top: 1rem;
}

.aboutcontent {
    display: flex;
    flex-direction: column;
    flex-grow: 2;
}

/* @media screen and (min-width: 250px) {
    .aboutcontent {
        flex-direction: row;
    }
} */


.aboutdescription {
    flex-basis: 50%;
    font-size: 2.5rem;
    letter-spacing:0em;
    container-type: inline-size;
    padding: 0;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-right: 1rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: justify;
    width: 100%;
    font-family: 'Space Grotesk Light';
    display: flex;
    flex-direction: column;
}

.aboutdescription p {
    padding-bottom: 1rem;
}

.aboutdescription > p{
    font-size: clamp(1.5rem, 3.8cqi, 2.8rem);
}

.aboutpic {
    flex-basis: 50%;
    padding: 0;
    padding-top: 1rem;
    padding-bottom: 1.5rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aboutpic img {
    height: 500px;
}

@media screen and (min-width: 800px) {
    .aboutcontent {
    flex-direction: row;
    }
    .aboutpic img {
    /* height:88vh; */
    width: auto;
    }
}


@media screen and (min-width: 1000px) {
    .aboutcontent {
    flex-direction: row;
    }
    .aboutpic img {
    height:80vh;
    }
}



#publications {
    padding: 0 2.5rem;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 99vh;
    border-bottom:.5vw solid floralwhite;
}



.publications-container {
    display: flex;
    flex-direction: column;
    container-type: inline-size;
}

.publicationsheader {
    font-weight: 500;
    font-size: 1.3rem;
    letter-spacing:.01em;
    padding: 0;
    padding-bottom: 0.3rem;
    margin: 0;
    padding-top: 1rem;
}




.firstpublication {
    grid-area: firstpublication;
    container-type: inline-size;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-right: 0.3rem;
    
    /* border-right:0.5px solid rgb(214, 214, 214); */
    /* border-top:0.5px solid rgb(214, 214, 214); */
    padding-top: 0.4rem;
}


.firstpublication > .title{
    font-size: clamp(2.5rem, 3cqi, 2.5rem);
    padding-bottom: 1.5rem;
}

.firstpublication > .coauthor{
    font-size: clamp(1.5rem, 3cqi, 2rem);
    letter-spacing:.01em;
    padding-bottom: 0.5rem;
}

.firstpublication > .journal{
    font-size: clamp(1.5rem, 3cqi, 2.5rem);
    letter-spacing:.01em;
}



.firstabstract {
    font-family: Space Grotesk Light;
    grid-area: firstabstract;
    container-type: inline-size;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-bottom: 0.4rem;
    border-bottom:0.5px solid rgb(214, 214, 214);
    /* border-top:0.5px solid rgb(214, 214, 214); */
    padding-top: 0.4rem;
    text-align: justify;
}
.firstabstract > .abstract{
    font-size: clamp(1.5rem, 3cqi, 2rem);
    letter-spacing:.01em;
}

.secondpublication {
    grid-area: secondpublication;
    container-type: inline-size;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-right: 0.3rem;
    padding-top: 0.4rem;
    /* border-right:0.5px solid rgb(214, 214, 214); */
    padding-bottom: 0.4rem;
}


.secondpublication > .title{
    font-size: clamp(2.5rem, 3cqi, 2.5rem);
    padding-bottom: 1.5rem;
}

.secondpublication > .coauthor{
    font-size: clamp(1.5rem, 3cqi, 2rem);
    letter-spacing:.01em;
    padding-bottom: 0.5rem;
}

.secondpublication > .journal{
    font-size: clamp(1.5rem, 3cqi, 2rem);
    letter-spacing:.01em;
}

.secondabstract {
    font-family: Space Grotesk Light;
    grid-area: secondabstract;
    container-type: inline-size;
    padding-top: 0.4rem;
    border-bottom:0.5px solid rgb(214, 214, 214);
    padding-bottom: 0.4rem;
    text-align: justify;
}

.secondabstract > .abstract{
    font-size: clamp(1.5rem, 3cqi, 2rem);
    letter-spacing:.01em;
}


.thirdpublication {
    grid-area: thirdpublication;
    container-type: inline-size;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-right: 0.3rem;
    padding-top: 0.4rem;
    /* border-right:0.5px solid rgb(214, 214, 214); */
    /* border-bottom:0.5px solid rgb(214, 214, 214); */
    padding-bottom: 0.4rem;
}
.thirdpublication a {
    text-decoration: underline;
}

.thirdpublication > .title{
    font-size: clamp(2.5rem, 3cqi, 2.5rem);
    padding-bottom: 1.5rem;
}

.thirdpublication > .coauthor{
    font-size: clamp(1.5rem, 3cqi, 2rem);
    letter-spacing:.01em;
    padding-bottom: 0.5rem;
}

.thirdpublication > .journal{
    font-size: clamp(1.5rem, 3cqi, 2rem);
    letter-spacing:.01em;
}

.thirdabstract {
    font-family: Space Grotesk Light;
    grid-area: thirdabstract;
    container-type: inline-size;
    padding-top: 0.4rem;
    /* border-bottom:0.5px solid rgb(214, 214, 214); */
    padding-bottom: 0.4rem;
    text-align: justify;
}

.thirdabstract > .abstract{
    font-size: clamp(1.5rem, 3cqi, 2rem);
    letter-spacing:.01em;
}


@media screen and (min-width: 800px) {
    .publications-container {
        display: grid;
        grid-template-areas:
            "firstpublication firstabstract"
            "secondpublication secondabstract"
            "thirdpublication thirdabstract";
        grid-template-columns: 50% 50%;
        grid-template-rows: min-content min-content;
    }
    .firstpublication {
        border-bottom:0.5px solid rgb(214, 214, 214);
    }

    .secondpublication {
        border-bottom:0.5px solid rgb(214, 214, 214);
    }
    .secondabstract {
        padding-left: 0.4rem;
    }
    .firstabstract {
        padding-left: 0.4rem;
    }
    .thirdabstract {
        padding-left: 0.4rem;
    }
}


.publicationswrapper {
    display: flex;
    flex-direction: column;
    /* height: 92%; */
}








#talks {
    padding: 0 2.5rem;
    margin: 0;
    width: 100%;
    min-height: 99vh;
    border-bottom:.5vw solid floralwhite;
}

.talkswrapper {
    display: flex;
    flex-direction: column;
    /* height: 92%; */
}

.talksheader {
    grid-area: aboutheader;
    font-weight: 500;
    font-size: 1.3rem;
    letter-spacing:.01em;
    height: fit-content;
    padding: 0;
    margin: 0;
    padding-bottom: 0.3rem;
    padding-top: 1rem;
}

.talksgrid {
    align-items: stretch;
    padding-top: 0rem;
    padding-bottom: 1rem;
}



.talkitem {
    container-type: inline-size;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-bottom:0.5px solid rgb(214, 214, 214);
    padding-top: 0.4rem;
}

.l3 {
    border-bottom:none;
}

.talkitem > a{
    font-size: clamp(2.5rem, 3cqi, 2.5rem);
    padding-bottom: 0.5rem;
}

.talkitem > .place{
    font-size: clamp(1.5rem, 3cqi, 2rem);
    letter-spacing:.01em;
    padding-bottom: 0.5rem;
}
.talkitem > .talktitle{
    font-size: clamp(2.5rem, 3cqi, 2.5rem);
    padding-bottom: 0.5rem;
}

.talkitem > .talkdate{
    font-size: clamp(1.5rem, 3cqi, 2rem);
    letter-spacing:.01em;
    padding-bottom: 0.5rem;
}


@media screen and (min-width: 800px) {
    .talksgrid {
        display: grid;
        grid-template-areas:
            "l0 r0"
            "l1 r1"
            "l2 r2"
            "l3 r3";
        grid-template-columns: 50% 50%;
        grid-template-rows: min-content min-content;
    }

    .l0 {
        grid-area: l0;
        border-top:none;
        border-right:0.5px solid rgb(214, 214, 214);
    }

    .r0 {
        grid-area: r0;
        border-top:none;
        padding-left: 0.3rem;
    }

    .l1 {
        grid-area: l1;
        border-right:0.5px solid rgb(214, 214, 214);
    }

    .r1 {
        grid-area: r1;
        padding-left: 0.3rem;
    }

    .l2 {
        grid-area: l2;
        border-right:0.5px solid rgb(214, 214, 214);
    }

    .r2 {
        grid-area: r2;
        padding-left: 0.3rem;
    }
    
    .l3 {
        grid-area: l3;
        border-right:0.5px solid rgb(214, 214, 214);
        border-bottom:none;
    }
}





footer {
    padding: 0 2.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    margin: 0;
    width: 100%;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: .04em;
}

.footerwrapper {
    display: flex;
    container-type: inline-size;
    justify-content: space-between;
}

.footerwrapper > .contactmail{
    font-size: clamp(1rem, 2cqi, 2rem);
}

.contactmail {
    display: flex;
    flex-direction: column;
}

.legal {
    display: flex;
    align-self: flex-end;
}

.legal a{
    padding-right: 1rem;
}

.contactinformation {
    display: flex;
    flex-direction: column;
}
