
/*#################################### ROOT ####################################*/

:root {
    --main-bg-color: #020202;
    --custom-primary: #E10028;
    --custom-secondary: #6205D3;
    --custom-highlight: #D3056F;
}

/*#################################### GENERAL ####################################*/

* {
    color: #fff;
    transition: .5s;
    scroll-behavior: smooth;
}

html body {
    background-color: var(--main-bg-color);
}

body {
    overflow-x: hidden;
}

main {
    animation-name: openpage;
    animation-duration: 2s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    transform-origin: top;
    animation-timing-function: ease-out;
    /*max-height: 0px;*/
    background-image: url(assets/Mesh-rl-short.svg);
    background-repeat: repeat-y;
    background-position: 50% -500px;
    background-size: cover;
    padding-top: 125px;
}

#viewport-ol {
    position: fixed;
    z-index: 20;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(0deg,rgba(2, 2, 2, 1) 0%, rgba(2, 2, 2, 0) 7%, rgba(2, 2, 2, 0) 93%, rgba(2, 2, 2, 1) 100%);
    pointer-events: none;
}

.background-fadeout {
    height: 250px;
    background: linear-gradient(0deg,rgba(2, 2, 2, 1) 5%, rgba(2, 2, 2, 0) 100%);
}

/*
@keyframes openpage {
    0% { 
        transform: scale(0);
        opacity: 0;
    }
    50% { 
        transform: scale(1);
    }
    100% { 
        opacity: 1;
        max-height: 10000000px;
    }
}
*/

.custom-container {
    max-width: 1200px;
    margin: 0 auto;
}
.custom-container-wide {
    max-width: 1500px;
    margin: 0 auto;
}

.reverse-img-fluid {
    height: 100%;
    width: auto;
}

.custom-border-radius {
    border-radius: 10px;
}

.perspective-1000 {
    perspective: 1000px;
}

.w-fit-content {
    width: fit-content !important;
}
@media (min-width: 576px) {
    .w-sm-fit-content {
        width: fit-content;
    }
}

.custom-border-primary { border-color: var(--custom-primary) !important; }
.custom-border-secondary { border-color: var(--custom-secondary) !important; }
.custom-border-highlight { border-color: var(--custom-highlight) !important; }

.custom-bg-primary { background-color: var(--custom-primary); }
.custom-bg-secondary { background-color: var(--custom-secondary); }
.custom-bg-highlight { background-color: var(--custom-highlight); }

/*#################################### TEXT ####################################*/

h1, h2, h3, h4 {
    font-family: orbitron, sans-serif;
    text-transform: uppercase;
}
body h1 {
    font-size: 4rem;
    letter-spacing: 5%;
}
body h2 {
    font-size: 3rem;
}
body h3, .subline-big {
    font-size: 2.375rem;
}
body h4 {
    margin-bottom: 0;
}

.subline {
    font-size: 1.8rem;
}

body p, body b {
    max-width: 60ch;
    font-size: 1.125rem;
    margin-bottom: 0;
}

body a {
    text-decoration: none;
    color: #fff;
}

.font-bitcount, .subline, .subline-big {
    font-family: 'Bitcount Grid Single', sans-serif;
}

.custom-text-primary { color: var(--custom-primary); }
.custom-text-secondary { color: var(--custom-secondary); }
.custom-text-highlight { color: var(--custom-highlight); }


/*#################################### BUTTONS ####################################*/ 

.custom-btn {
    background-color: var(--custom-secondary);
    padding: 10px 30px;
    border-radius: 50px;
    font-family: 'Bitcount Grid Single', sans-serif;
    text-align: center;
    border: none;
    transform-origin: center !important;
}
.custom-btn:hover {
    background-color: #fff;
    color: var(--custom-primary);
    transform: scale(1.1);
}

.custom-btn-big {
    font-size: 1.25rem;
    padding: 10px 50px;
    display: block;
    width: fit-content;
}

.custom-btn-fat {
    border: 4px solid var(--custom-secondary);
    background-color: #fff;
    color: var(--custom-secondary);
}
.custom-btn-fat:hover {
    border-color: var(--custom-highlight);
}

body .close-cross {  
    width: 1.8rem;
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px;
    transition-delay: 0s !important;
    cursor: pointer;
}
.close-cross:hover, .burger-nav-icon:hover {
    scale: 1.5;
    background-color: var(--custom-highlight);
    border-radius: 10px;
}

.custom-btn-contact {
    cursor: pointer;
}

.dsgvo-checkbox a, p a {
    font-size: 1.125rem;
    text-decoration: underline;
}
.dsgvo-checkbox a:hover, p a:hover {
    color: var(--custom-secondary);
}

/*#################################### HEADER / NAV ####################################*/ 

