*, *::before, *::after{
    box-sizing: border-box; 
}

*{
    margin: 0; 
    padding: 0; 
}

ul[role='list'], ol[role='list']{
    list-style: none; 
}

html:focus-within{
    scroll-behavior: smooth; 
}

a:not([class]){
    text-decoration-skip-ink: auto; 
}

img, picture, svg, video, canvas{
    max-width: 100%;
    height: auto;
}


img, picture, svg, video, canvas{
    background-repeat: no-repeat; 
    background-size: cover;
}

img, picture, svg, video, canvas{
    vertical-align: middle; 
}

input, button, textarea, select{
    font: inherit; 
}

@media (prefers-reduced-motion: reduce){
    html:focus-within {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
        transition: none;
    }
}

body {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
}

b {
    font-weight: 600;
}

a {
    color: #126FE7;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

body, html{
    height: 100%; 
    scroll-behavior: smooth; 
}

#titleCover {
    background-image: url(img/coverImg.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 70px;
    height: 100vh; 
    max-height: 1000px;
}

#titleContainer {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);    
    background: rgba(255,255,255,0.6);
    padding: 30px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

#titleLogo {
    margin-right: 5px;
    width: 50px;
    height: auto;
}

#titleType {
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

#titleHeadline {
    font-size: 22px;
    font-weight: 700;
}

#titleName {
    font-size: 18px;
    font-weight: 500;
}

#menuBurger  {
    display: none;
}

#menuBurgerOverlay {
    display: none;
}

#desktopNav {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);    
    background: rgba(255,255,255,0.6);
    box-shadow: none;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    z-index: 100;
    width: 700px;
    border-radius: 40px;
    transition: all 200ms cubic-bezier(0.420, 0.000, 0.580, 1.000);
    transition-timing-function: cubic-bezier(0.420, 0.000, 0.580, 1.000);
}

#desktopNav.fixed {
    position: fixed;
    top: 0;
    background: white;
    color: #000;
    width: 100%;
    border-radius: 0;
    border: none;   
    justify-content: space-between;
    box-shadow: 0 0 8px rgba(0,0,0,0.2);
}

#navLogo {
    width: 30px;
    height: auto;
    transition: width 400ms cubic-bezier(0.680, -0.550, 0.265, 1.550);
    transition-timing-function: cubic-bezier(0.680, -0.550, 0.265, 1.550);
}

#navLogo.inVisible {
    opacity: 0;
    width: 0;
}

#desktopNavContainer {
    display: flex;
    align-items: center;
    gap: 40px;
}

.navButton {
    border-bottom: 4px solid rgba(0,0,0,0);
    font-size: 22px;
    font-weight: 600;
    padding: 22px 0 18px 0;
    cursor: pointer;
}

.navButton:hover {
    color: #126FE7;
}

.navButton.active {
    color: #126FE7;
    border-color: #126FE7;
}

#sendEmailNav {
    width: 30px;
    height: auto;
    transition: width 400ms cubic-bezier(0.680, -0.550, 0.265, 1.550);
    transition-timing-function: cubic-bezier(0.680, -0.550, 0.265, 1.550);
}

#sendEmailNav.inVisible {
    opacity: 0;
    width: 0;
}

#sendEmailNav:hover {
    content: url(img/sendEmailBlue.svg);
}

#introductionContainer {
    background-image: url(img/pattern.png);
    background-repeat: repeat;
    background-size: 50px 50px;
    padding: 100px 10%;
    border-bottom: 1px solid #D9D9D9;
    border-top: 1px solid white;
}

#introduction {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

#avatar {
    width: 200px;
    height: 200px;
}

#introductionHeadline {
    font-size: 32px;
    font-weight: 700;
}

#introductionCopy {
    margin-top: 10px;
    font-size: 20px;
    line-height: 26px;
    font-weight: 500;
}

#timeline {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 100px;
    padding: 100px 10%;
}

#timelineExperience {
    margin-left: 90px;
}

#timelineMinijobs {
    margin-left: 160px;
}

#timelineEducation {
    margin-left: 90px;
}

.timelineHeadline {
    color: black;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 70px;
    margin-left: 70px;
}

.timelineHeadlineSmall {
    color: black;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
}

.timelineEntry {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 50px;
}

.timelineLine {
    background-image: url(img/line.png);
    background-repeat: repeat-y;
    background-size: 2px 4px;
    background-position: center;
    padding-top: 10px;
}

.timelineLineFirstChild {
    margin-top: 10px;
    padding-top: 0px;
}

.timelineLineLastChild {
    height: 30px;
}

.timelineDot {
    width: 20px;
    height: 20px;
    background-color: #D9D9D9;
    border: solid 3px white;
    border-radius: 20px;
}

.timelineEntryText {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 50px;    
}

.timelineEntryText.selfEmployed {
    padding-bottom: 60px;
}

