@font-face {
    font-family: TASAOrbiter;
    src: url(../fonts/TASAOrbiterVF.woff2) format('woff2');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

* {
    /* Variablen: */
    --transitionS: 200ms;
    --transitionL: 450ms;
    --txtcolor: whitesmoke;
    --accent: #FF4E00;

    margin: 0;
    padding: 0;
    box-sizing: border-box;

    line-height: 125%;
    font-size: 16px;
    color: var(--txtcolor);
    font-family: "TASAOrbiter", sans-serif;
    font-weight: 400;

    font-synthesis: none;
    -webkit-font-smoothing: antialiased; /* Can help with overall clarity */
    -moz-osx-font-smoothing: grayscale; /* For Firefox on macOS */
}

body {
    background-color: black;
    display: flex;
    overflow: hidden;    
}
/* Hier werden teaser and content geladen, bevor sie aufgerufen werden */
.contentPreLoad {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    
    content: 
    url(../img/KAstro/KAstro_HeroVid.mp4);
}
.Container {
    height: 100vh;
    display: flex;
    flex: 1;
}
p {
    font-size: 16px;
    line-height: 24px;
}


.DynamicBG {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
}
.BGvideo {
    position: absolute;
    object-fit: cover;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}
#BGHomeVid {
    opacity: 1;
}
#BGPortVid {
    display: none;
    transition: opacity 500ms ease-in-out;
}
.BGimg {
    position: absolute;
    object-fit: cover;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}
#BGPortImg {
    display: none;
    transition: opacity 500ms ease-in-out;
}


/* ====================================================================== */
/* ===== Nav ============================================================ */

nav {
    position: sticky;
    width: 450px;
    height: 100vh;
    padding: 37px 0 37px 37px;
    display: flex;
    flex-direction: column;
    flex-shrink: unset;
    overflow-y: auto;

    /* switches scrollbar to the left
    direction: rtl; */

    background-color: #141313;
}

#LangSelect {
    display: flex;
    gap: 5px;
    margin-bottom: 37px;

    /* Remove once functional */
    opacity: 20%;
}

#Branding {
    margin-bottom: 50px;
    display: flex;
    text-decoration: none;
}
#BrandLogo {
    width: 120px;
    height: 120px;
    background: center / contain no-repeat url(../assets/M_white.svg);
}
#Branding p {
    margin-left: 10px;
    font-size: 50px;
    line-height: 60px;
}

.NavLinkBox {
    position: relative;
    
    margin: auto 0;
    display: flex;
    flex-direction: column;
    gap: 46px;
}
.NavLinkBox h1 {
    opacity: 50%;
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;

    transition: var(--transitionL);
}
.NavLinkBox h1:hover {
    opacity: 100%;

    transition: var(--transitionL);
}

.NavArea {
    height: 40px;
    overflow: hidden;
    
    display: flex;
    flex-direction: column;

    transition: var(--transitionL);
}
#aboutLink {
    text-decoration: none;
}
/* .NavArea p {
    margin-bottom: 20px;
} */
.NavAreaExpanded {
    /* height: 200px; */
    transition: var(--transitionL);
}
.NavAreaExpanded h1 {
    opacity: 100%;
    text-decoration: underline;
}
.NavAreaExpanded#ProjectList {
    height: 410px;
}
.NavArea#ProjectList a {
    opacity: 50%;
    padding: 20px 0 20px 20px;
    font-size: 24px;
    line-height: 10px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;

    transition: var(--transitionL);
}
.NavArea#ProjectList a:hover {
    opacity: 100%;
    padding: 30px 0 30px 40px;
    font-size: 32px;

    transition: var(--transitionL);
}
.NavArea#ProjectList #NavArea_ActiveProject {
    opacity: 100%;
    padding: 30px 0 30px 40px;
    font-size: 32px;
    text-decoration: underline;

    transition: var(--transitionL);
}
.WipFlag {
    margin-bottom: -10px;
}
.DisabledProj {
    opacity: 20%;
    padding: 20px 0 20px 20px;
    font-size: 24px;
    line-height: 10px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
}