nav {
    border: #fff 1px solid;
    border-radius: 50px;
    padding: 15px 30px;
    margin-top: 50px;
    backdrop-filter: blur(5px);
    background-color: #000000cc;
}
nav ul {
    list-style: none;
    display: inline-flex;
    margin: 0;
}
nav ul li {
    margin-left: 30px;
    font-size: 1.25rem;
    text-transform: uppercase;
}
nav ul li:hover, .nav-logo:hover {
    scale: 1.2;
}
nav ul li:hover a {
    color: var(--custom-highlight);
}

.scroll-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}
.scroll-nav.nav-hidden {
    transform: translateY(-200px);
}

.burger-nav, .burger-nav-icon {
    display: none;
}

/*#################################### HERO ####################################*/

.custom-sv-bubbles {
    aspect-ratio: 1/1;
}

.hero .subline {
    font-size: 2.5rem;
    color: var(--custom-primary);
}
@media (min-width: 1200px) {
    .hero .col-7 {
        height: 690px;
    }
}



/*#################################### ÜBER MICH ####################################*/

.uber-mich-img-wrapper {
    perspective: 100px;
}
.uber-mich-img {
    border-radius: 10px;
    transform: rotateY(2deg);
    scale: 0.9;
    object-fit: cover;
}
.uber-mich-img:hover {
    transform: none;
    scale: 1;
    transform-origin: top;
}

/*#################################### LEBENSLAUF ####################################*/


.cv-timeline {
    background: linear-gradient(180deg,rgba(225, 0, 40, 1) 90%, rgba(225, 0, 40, 0) 100%);
    position: absolute;
    z-index: -1;
    width: 3px;
    height: 500px;
    left: 50%;
    transform: translate(-50%);
}

.cv-wrapper {
    background: linear-gradient(90deg,rgba(2, 2, 2, 0) 0%, rgba(2, 2, 2, .9) 30%, rgba(2, 2, 2, .8) 90%, rgba(2, 2, 2, 0) 100%);
    position: relative;
    z-index: 1;
}
.cv-wrapper .cv-dot {
    background-color: var(--custom-primary);
    border: solid 2px var(--main-bg-color);
    width: 15px;
    aspect-ratio: 1/1;
    border-radius: 50px;
    transition: .2s;
}
.cv-wrapper .cv-dot-big {
    background-color: var(--main-bg-color);
    border: solid 3px var(--custom-primary);
    width: 30px;
    position: relative;
}

.cv-point {
    cursor: pointer;
    margin-bottom: 20px;
}
.cv-point:hover b {
    scale: 1.1;
}
.cv-point p b {
    display: inline-block;
    transform-origin: left;
}
.cv-point:hover .cv-dot {
    scale: 2;
}

.cv-point ul {
    padding-left: 20px;
    transform: scaleY(0);
    transform-origin: top;
    max-height: 0;
}
.cv-point.active ul {
    transform: scaleY(1);
    max-height: 500px;
}


.edv-caption {
	background-color: #000e;
	box-shadow: #000000ed 0px 0px 20px 35px;
	position: relative;
	z-index: 2;
	width: fit-content;
	left: 50%;
	transform: translateX(-50%);
}
.edv-container.active .edv-caption {
	background-color: #0000;
	box-shadow: #0000 0px 0px 20px 35px;
}
.canvas-cv-wrapper {
	aspect-ratio: 4/3;
	rotate: -90deg;
	position: absolute;
	height: 630px;
	transform: translateX(-50%);
	transform-origin: left;
	left: 50%;
	top: 70px;
}

.custom-sv-cv-responsive {
    aspect-ratio: 5/4;
    cursor: pointer;
}
.custom-sv-cv, .custom-sv-cv-responsive {
    cursor: pointer;
    transition: 1s ease-in-out;
}
.custom-sv-cv:hover, .custom-sv-cv-responsive:hover {
    scale: 1.1;
}

/*#################################### PORTFOLIO ####################################*/

.custom-sv-setup {
    aspect-ratio: 5/3;
    cursor: pointer;
}

#portfolio-tab-1, #portfolio-tab-2 {
    scale: 0;
    opacity: 0;
    transition: 1s;
    max-height: 0;
    order: 2;
    backface-visibility: hidden;
}
#portfolio-tab-1.mouse-down, #portfolio-tab-2.mouse-down {
    scale: 1;
    opacity: 1;
    transition: 1s;
    max-height: 100%;
    order: 1;
}