.timelineEntryText.lastChild {
    padding-bottom: 0;
}

.EntryTextPosition {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.EntryTextPosition:hover {
    cursor: pointer;
}

.EntryTextPosition.selfEmployed:hover {
    cursor: text;
}

.EntryTextPosition.sabbatical:hover {
    cursor: text;
}

.EntryTextSchool {
    font-size: 24px;
    font-weight: 500;
    line-height: 30px;
    margin-top: 5px;
    margin-bottom: 10px;
}

.EntryTextCompany {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.EntryTextTime {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.EntryTextDot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: black;
    border-radius: 6px;
}

.EntryTextLocation {
    color: #919191;
}

.EntryTextAbstract {
    overflow: hidden;
    height: 0;
    max-width: 90%;
    font-size: 14px;
    line-height: 18px;
}

.sabbatical {
    color: #919191;
}

.EntryTextTime.sabbatical {
   padding-bottom: 25px;
}

.EntryTextDot.sabbatical {
    background-color: #919191;
}

#workflowChartContainer {
    background-image: url(img/pattern.png);
    background-repeat: repeat;
    background-size: 50px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 70px;
    padding-bottom: 100px;
    border-bottom: 1px solid #D9D9D9;
    border-top: 1px solid white;
}

#workflowChart {
    width: 30%;
    max-width: 510px;
    margin-left: 1%;
    height: auto;
}

#workflowIntroduction {
    margin-top: 50px;
    width: 70%;
    max-width: 550px;
}

#workflowIntroductionHeadline {
    text-align: center;
    font-size: 24px;
    font-weight: 600; 
}

#workflowIntroductionCopy {
    text-align: center;
    margin-top: 20px; 
    font-size: 14px;
    line-height: 18px;
}

.workflowHeadline {
    font-size: 32px;
    font-weight: 700;
}

.workflowSubheadline {
    margin-top: 30px;
    font-size: 24px;
    font-weight: 500;       
}

.workflowCopy {
    margin-top: 20px; 
    font-size: 14px;
    line-height: 18px;
}

#workflowInfo {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 100px;
}


.workflowText {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 100px 20%;
}

#userflow {
    background-color: #F8F8F8;
    border-top: 1px solid #D9D9D9;
    border-bottom: 1px solid #D9D9D9;  
}

#wireframes {
    background-image: url(img/pattern.png);
    background-repeat: repeat;
    background-size: 50px 50px;
    border-top: 1px solid #D9D9D9;
    border-bottom: 1px solid #D9D9D9;  
}

#visualdesign {
    background-color: #F8F8F8;
    border-top: 1px solid #D9D9D9;
    border-bottom: 1px solid #D9D9D9;  
}

#uilibrary {
    background-image: url(img/pattern.png);
    background-repeat: repeat;
    background-size: 50px 50px;
    border-top: 1px solid #D9D9D9;
    border-bottom: 1px solid #D9D9D9;  
}

.workflowTextContainer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 60%;
}

.workflowImage {
    width: 30%;
    height: auto;
}

#projectsContainer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 50px;
    padding: 80px 50px 200px 50px;
    border-top: 1px solid white;
}

.projectsTile{
    display: flex;
    flex-direction: row;
    justify-content: center;
    border-radius: 10px;
    background-color: white;
    overflow: hidden;
    border: 1px solid #D9D9D9;
}

.projectsImage {
    width: 60%;
    height: auto;
}

.projectsText {
    padding: 30px;
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

.projectsHeadline {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px; 
}

.projectsSubHeadline {
    font-size: 18px;
    font-weight: 500;
    font-style: italic;
    margin-bottom: 10px;    
}

.projectsCopy {
    font-size: 14px;
    line-height: 18px;
}

.projectLink {
    display: flex;
    align-items: center;
}

.arrowLink {
    background-image: url(img/arrowLink.svg);
    background-position: center center;
    background-repeat: no-repeat;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

#uiContainer {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 80px 0 100px 0;
    border-top: 1px solid white;
}

.uiSection {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.uiContainerRow {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 0 5%;
}

.uiDesktop {
    width: calc(50% - 10px);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #D9D9D9;
}

.uiPhoneContainer {
    width: calc(50% - 10px);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.uiPhone {
    border-radius: 10px;
    overflow: hidden;
    max-width: 200px;
    cursor: pointer;
    border: 1px solid #D9D9D9;
}

#sketchesContainer{
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 80px 30px 200px 30px;
    border-top: 1px solid white;
}

.sketchesTile{
    overflow: hidden;
    border-radius: 10px;
    width: 400px;
    height: 400px;
    cursor: pointer;
}

.withBG{
    background-image: url(img/pattern.png);
    background-repeat: repeat;
    background-size: 50px 50px;; 
}

footer {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background-color: #F5F5F5;
    border-top: solid 1px #d9d9d9;
    color: black;
    line-height: 22px;
    padding: 50px 0 100px 0;
}

#footerLogo {
    margin-right: 13px;
    height: 50px;
    width: auto;
}

#lightBox {
    width: 100vw;
    height: 100vh;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);    
    background: rgba(0,0,0,0.7);
    position: fixed;
    z-index: 1000;
    overflow-y: scroll;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