#Link-KAstro-active {
    opacity: 0;
   /*  background: center / contain no-repeat url("../img/Teaser_KAstro.png"); */
}


/* Animated Underline START*/
/* .NavLabel {
    position: relative;
    display: inline-block;
}

.NavLabel::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;

    width: 0%;
    height: 2px;
    background: var(--txtcolor);

    transition: width var(--transitionS);
}
.NavLabel:hover:after {
    width: 100%;
}
.NavLabel.LineActive .NavLabel::after {
    width: 100%;
} */
/* Animated Underline END*/ 

footer {
    margin-top: 50px;
    margin-right: 45px;
    bottom: 37px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#LegalLinks {
    display: flex;
    flex-direction: column;
}
.NavArea#LegalLinks {
    height: 30px;
}
.NavAreaExpanded#LegalLinks {
    height: 300px;
}
#LegalLinks h1 {
    opacity: 50%;
    cursor: pointer;
    margin-top: 12px;
    text-transform: uppercase;
    text-decoration: none;

    transition: var(--transitionS);
}
.NavAreaExpanded#LegalLinks h1 {
    opacity: 1;
    text-decoration: underline;
}
#LegalLinks h1:hover {
    opacity: 100%;

    transition: var(--transitionS);
}
#LegalLinks p {
    margin-top: 10px;
}
.SoMeLinks {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.SoMeLinks a {
    opacity: 50%;
    width: 20px;
    transition: var(--transitionS);
}
.SoMeLinks a:hover {
    opacity: 100%;
    width: 20px;
    transition: var(--transitionS);
}

/* Blur-gradient and color */
/* see https://exord.de/blog/blur-gradients-mit-css */
#NavGradient {
    opacity: 40%;
    background: rgb(0,0,0);
    background: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}

nav .NavBlur {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 500px;
    z-index: -1;
}
nav .NavBlur:nth-child(1) {
    backdrop-filter: blur(0.5px);
    mask-image: linear-gradient(to right, black 90%, transparent 100%);
}
nav .NavBlur:nth-child(2) {
    backdrop-filter: blur(1px);
    mask-image: linear-gradient(to right, black 80%, transparent 90%);
}
nav .NavBlur:nth-child(3) {
    backdrop-filter: blur(1.5px);
    mask-image: linear-gradient(to right, black 70%, transparent 80%);
}
nav .NavBlur:nth-child(4) {
    backdrop-filter: blur(2px);
    mask-image: linear-gradient(to right, black 60%, transparent 70%);
}
nav .NavBlur:nth-child(5) {
    backdrop-filter: blur(1.5px);
    mask-image: linear-gradient(to right, black 50%, transparent 60%);
}

#BackToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 0;
    border: 1px solid;
    backdrop-filter: brightness(60%) blur(4px);
    background: center / 20px no-repeat url(../assets/Arrow.svg);
    transform: rotate(-90deg);
    z-index: 100;
    /* display gets overwritten by JS, this is only for initial load */
    display: none;
}
#BackToTop:hover {
    background-color: var(--accent);
}



/* ====================================================================== */
/* ===== About Me ======================================================= */

#AboutMePage {
    padding: 98px 75px 60px 75px;
    width: 50%;
    flex-grow: 1;
    overflow-y: auto;
    
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;

    background-color: black;
}
#AboutMePage img {
    height: 500px; 
    justify-self: left; 
    
}
#AboutMeHeader {
    display: flex;
}
#AboutMePage h1 {
    font-size: 50px;
    margin-bottom: 20px;
}
#AboutMePage h2 {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}
#AboutMePage h3 {
    font-size: 20px;
    font-weight: 700;
}
#AboutMeTxt p,#AboutMeTxt a {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 12px;
}