.portfolio-preview-bg {
	aspect-ratio: 16/9;
	background-size: cover;
    border-radius: 10px;
    overflow: hidden;
}
.portfolio-ol {
	backdrop-filter: blur(2px);
    height: 100%;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
    .portfolio-ol-primary {
        background-color: #E10028cc;
        border-color: var(--custom-primary);
    }
    .portfolio-ol-secondary {
        background-color: #6205D3cc;
        border-color: var(--custom-secondary);
    }
    .portfolio-ol-highlight {
        background-color: #D3056Fcc;
        border-color: var(--custom-highlight);
    }

.portfolio-logo {
	max-height: 35%;
}

.portfolio-preview-bg:hover {
    border: solid 1px var(--custom-secondary);
    scale: 1.1;
    cursor: pointer;
    transform-origin: top;
}
    .portfolio-preview-bg:hover .portfolio-ol-highlight {
        border: solid 1px var(--custom-highlight);
    }
    .portfolio-preview-bg:hover .portfolio-ol-primary {
        border: solid 1px var(--custom-primary);
    }

.portfolio-tile:not(.active) .portfolio-preview-bg:hover .portfolio-ol {
    backdrop-filter: unset;
    background-color: unset;
    opacity: 0;
}

.web-portfolio {
    perspective: 800px;
}
.web-portfolio.active {
    justify-content: center;
    align-items: center;
}

body .portfolio-tile {
    padding: 0 15px;
    margin-bottom: 2rem;
}
.portfolio-tile.active {
    position: absolute;
    width: 100%;
    z-index: 100;
    transition: .8s ease-out;
    top: 0;
}

.portfolio-tile.active:hover .portfolio-preview-bg, .portfolio-tile.closing:hover .portfolio-preview-bg {
    scale: none;
}

.web-portfolio.active .portfolio-tile.active {
    opacity: 1;
}
.web-portfolio.active {
    min-height: 700px;
}

.web-portfolio.active .portfolio-tile:not(.active) {
    opacity: 0;
    transform: scale(0);
    height: 100%;
    max-height: 325px;
}

.portfolio-tile.closing {
    transition-delay: 0s;
    opacity: 0 !important;
    width: 33.3% !important;
    transform: scale(1) !important;
    position: absolute;
}

.active .p-select {
    opacity: 0;
    max-height: 0;
}

.active .portfolio-preview-bg {
    background: #000c;
    background-image: none !important;
    aspect-ratio: auto;
    cursor: auto;
}
.active .portfolio-ol {
    background-color: #00000000;
    border-width: 1px;
    border-style: solid;
    justify-content: revert;
    align-items: revert;
    padding-top: 20px;
}

.active .portfolio-logo {
    opacity: 0;
    width: 0;
}

.portfolio-tile .pf-content {
    overflow: hidden;
    width: 0;
    height: 0;
}
.portfolio-tile.active .pf-content {
    padding: 30px;
    height: auto;
}
.portfolio-tile.active .pfc-30 {
    width: 30%;
}
.portfolio-tile.active .pfc-40 {
    width: 40%;
}

.pf-content-transition {
    transform: scale(0);
    transition-delay: .8s;
    transform-origin: top;
    opacity: 0;
}
.portfolio-tile.active .pf-content-transition {
    transform: scale(1);
    transition-delay: .8s;
    opacity: 1;
}


/*#################################### PORTFOLIO ANDERE ####################################*/

.pf-showcase {
    align-items: center;
    cursor: pointer;
    margin: 50px 0;
}

.pf-showcase .col-lg-3  {
    perspective: 200px;
}

.showcase-preview {
    box-sizing: border-box;
    border: 2px solid #00000000;
    border-radius: 10px;
    padding: 5px;
}

.showcase-l .showcase-preview {
    transform: rotateX(5deg) rotateY(10deg) rotateZ(-5deg);
}
.showcase-r .showcase-preview {
    transform: rotateX(5deg) rotateY(-10deg) rotateZ(5deg);
}

.pf-showcase:hover .showcase-preview {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    border-color: var(--custom-highlight);
}

.showcase-content {
    opacity: 0;
    max-height: 0;
    max-width: 0 !important;
    overflow: hidden;
    transition: .5s;
}
.showcase-l .showcase-content {
    margin-right: 50%;
}
.showcase-r .showcase-content {
    margin-left: 50%;
}

.pf-showcase.active:hover .showcase-preview {
    border-color: #00000000;
}

.pf-showcase.active .showcase-content {
    opacity: 1;
    transition: 2s;
    margin-right: 0;
    margin-left: 0;
    max-height: 2000px;
    max-width: 2000px !important;
}

.showcase-tile {
    object-fit: cover;
    width: fit-content;
    overflow: hidden;
    border-radius: 10px;
    max-width: 20%;
}

.showcase-tile img {
    aspect-ratio: 1/1;
    width: 100%;
    object-fit: cover;
}

.showcase-tile img:hover {
    scale: 1.05;
}


/*#################################### KONTAKT ####################################*/ 

#viewport-ol.active {
    backdrop-filter: blur(7px);
    background-color: #000000cc;
    pointer-events: initial;
    z-index: 23;
}