#closeLightboxButton {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 20px;
    right: 20px;
    padding: 15px;
    border-radius: 50px;
    background-color: black;
    box-shadow: 0 0 8px rgba(0,0,0,0.5);
    border: 1.5px solid white;
    cursor: pointer;
}

#closeLightbox {
    width: 20px;
    height: auto;
}

.imageLightbox {
    max-height: calc(100vh - 20px);
    max-width: calc(100vw - 100px);
    border-radius: 10px;
}

.imageLightbox.smaller {
    max-height: 740px;
}

@media only screen and (min-width: 1200px) {
    #introductionContainer {
        padding: 100px 15%;
    }

    #timeline {
        padding: 100px 15%;
    }

    #projectsContainer{
        padding: 100px 15% 200px 15%;
    }
}

@media only screen and (min-width: 1300px) {

    #timelineExperience {
        margin-left: 250px;
    }

    #timelineMinijobs {
        margin-left: 320px;
    }

    #timelineEducation {
        margin-left: 250px;
    }

    .uiPhoneContainer {
        padding: 0 5%;
    }

}

@media only screen and (min-width: 1500px) {

    #introductionContainer {
        padding: 100px 18%;
    }

    #timeline {
        padding: 100px 18%;
    }
}

@media only screen and (min-width: 1700px) {

    #introductionContainer {
        padding: 100px 23%;
    }

    #timeline {
        padding: 100px 23%;
    }

    .workflowText {
        padding: 100px 25%;
    }

    .uiPhoneContainer {
        padding: 0 8%;
    }

    .uiPhone {
        max-width: 240px;
    }
}

@media only screen and (min-width: 2200px) {

    #introductionContainer {
        padding: 100px 28%;
    }

    #timeline {
        padding: 100px 28%;
    }

    .uiPhone {
        max-width: 280px;
    }
}

@media only screen and (max-width: 1400px) {
    
    .sketchesTile{
        width: 350px;
        height: 350px;
    }

    .workflowText {
        padding: 100px 15%;
    }

    .uiPhone {
        max-width: 180px;
    }
}

@media only screen and (max-width: 1100px) {

    #titleCover {
        max-height: 700px;
    }

    #avatar {
        width: 160px;
        height: 160px;
    }

    #timelineExperience {
        margin-left: 70px;
    }

    #timelineMinijobs {
        margin-left: 140px;
    }

    #timelineEducation {
        margin-left: 70px;
    }

    #workflowChart {
        width: 40%;
        margin-left: 0.6%;
    }

    .uiPhone {
        max-width: 160px;
    }

    #desktopNavContainer {
        gap: 30px;
    }

}

@media only screen and (max-width: 980px) {
   
    #uiContainer {
        gap: 100px;
    }

    .uiSection {
        gap: 50px;
    }

    .uiContainerRow {
        flex-direction: column;
        gap: 50px;
    }

    .uiDesktop {
        width: 100%;
    }
    
    .uiPhoneContainer {
        width: 100%;
        padding: 0;
    }    

}

@media only screen and (max-width: 900px) {

    #introductionContainer {
        padding-top: 50px;
    }

    #introduction {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    #avatar {
        width: 80px;
        height: 80px;
    }

    #timelineExperience {
        margin-left: 0;
    }
    
    #timelineMinijobs {
        margin-left: 70px;
    }
    
    #timelineEducation {
        margin-left: 0;
    }

    .EntryTextAbstract {
        max-width: 100%;
    }

    .projectsHeadline {
        font-size: 24px; 
    }
    
    .projectsSubHeadline {
        font-size: 14px;
    }

    .workflowText {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding-top: 80px;
        padding-bottom: 80px; 
    }

    .workflowTextContainer {
        margin-top: 20px;
        width: 100%;
        order: 2;
    }
    
    .workflowImage {
        width: 30%;
        order: 1;
    }

    .uiPhone {
        max-width: 140px;
    }

}

#mobileHeader {
    display: none;
}

.pageHeadline {
    display: none;
}