.CvEntry {
    margin-bottom: 20px;
}
.CvEntry p{
    font-size: 16px;
}


.Software {
    max-width: 500px;
    grid-area: 2 / 2 / 5 / 2;
}
.SoftEntry {
    margin-bottom: 24px;
}
.SoftTitle {
    display: flex;
    justify-content: space-between;
}
.SkillBar {
    width: 100%;
    height: 3px;
    margin: 5px 0;
    background-color: rgba(255, 255, 255, 0.13);
}
.Skill {
    height: 3px;
    background-color: white;
}
.SoftEntry:hover .Skill {
    background-color: var(--accent);
}

.OtherFacts {
    max-width: 500px;
}
.OtherFacts p {
    margin-bottom: 8px;
}

/* == About Me / Media queries == */
@media screen and (max-width: 1220px) {
     #AboutMePage {
        grid-template-columns: 1fr;
    }
    .Software {
    max-width: 500px;
    grid-area: auto;
}
}
@media screen and (min-width: 1921px) {
    #AboutMePage {
        grid-template-columns: repeat(2, 640px);
    }
}



/* ====================================================================== */
/* ===== Projects ======================================================= */

.projectFullPage {
    width: 50%;
    flex-grow: 1;
    overflow-y: auto;
    
    display: grid;
    grid-template-columns: 50% 50%;

    background-color: black;
}

/* .ProjHero {
    width: 100%;
    height: 48vh;
    max-height: 1200px;
} */

.ProjGradient {
    position: relative;
    margin-top: -10vw;
    bottom: 0;
    height: 10vw;
    grid-column: span 2;
    background: rgb(0,0,0);
    background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    z-index: 10;
}
.ProjHeader {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 0 75px 60px 75px;

    grid-column-start: span 2;
}

.ProjSummary {
    max-width: 670px;
}
.ProjSummary h1 {
    font-size: 36px;
    padding-bottom: 20px;
}

.ProjInfo {
    margin: 0 0 10px 0;
    min-width: 240px;
    max-width: 300px;
    flex-grow: 1;
}
.ProjInfoSection {
    padding: 8px 0;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
}
.ProjInfoSectionDiv {
    border-bottom: 1px solid white;
}
.ProjInfoSection h1 {
    font-weight: 700;
    text-align: right;
    opacity: 50%;
    margin-bottom: -20px;
}

.ImgFullWidth {
    max-width: 100%;
    grid-column: span 2;
    object-fit: cover;
}
.VidShowcase {
    grid-column: span 2;
}

.YTVideoContainer {
    padding: 75px 75px 60px 75px;
    height: 70vh;
    min-height: 800px;
    grid-column: span 2;
    text-align: center;
}
.YTVideoContainer h1 {
    font-size: 36px;
    
}

