@charset "UTF-8";
@font-face {
    font-family: "Roboto";
    src: url('../fonts/Roboto-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: "RobotoItalic";
    src: url('../fonts/Roboto-MediumItalic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: block;
}

@font-face {
    font-family: "RobotoBold";
    src: url('../fonts/Roboto-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: "RobotoBoldItalic";
    src: url('../fonts/Roboto-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
    font-display: block;
}

:root {
    --white: rgb(255, 255, 255);
    --red: hsl(0, 100%, 66%);
    --redContrast: hsl(0, 70%, 54%);
    --black: hsla(15, 15%, 15%, 0.8);
    --unit: calc(((100vw + 100vh) / 2)/48);
}

* {
    box-sizing: border-box;
}


/* Sections
   ========================================================================== */


/**
 * Remove the margin in all browsers.
 */

body {
    margin: 0;
}


/**
 * Render the `main` element consistently in IE.
 */

main {
    display: block;
}


/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}


/* Grouping content
   ========================================================================== */


/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
    box-sizing: content-box;
    /* 1 */
    height: 0;
    /* 1 */
    overflow: visible;
    /* 2 */
}


/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}


/* Text-level semantics
   ========================================================================== */


/**
 * Remove the gray background on active links in IE 10.
 */

a {
    background-color: transparent;
}


/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
    border-bottom: none;
    /* 1 */
    text-decoration: underline;
    /* 2 */
    text-decoration: underline dotted;
    /* 2 */
}


/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
    font-weight: bolder;
}


/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}


/**
 * Add the correct font size in all browsers.
 */

small {
    font-size: 80%;
}


/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}


/* Embedded content
   ========================================================================== */


/**
 * Remove the border on images inside links in IE 10.
 */

img {
    border-style: none;
}


/* Forms
   ========================================================================== */


/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    /* 1 */
    font-size: 100%;
    /* 1 */
    line-height: 1.15;
    /* 1 */
    margin: 0;
    /* 2 */
}


/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input {
    /* 1 */
    overflow: visible;
}


/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select {
    /* 1 */
    text-transform: none;
}


/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}


/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}


/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}


/**
 * Correct the padding in Firefox.
 */

fieldset {
    padding: 0.35em 0.75em 0.625em;
}


/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
    box-sizing: border-box;
    /* 1 */
    color: inherit;
    /* 2 */
    display: table;
    /* 1 */
    max-width: 100%;
    /* 1 */
    padding: 0;
    /* 3 */
    white-space: normal;
    /* 1 */
}


/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
    vertical-align: baseline;
}


/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
    overflow: auto;
}


/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    /* 1 */
    padding: 0;
    /* 2 */
}


/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}


/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
    -webkit-appearance: textfield;
    /* 1 */
    outline-offset: -2px;
    /* 2 */
}


/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}


/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
    -webkit-appearance: button;
    /* 1 */
    font: inherit;
    /* 2 */
}


/* Interactive
   ========================================================================== */


/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
    display: block;
}


/*
 * Add the correct display in all browsers.
 */

summary {
    display: list-item;
}


/* Misc
   ========================================================================== */


/**
 * Add the correct display in IE 10+.
 */

template {
    display: none;
}


/**
 * Add the correct display in IE 10.
 */

[hidden] {
    display: none;
}


/*}*/

body {
    font-family: Roboto, Arial, Helvetica, sans-serif;
    font-size: var(--unit);
    font-weight: normal;
    font-style: normal;
    color: var(--white);
    background-color: var(--black);
    overflow: hidden;
}

h1 {
    font-family: RobotoBoldItalic, Arial, Helvetica, sans-serif;
    font-size: calc(var(--unit)*4);
    font-weight: normal;
    font-style: italic;
    line-height: 0.9;
    letter-spacing: 0.1em;
}

h2 {
    font-family: RobotoBoldItalic, Arial, Helvetica, sans-serif;
    font-size: inherit;
    font-weight: bold;
    font-style: italic;
    letter-spacing: 0.2em;
}