.kontakt-wrapper {
    height: 100vh;
    position: relative;
    opacity: 0;
    perspective: 1000px;
}
#viewport-ol.active .kontakt-wrapper {
    opacity: 1;
}

.kontakt-box {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%) rotateX(-90deg);
    border: 1px solid;
    background-color: #000000dd;
    backdrop-filter: blur(5px);
    box-shadow: #000a 0 0 40px 50px;
    padding: 50px 30px;
}
#viewport-ol.active .kontakt-box {
    transform: translateX(-50%) translateY(-50%) rotateX(0deg);
}


/*#################################### FOOTER ####################################*/

#enhance-popup {
    display: none;
    opacity: 0;
}
#enhance-popup.active {
    display: block;
    opacity: 1;
}
#popup-image {
    max-width: 80vw;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}


/*#################################### FOOTER ####################################*/

footer {
    background-image: url(assets/Footer-bg.png);
    min-height: 400px;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 50px;
    position: relative;
    z-index: 21;
}
.footer-logo img:hover {
    scale: 1.1;
}
.footer-logo img {
    aspect-ratio: 1/1;
    width: 100%;
}
.footer-logo.d-sm-none img {
    width: 100px;
}
.footer-shadow {
	border-radius: 50%;
	box-shadow: #000000cc 0px 0px 30px 15px;
	position: absolute;
	bottom: -30px;
	width: 100%;
	height: 20px;
	background-color: #000a;
}


/*#################################### RESPONSIVE ####################################*/

/*####### 1400px #######*/

@media (max-width: 1400px) {
    .scroll-nav {
        left: 1%;
    }
    .scroll-nav .custom-container {
        margin: 0;
        max-width: 98vw;
    }
    .custom-container {
        padding: 0 3%;
    }
}

/*####### 1200px #######*/

@media (max-width: 1200px) {
    body h1 {
        font-size: 3.5rem;
    }
    nav {
        margin-top: 25px;
    }
    .custom-container {
        margin: 0 3%;
    }
}

/*####### 992px #######*/

@media (max-width: 992px) {
    body h1 {
        font-size: 3rem;
    }
    body h2 {
        font-size: 2.5rem;
    }
    .subline {
        font-size: 1.5rem;
    }
    .subline-big {
        font-size: 2rem;
    }

    .desktop-nav {
        display: none;
    }
    nav {
        padding: 10px 30px;
    }
    .burger-nav-icon {
        display: revert;
        max-width: 47px;
        padding: 5px;
        position: relative;
        z-index: 2;
        cursor: pointer;
    }
    .burger-nav-icon:hover {
        scale: 1.2;
    }
    .burger-nav {
        display: block;
        position: absolute;
        right: -1px;
        top: 0;
        border: #fff 1px solid;
        border-radius: 0px 35px 25px 25px;
        padding: 75px 35px 35px 0;
        backdrop-filter: blur(5px);
        background-color: var(--main-bg-color);
        opacity: 0;
        transform: scaleY(0) scaleX(.5);
        transform-origin: top;
    }
    .burger-nav li:not(.mt-4) {
        margin-top: 15px;
        transform-origin: left;
    }
    .burger-nav.active {
        opacity: 1;
        transform: scaleY(1) scaleX(1);
    }

    .background-fadeout {
        height: 70px;
    }

    .portfolio-tile.active .pfc-30, .portfolio-tile.active .pfc-40 {
        width: 50%;
    }
}

/*####### 768px #######*/

@media (max-width: 768px) {
    body h1 {
        font-size: 2.5rem;
    }
    body h2 {
        font-size: 2.2rem;
    }
    body h3 {
        font-size: 1.9rem;
    }
    .subline-big {
        font-size: 1.5rem;
    }
    body p, body b {
        font-size: 1rem;
    }
    .hero .col-7 {
        position: relative;
        right: -8vw;
    }
    .custom-btn {
        padding: 8px 25px;
    }
    .custom-btn-big {
        padding: 6px 40px;
        font-size: 1.2rem;
    }
    .uber-mich-img-wrapper {
        width: fit-content;
    }
    .uber-mich-img {
        transform: none;
        aspect-ratio: 1/1;
        scale: 1;
    }

    .portfolio-tile.active .portfolio-ol {
        max-height: 70vh;
        overflow-y: scroll;
    }
    .portfolio-tile.active .pfc-30, .portfolio-tile.active .pfc-40 {
        width: 100%;
    }
    
    .showcase-tile {
        max-width: 25%;
    }
}

/*####### 576px #######*/

@media (max-width: 576px) {
    .footer-responsive-wrapper {
        max-width: 355px !important;
    }
}