@media only screen and (max-width: 600px) {

    html {
        font-size: 14px;
    }

    body {
        margin-top: 0 !important;
    }

    #titleCover {
        display: none;  
    }

    #mobileHeader {
        display: flex;
        position: fixed;
        width: 100%;
        padding: 0 10px;
        justify-content: space-between;
        align-items: center;
        background-color: white;
        box-shadow: 0 0 8px rgba(0,0,0,0.2);
        z-index: 100;
    }

    #mobileLogo {
        margin-left: 10px;
        width: 25px;
    }

    .pageHeadline.visible {
        margin-left: 25px;
        display: block;
        font-size: 24px;
        font-weight: 700;
    }

    #desktopNav {
        display: none;
    }

    #menuBurger  {
        background-color: white;
        display: flex;
        justify-content: center;
        align-items: center;
        border: none;
        width: 60px;
        height: 60px;
    }
    
    #burgerIcon {
        width: 24px;
        height: auto;
    }

    #menuBurgerOverlay {
        position: absolute;
        display: flex;
        flex-direction: column;
        align-content: center;
        justify-content: center;
        gap: 20px;
        padding: 10%;
        position: fixed;
        width: 100%;
        height: 100%;
        background-color: #126FE7;
        z-index: 1000;
        left: 100vw;
        transition: left 400ms cubic-bezier(0.770, 0.000, 0.175, 1.000);
        transition-timing-function: cubic-bezier(0.770, 0.000, 0.175, 1.000);
    }

    #menuBurgerOverlay.visible {
        left: 0;
    }

    #logoOverlay {
        align-self: center;
        width: 35px;
        height: auto;
        margin-right: 4px;
        margin-bottom: 20px;
    }

    #closeOverlay {
        align-self: flex-end;
        width: 25px;
        height: auto;
    }

    .burgerNavButton {
        border: none;
        background: none;
        color: white;
        font-size: 32px;
        font-weight: 600;
    }

    #sendEmail {
        display: flex;
        align-self: center;
        margin-top: 30px;
    }

    #introductionContainer {
        padding: 110px 10% 80px 10%;
    }

    #introduction {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    #avatar {
        width: 60px;
        height: 60px;
    }

    #introductionHeadline {
        font-size: 24px;
    }
    
    #introductionCopy {
        margin-top: 10px;
        font-size: 16px;
        line-height: 21px;
    }

    #timeline {
        padding: 60px 20px 100px 10px;
        gap: 50px;
    }

    .timelineHeadline {
        font-size: 38px;
        margin-bottom: 50px;
        margin-left: 30px;
    }

    .timelineHeadlineSmall {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .timelineEntry {
        gap: 10px;
    }

    .timelineLine {
        padding-top: 7px;
    }

    .timelineLineFirstChild {
        margin-top: 7px;
        padding-top: 0px;
    }
    
    .timelineLineLastChild {
        height: 27px;
    }

    .EntryTextPosition {
        justify-content: space-between;
        background-color: #F2F2F2;
        padding: 4px 15px 4px 10px;
        border-radius: 5px;
        font-size: 22px;
        margin-bottom: 0px;
    }

    .arrow {
        width: 15px;
        height: auto;
    }

    .EntryTextPosition.selfEmployed, .EntryTextPosition.sabbatical {
        background: none;
        padding: 4px 0;
    }
    
    .EntryTextSchool {
        font-size: 20px;
        line-height: 26px;
        margin-top: 5px;
        margin-bottom: 10px;
    }

    .EntryTextCompany {
        flex-wrap: wrap;
        gap: 10px;
    }

    .EntryTextAbstract {
        padding-top: 0;
        max-width: 100%;
    }

    #timelineMinijobs {
        margin-left: 30px;
    }

    #projectsContainer{
        padding: 90px 15px 100px 15px;
        gap: 30px;
    }

    .projectsTile{
        flex-direction: column;
    }

    .projectsImage {
        width: 100%;
        height: auto;
    }

    #sketchesContainer{
        padding: 90px 0 100px 0;
    }

    .sketchesTile{
        width: 350px;
        height: 350px;
    }

    #workflowChartContainer {
        padding: 110px 0 65px 0;
    }

    #workflowChart {
        width: 70%;
        margin-left: 0.4%;
    }

    #workflowIntroduction {
        margin-top: 40px;
        border-top: none;
        width: 100%;
        padding: 0 40px 0 40px;
    }

    #workflowIntroductionHeadline {
        font-size: 20px;
    }

    #workflowInfo {
        padding-bottom: 100px;
    }

    .workflowText {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 80px 10%;
    }

    .workflowHeadline {
        font-size: 28px;
    }
    
    .workflowSubheadline {
        font-size: 20px;
        margin-top: 20px;
    }

    .workflowCopy {
        margin-top: 10px;
    }

    .workflowTextContainer {
        margin-top: 30px;
        width: 100%;
        order: 2;
    }
    
    .workflowImage {
        width: 70%;
        order: 1;
    }

    #uiContainer {
        padding: 90px 0 100px 0;
        gap: 20px;
    }

    .uiContainerRow {
        gap: 20px;
    }

    .uiSection {
        gap: 20px;
    }

    .uiPhone {
        width: 50%;
    }


}