h3 {
    font-family: RobotoBoldItalic, Arial, Helvetica, sans-serif;
    font-size: calc(var(--unit)*1.5);
    font-weight: normal;
    font-style: italic;
    line-height: 0.9;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    width: fit-content;
    color: var(--black);
}

h3::before {
    position: absolute;
    left: 0;
    top: 100%;
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--black);
}

h4 {
    position: relative;
    display: inline;
}

h4::before {
    position: absolute;
    left: 0;
    top: 100%;
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--white);
}

h5 {
    font-family: RobotoBoldItalic, Arial, Helvetica, sans-serif;
    font-size: inherit;
    font-weight: bold;
    font-style: italic;
}

a {
    font-family: RobotoBoldItalic, Arial, Helvetica, sans-serif;
    font-size: inherit;
    font-weight: bold;
    font-style: italic;
    color: inherit;
    text-decoration: none;
    transition: all .3s ease;
}

a:hover {
    color: none;
}

a:visited {
    color: none;
}

header {
    position: absolute;
    z-index: 3;
}

nav {
    position: relative;
    width: calc(100vw/3*1);
    left: calc(100vw/3*-1);
    padding: calc(var(--unit) * 2) var(--unit);
    text-align: right;
    animation: nav_ani 0.35s ease-in-out 0.3s 1 forwards;
}

nav div {
    margin: 0 0 calc(var(--unit)/2) 0;
}

nav a {
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.2em;
    margin: var(--unit);
    position: relative;
    transition: all .3s ease;
}

nav a.active {
    color: var(--red);
}

nav a::before {
    position: absolute;
    left: 0;
    top: 100%;
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--red);
}

nav a:hover::before {
    background-color: var(--red);
}

main {
    position: relative;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

.main_imageBox {
    position: absolute;
    top: 0;
    left: 100vw;
    width: calc(100vw/3*2);
    height: calc(100vh/4*3);
    overflow: hidden;
    z-index: 2;
    transition: all .3s ease;
    animation: main_imageBox_ani 0.4s ease-in-out 0.2s 1 forwards;
}

.main_imageBox.off {
    top: calc((100vh / 4*3) * -1);
}

.main_image {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.body_image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -2;
    pointer-events: none;
    background-image: url(../images/nina-kind-bg.webp);
    background-position: center;
    background-size: cover;
    /* animation: body_image_ani 200s ease 0s infinite alternate; */
}

.body_effect {
    position: absolute;
    background: linear-gradient(90deg, hsla(0, 100%, 66%, 0%) 0%, hsla(0, 100%, 66%, 95%) 25%, hsla(0, 100%, 66%, 0%) 50%, hsla(0, 0%, 100%, 0%) 50%, hsla(0, 0%, 100%, 95%) 75%, hsla(0, 0%, 100%, 0%) 100%);
    top: 0;
    left: -200vw;
    width: 400vw;
    height: 100vh;
    z-index: -1;
    backdrop-filter: opacity(50%);
    pointer-events: none;
    transition: all 0.3s ease-in-out;
}

.body_effect_misc {
    position: absolute;
    background: linear-gradient(90deg, hsla(0, 100%, 66%, 0%) 0%, hsla(0, 100%, 66%, 95%) 25%, hsla(0, 100%, 66%, 0%) 50%, hsla(0, 0%, 100%, 0%) 50%, hsla(0, 0%, 100%, 95%) 75%, hsla(0, 0%, 100%, 0%) 100%);
    top: 0;
    left: -200vw;
    width: 400vw;
    height: 100vh;
    z-index: -1;
    backdrop-filter: opacity(50%);
    pointer-events: none;
}

#titleBox {
    position: relative;
    left: calc(100vw/3*-1);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: calc(100vw/3*1);
    height: 50vh;
    background: var(--red);
    padding: calc(var(--unit) * 2);
    transition: all .3s ease;
    animation: titleBox_ani 0.45s ease-in-out 0.1s 1 forwards;
}

