@import "_reset.css"; 

/*
@font-face {
    font-family: 'FavoritMonoGX';
    src: url('../fonts/FavoritMonoGX.ttf')  format('truetype'); 
}


*/

@supports(font-variation-settings: 'mono' 0) {
    @font-face {
        font-family: FavoritMonoGX;
        src: url('../fonts/FavoritMonoGX.ttf') format('truetype');
    }
}

@supports not(font-variation-settings: 'mono' 0) {
    @font-face {
        font-family: FavoritMonoGX;
        src: url("../fonts/FavoritMonoGX.ttf=mono|0");
    }
}

/*
* {
      cursor: url(../assets/look.cur), default;	
}
*/

body {
    font-family: "FavoritMonoGX", Helvetica;
    font-variation-settings: 'mono' 0;
    font-size: 13px;
    color: white;
    background-color: black;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    min-height: 80%;
}

header {
    position: fixed;
    width: 100%;        
    height: 3em;
    padding-bottom: 1em;
    margin-top: 1.6em;
    top: 0;
    left: 0;
}

h1 {
    font-family: "FavoritMonoGX";
    -webkit-transition: font-variation-settings 0.5s ease;
    transition: font-variation-settings 0.5s ease;
    text-transform: uppercase;
    margin: 0;
    margin-top: 0.75em;
    top: 50vh;
    font-size: 3em;
    -webkit-transform: translateY(-175%);
    -ms-transform: translateY(-175%);
    transform: translateY(-175%);
    position: relative;
    -webkit-animation: introslide 2s;
    -webkit-animation-delay: 1s;
    -webkit-animation-fill-mode: forwards;
    animation: introslide 2s;
    animation-delay: 1s;
    animation-fill-mode: forwards;
    z-index: 10;
}

h1:hover {
    font-variation-settings: 'mono' 100;
}

h2 {
    font-family: "FavoritMonoGX";
    -webkit-transition: font-variation-settings 0.5s ease;
    transition: font-variation-settings 0.5s ease;
    text-transform: uppercase;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding-bottom: 1.2em;
    position: relative;
}

h2:hover {
    font-variation-settings: 'mono' 100;
}

main {
    padding-top: 3.8em;
    padding-bottom: 1.8em;
    -webkit-transform: translateY(200vh);
    -ms-transform: translateY(200vh);
    transform: translateY(200vh);
    -webkit-animation: introslidebody 1s;
    -webkit-animation-delay: 2.3s;
    -webkit-animation-fill-mode: forwards;
    animation: introslidebody 1s;
    animation-delay: 2.3s;
    animation-fill-mode: forwards;
    min-height: calc(100vh - 5em);
}

.intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    color: white;
    text-align: center;
}

@keyframes introslide {
    from {top: 50vh;}
    to {top: 0;}

    from {font-size: 3em;}
    to {font-size: 1em;}

/*
    from {transform: translateY(0%);}
    to {transform: translateY(-100%);}
*/
}

