@import "_reset.css"; 

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

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

body {
    font-family: "FavoritMonoGX", Arial;
    font-variation-settings: 'mono' 0;
    font-size: 13px;
    color: black;
    background-color: white;
    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";
    transition: font-variation-settings 0.5s ease;
    text-transform: uppercase;
    margin: 0;
    margin-top: 2em;
/*    padding-bottom: 1em;*/
    top: 5vh;
    font-size: 1em;
    transform: translateY(-175%);
    position: relative;
    animation: introslide 2s;
/*    animation-delay: 1s;*/
    animation-fill-mode: forwards;
    z-index: 10;
}

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

h2 {
    font-family: "FavoritMonoGX";
    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: 5em;
    padding-bottom: 1.8em;
    transform: translateY(200vh);
    animation: introslidebody 1s;
/*    animation-delay: 1s;*/
    animation-fill-mode: forwards;
    min-height: calc(100vh - 2em);
}

.intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    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: black;
    text-decoration: none;
}

.projectlink {
    
}

.description {
    padding-left: 1rem;
    padding-right: 1rem;
    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;
    transform: translateX(200%);
    padding-bottom: 4em;
}

img {
    position: absolute;
    top: 0;
    left: 0;
    filter: blur(100px);
    z-index: -1;
    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 {
    text-decoration: underline solid black;
    transition: all .5s ease;
}

.triggerleft:hover {
    text-decoration: underline solid transparent;
}

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

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

.triggerrightgif {
    text-decoration: underline solid black;
    transition: all .5s ease;
}

.triggerrightgif:hover {
    text-decoration: underline solid transparent;
}

.triggerleftgif {
    text-decoration: underline solid black;
    transition: all .5s ease;
}

.triggerleftgif:hover {
    text-decoration: underline solid transparent;
}


.blur {
    filter: blur(50px);
    z-index: -1;
    width: 95%;
    box-shadow: none;
    

}

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

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

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

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

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

.textboxright {
    animation: rotateright 3s;
/*    animation-delay: 0.25s;*/
    animation-fill-mode: forwards;
    transform-style: preserve-3d;

}

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

.textboxleft {
    left:20%;
    animation: rotateleft 3s;
/*    animation-delay: 0.25s;*/
    animation-fill-mode: forwards;
    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;
    animation: footeropacity 2s;
    animation-delay: 1s;
    animation-fill-mode: forwards;
    z-index: 10;
    position:relative;
    bottom: 0;
}

@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: 3vh;
        line-height: 3.3vh;
        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;
        perspective: 500px;
    }
    
    .textboxleft {
        width: 50%;
        padding-left: 1em;
        transform-origin: left top;
        animation: rotateleft 3s;
/*        animation-delay: 2s;*/
        animation-fill-mode: forwards;
        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;
        animation: rotateright 3s;
/*        animation-delay: 2s;*/
        animation-fill-mode: forwards;
        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: 2.5em;
        line-height: 1.1em;
        text-indent: 1em;
        hyphens: auto;
        position: relative;
    }
}