#titleBox h1,
#titleBox h2 {
    text-align: right;
    margin: 0;
    text-transform: uppercase;
}


/* #titleBox h1 {
    margin-bottom: var(--unit);
} */

#titleBox h2 {
    line-height: calc(var(--unit)*1.5);
}

.misc {
    /* position: absolute; */
    /* z-index: 5; */
    /* top: calc(100vh/3*0); */
    left: calc(100vw/3*1);
    /* display: flex; */
    /* flex-direction: column; */
    /* justify-content: flex-start; */
    width: calc(100vw/3*2);
    padding: var(--unit);
    /* height: 100%; */
    overflow-y: scroll;
    overflow-x: hidden;
    transition: all .3s ease;
}

#portfolio,
#vita,
#themen,
#contact {
    position: absolute;
    z-index: 5;
    top: calc(100vh/3*0);
    left: calc(100vw/3*3);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: calc(100vw/3*2);
    padding: calc(var(--unit)*2);
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    transition: all .3s ease;
}

#portfolio.on,
#vita.on,
#themen.on,
#contact.on {
    left: calc(100vw/3*1);
}

#portfolio>h3,
#vita>h3,
#themen>h3,
#contact>h3 {
    margin-top: 0;
}

#vita a,
#contact a {
    color: var(--black);
}

#portfolio,
#themen,
.misc {
    color: var(--black);
}

#portfolio a,
#themen a,
.misc a {
    color: var(--red);
}

#portfolio h3,
#themen h3,
.misc h3 {
    color: var(--red);
}

#portfolio h3::before,
#themen h3::before,
.misc h3::before {
    background-color: var(--red);
}

#portfolio h4::before,
#themen h4::before,
.misc h4::before {
    background-color: var(--black);
}


/* #vita,
#themen {
    backdrop-filter: blur(50px);
} */

.box {
    margin-bottom: calc(var(--unit)*2);
}

.themenImgBox {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

.themenImgBox>div {
    width: 48%;
}

.themenImgBox img {
    width: 100%;
    height: auto;
}

.--white {
    left: -200vw;
}

.--red {
    left: 0vw;
}

#titleBox.--noneRed {
    background: none;
    color: var(--red);
}


/* #portfolio .box:last-of-type,
#vita .box:last-of-type,
#themen .box:last-of-type,
#contact .box:last-of-type {
    margin-bottom: 0;
} */


/* .box *:last-of-type {
    margin-bottom: 0;
} */

@media (max-width: 812px) {
    h1 {
        font-size: calc(var(--unit)*3.5);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: calc(var(--unit)*3.25);
    }
}

@media (max-width: 600px) {
    .main_image {
        width: 120%;
    }
    h1 {
        font-size: calc(var(--unit)*3);
    }
    #titleBox h2 {
        line-height: calc(var(--unit)*1.25);
    }
}

@media (max-width: 420px) {
    .main_image {
        position: relative;
        top: -30vh;
        left: -30vw;
        width: 100vw;
        height: 120vh;
        object-fit: cover;
    }
    #titleBox {
        overflow: hidden;
    }
    h1 {
        font-size: calc(var(--unit)*2);
    }
    #titleBox h2 {
        line-height: calc(var(--unit)*1);
        letter-spacing: 0.1em;
    }
    nav a {
        letter-spacing: 0.1em;
    }
}

@keyframes body_effect_ani {
    100% {
        left: 0vw;
    }
}

@keyframes main_imageBox_ani {
    100% {
        left: calc(100vw/3*1);
    }
}

@keyframes titleBox_ani {
    100% {
        left: 0vw;
    }
}

@keyframes nav_ani {
    100% {
        left: 0vw;
    }
}


/* @keyframes body_image_ani {
    100% {
        background-position: 100% 0%;
    }
} */