.Proj2col1row {
    grid-column: span 2;

    padding: 40px 75px 40px 75px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.Proj2col2row {
    grid-column: span 2;

    padding: 40px 75px 40px 75px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.Proj2col1row p, .Proj2col2row p {
    max-width: 600px;
}

.BlockBot {
    align-self: flex-end;
}
.BlockleftTop {
    align-self: flex-start;
}
.BlockRightBot {
    align-self: flex-end;
}
.ImgOnContent {
    max-width: 100%;
    border: solid 2px white;
    margin-bottom: 30px;
    object-fit: cover;
}

.projectFullPage h2 {
    text-transform: uppercase;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 15px;
}

.ProjBGvid {
    position: relative;
    grid-column: span 2;
    overflow: hidden;
}
.ProjBGvid video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
}



/* ===== Bishop ===== */
#ProjBishop {
    color: black;
    background-color: rgb(255, 255, 255);
}
#ProjBishop .VidShowcase {
    height: 75vh;
    min-height: 600px;
    background: center / cover no-repeat url(../img/Bishop/Bishop_Concept_Hero.jpg);
}
#ProjBishop .ProjSummary>h1, #ProjBishop .ProjSummary>p {
    color: black;
}
#ProjBishop .ProjInfoSection>h1, #ProjBishop .ProjInfoSection>p, #ProjBishop .ProjInfoSection > div > a {
    color: black;
}
#ProjBishop .ProjInfoSectionDiv {
    border-bottom: 1px solid black;
}
#Bishop_fullConcept {
    grid-template-columns: 1fr 2fr;
    background-color: white;
}
#Bishop_fullConcept h2, #Bishop_fullConcept p {
    color: black;
}
#Bishop_arm {
    height: auto;
}
#Bishop_arm h2, #Bishop_arm p {
    color: black;
}
#Bishop_head {
    height: 70vh;
    background: center / contain no-repeat url(../img/Bishop/Bishop_Headshapes.jpg);
}
#Bishop_head h2, #Bishop_head p {
    color: black;
    padding-left: 20px;
}
#Bishop_Mood {
    height: 60vh;
    min-height: 660px;
    background: top / contain no-repeat #1d1d1d url(../img/Bishop/Moodboard_phase1.jpg);
}
#Bishop_world {
    height: 65vh;
    min-height: 780px;
    background: left / cover no-repeat url(../img/Bishop/Map_Solaris.jpg);
}
#Bishop_model {
    background-color: black;
}
#Bishop_model2 {
    background-color: black;
}
#Bishop_fullConcept img, #Bishop_arm img, #Bishop_model img, #Bishop_model2 img {
    width: 100%;
}

/* ===== Keele Astrograph ===== */
#ProjKAstro {
    background-color: black;
}
#KAstro_rig {
    height: 68vh;
    justify-content: space-between;
    align-items: baseline;
    background: center / contain no-repeat url(../img/KAstro/KAstro_rig.jpg);
}
#KAstro_rig .BlockRightBot {
    grid-area: 2 / 2 / 2 / 2;
}
#KAstro_dual {
    height: 65vh;
    background: left / contain no-repeat url(../img/KAstro/KAstro_colorways_linked.jpg);
}
#KAstro_dual img {
    width: 100%;
}


/* ===== Waldlotsen ===== */
#Wald_artDir {
    align-items: start;
    height: 60vw;
    min-height: 1000px;
    background: center / cover no-repeat url(../img/Waldlotsen/Goslar_CoverRendering.jpg);
}
#Wald_GeoNodes img {
    width: 90%;
    max-width: 707px;
    margin: 40px 75px 40px 20px;
    border-radius: 10px;
    box-shadow: 4px 4px 32px 16px hsla(207, 79%, 54%, 0.856); 
}
#Wald_Anim {
    height: 60vh;
    min-height: 600px;
}

/* == Projects / Media queries == */
@media screen and (max-width: 1220px) {
    #projectFullPage {
        grid-template-columns: 1fr;
    }
    .ProjHeader {
        flex-direction: column;
        justify-content: space-between;
        padding: 0 40px 60px 40px;
    }
    .Proj2col1row {
    padding: 40px 40px 40px 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
    }
    .Proj2col2row {
    grid-column: span 2;

    padding: 40px 40px 40px 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
    }
    .YTVideoContainer {
    padding: 75px 40px 60px 40px;
    height: 70vh;
    }

    #KAstro_rig {
        height: 80vh;
    }
    #KAstro_rig .BlockRightBot {
    grid-area: 3 / 1 / 3 / 1;
    }
    #KAstro_dual {
        height: 100vw;
        display: flex;
        flex-direction: column;
        background: bottom / contain no-repeat url(../img/KAstro/KAstro_colorways_linked.jpg);
    }
    #KAstro_dual img {
        width: 100%;
    }

    #Wald_artDir {
        height: 60vw;
        min-height: 850px;
    }
    #Wald_GeoNodes {
        display: flex;
        flex-direction: column;
        justify-content: left;
    }
    #Wald_GeoNodes img {
        width: 80%;
        margin: 40px;
    }
}