@keyframes introslidebody {
    from {transform: translateY(10%);}
    to {transform: translateY(0%);}

    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes footeropacity {
    from {opacity: 0;}
    to {opacity: 1;}
}

a {
    color: white;
    text-decoration: none;
    z-index: 10;
}

.projectlink {
    
}

.description {
    padding-left: 1rem;
    padding-right: 1rem;
    -webkit-perspective: 400px;
    -ms-perspective: 400px;
    perspective: 400px;
}

nav {
    position:inherit;
    align-content: center;
    text-align: center;
    width: 100%;
    height: 3em;
    padding-bottom: 1em;
    margin-top: 1.6em;
    text-transform: uppercase;
}

.contact{
    width: 33.33333%;
    display: block;
    align-content:flex-end;
    margin-left: -1em;
    padding-left: 1em;
    text-align: left;
    -webkit-transform: translateX(200%);
    -ms-transform: translateX(200%);
    transform: translateX(200%);
    padding-bottom: 4em;
}

img {
    width: 80%;
    position: absolute;
    top: 0;
    left: 0;
     -webkit-filter: blur(100px);
    -moz-filter: blur(100px);
    -ms-filter: blur(100px);
    -o-filter: blur(100px);
    filter: blur(100px);
    z-index: -1;
    -webkit-transition: all 1.5s ease; 
    transition: all 1.5s ease; 
}

p {
    font-size: 21px;
    line-height: 25px;
    text-indent: 1em;
    hyphens: auto;
    position: relative;
}

.textboxleft p {
    padding-left: 5%;
}

.textboxright p {
    padding-right: 5%;
}

.triggerleft {
    -webkit-text-decoration: underline solid white;
    text-decoration: underline solid white;
    -webkit-transition: all .5s ease;    
    transition: all .5s ease;
}

.triggerleft:hover {
    -webkit-text-decoration: underline solid transparent;
    text-decoration: underline solid transparent;
    
/*    font-variation-settings: 'mono' 100;*/

}

.triggerright {
    -webkit-text-decoration: underline solid white;
    text-decoration: underline solid white;
    -webkit-transition: all .5s ease;    
    transition: all .5s ease;
}

.triggerright:hover {
    -webkit-text-decoration: underline solid transparent;
    text-decoration: underline solid transparent;

/*    font-variation-settings: 'mono' 100;*/

}


.blur {
    -webkit-filter: blur(50px);
    -moz-filter: blur(50px);
    -ms-filter: blur(50px);
    -o-filter: blur(50px);
    filter: blur(50px);
    z-index: -1;
    width: 10em;
    -webkit-box-shadow: none;
    box-shadow: none;
    
}

.noblurright {
    -webkit-filter: blur(0px);
    -moz-filter: blur(0px);
    -ms-filter: blur(0px);
    -o-filter: blur(0px);
    filter: blur(0px);
    z-index: 2;                                                                     
    position: absolute;
    align-content: center;
    -webkit-box-shadow: 0px 15px 35px -8px rgba(0,0,0);
    box-shadow: 0px 15px 35px -8px rgba(0,0,0);
    -webkit-transform: rotateY(15deg);
    -ms-transform: rotateY(15deg);
    transform: rotateY(15deg);
}

.noblurleft {
    -webkit-filter: blur(0px);
    -moz-filter: blur(0px);
    -ms-filter: blur(0px);
    -o-filter: blur(0px);
    filter: blur(0px);
    z-index: 2;    
    box-shadow: 0px 15px 35px -8px rgba(0,0,0);
    -webkit-transform: rotateY(-15deg);
    -ms-transform: rotateY(-15deg);
    transform: rotateY(-15deg);
}

.textboxleft, .textboxright {
    width: 100%;
}

.textboxright {
    -webkit-animation: rotateright 3s;
    -webkit-animation-delay: 2s;
    -webkit-animation-fill-mode: forwards;
    animation: rotateright 3s;
    animation-delay: 2s;
    animation-fill-mode: forwards;
    -webkit-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;

}

@keyframes rotateright {
    from {transform: rotateY(0deg);}
    to {transform: rotateY(-15deg)}
}

.textboxleft {
    left:20%;
    -webkit-animation: rotateleft 3s;
    -webkit-animation-delay: 2s;
    -webkit-animation-fill-mode: forwards;
    animation: rotateleft 3s;
    animation-delay: 2s;
    animation-fill-mode: forwards;
    -webkit-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;

}

@keyframes rotateleft {
    from {transform: rotateY(0deg);}
    to {transform: rotateY(15deg)}
}

@keyframes footeropacity {
    from {opacity: 0;}
    to {opacity: 1;}
}

/* Projektseite */
header .projects {
    
}

.projects {
    color: black;
    background-color: white;
    display: table;
}

h3 {
    font-size: 4em;
    text-align: center;
    text-transform: uppercase;
    line-height: 0.8em;
    margin-top: auto;
    margin-bottom: auto;
}

#projects {
    display: none;
}



@keyframes projects {
    from {display: none;}
    to {display: inherit;}
    
    from {opacity: 0;}
    to {opacity: 1;}
}

.footer {
    opacity: 0;
    -webkit-animation: footeropacity 2s;
    -webkit-animation-delay: 2.6s;
    -webkit-animation-fill-mode: forwards;
    animation: footeropacity 2s;
    animation-delay: 2.6s;
    animation-fill-mode: forwards;
    z-index: 10;
    position:relative;
/*    bottom: 0.5rem;*/
}

@media only screen and (min-width: 601px) {
    
    body {
        font-size: 16px;
        line-height: 16px;
        color: white;
        background-color: black;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        min-height: 100%;
    }
    
    p {
        font-size: 4vw;
        line-height: 4.5vw;
        text-indent: 1em;
        hyphens: auto;
        position: relative;
    }
    
    .description {
        width: 100%;
        padding-left: 1em;
        padding-right: 1em;
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        margin-left: -1em;
        -webkit-perspective: 500px;
        -ms-perspective: 500px;        
        perspective: 500px;
    }
    
    .textboxleft {
        width: 50%;
        padding-left: 1em;
        transform-origin: left top;
        animation: rotateleft 3s;
        animation-delay: 2s;
        animation-fill-mode: forwards;
        -webkit-transform-style: preserve-3d;
        -ms-transform-style: preserve-3d;
        transform-style: preserve-3d;
    }
    
    @keyframes rotateleft {
        from {transform: rotateY(0deg);}
        to {transform: rotateY(15deg);}
        
        to {transform-style: flat;}
        to {transform-style: preserve-3d;}
    }
    
    .textboxright {
        width: 50%;
        padding-left: 1em;
        transform-origin: right top;
        -webkit-animation: rotateright 3s;
        -webkit-animation-delay: 2s;
        -webkit-animation-fill-mode: forwards;
        animation: rotateright 3s;
        animation-delay: 2s;
        animation-fill-mode: forwards;
        -webkit-transform-style: preserve-3d;
        -ms-transform-style: preserve-3d;
        transform-style: preserve-3d;
    }
    
    @keyframes rotateright {
        from {transform: rotateY(0deg);}
        to {transform: rotateY(-15deg)}
        
        to {transform-style: flat;}
        to {transform-style: preserve-3d;}

    }
    
    img {
        width: 20em;
    }
}

@media only screen and (min-width: 1200px) {
    
    body {
        max-width: 1920px;
        padding-top: -3em;
    }
    
    p {
        font-size: 3em;
        line-height: 1.1em;
        text-indent: 1em;
        hyphens: auto;
        position: relative;
    }
}