@import "_reset.css"; 
@import "swiper.css";

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

body {
    font-family: "FavoritMonoGX", Arial;
    font-variation-settings: 'mono' 0;
    font-size: 13px;
    color: black;
    background-color: white;
    justify-content: center;
/*
    display: flex;
    justify-content: center;
    align-content: center;
*/
    perspective: 1200px;

}

.name:hover + .portrait {
    filter: blur(0px);
    transition: all 1s ease;
}

h3:hover {
    transition: all 0.5s ease;    
/*
    -webkit-animation: introslidebody 2s;
    animation: introslidebody 2s;
*/
    transition: all 0.5s ease;
    transform: rotateY(45deg);
/*    font-variation-settings: 'mono' 100;*/
}

.portrait {
    filter: blur(25px);
    margin-left: 50%;
    transform: translateX(-50%);
    position: fixed;
    height: 30vh;
    z-index: -1;
    transition: all 1s ease;

}

header {
    position: fixed;
    width: 100%;
    height: 3em;
    padding-bottom: 1em;
    margin-top: 1.6em;
    text-align: center;
    justify-content: center;
}

h1 {
    font-family: "FavoritMonoGX";
    transition: font-variation-settings 0.5s ease;
    text-transform: uppercase;
    margin: 0;
    margin-top: 0.25em;
    top: 50vh;
}

h1:hover {
    font-variation-settings: 'mono' 100;
    animation: introslide 1s;
    animation-fill-mode: forwards;
}

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;
}

h3 {
    font-family: "FavoritMonoGX";
    transition: font-variation-settings 0.5s ease;
    font-variant-alternates: annotation;
    text-transform: uppercase;
    text-align: center;
    font-size: 4em;
    line-height: 0.8em;
    hyphens: auto;   
    transition: all 0.5s ease;
}

.alt {
    font-variant-alternates: character-variant;
}

main {
    padding-top: 3.8em;
    padding-bottom: 1em;
    
    opacity: 0;
    
    perspective: 1000px;
    
    -webkit-animation: introslidebody 2s;
    -webkit-animation-fill-mode: forwards;
    animation: introslidebody 2s;
    animation-fill-mode: forwards;
}

@keyframes introslidebody {
/*
    from {transform: translateY(20%);}
    to {transform: translateY(0%);}
*/

    from {opacity: 0;}
    to {opacity: 1;}
    
    0% {transform: rotateY(45deg);}
    100% {transform: rotateY(0deg);}
}


a {
    color: black;
    text-decoration: none;
    perspective: 1200px;
    
    target-new:tab;
}

/*
h3:hover {
    transition: all 0.5s ease;
    transform: rotateY(45deg);
    font-variation-settings: 'mono' 100;
}
*/

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;
}

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

p {
    font-size: 21px;
    line-height: 25px;
    text-indent: 1em;
    hyphens: auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-content: center;
    margin-left: 1em;
    margin-right: 1em;
}


@media only screen and (min-width: 601px) {
    
/*
    .swiper-button-prev, .swiper-button-next {
        background-image: image(); 
    }
*/
    
    p {
        font-size: 4vw;
        line-height: 4.5vw;
        text-indent: 1em;
        hyphens: auto;
        position: relative;
    }
    
    h3 {
        font-size: 7em;
    }
    
}

@media only screen and (min-width: 1201px) {
    
    h3 {
        font-size: 10em;
    }
    
    p {
        font-size: 3em;
        line-height: 1.1em;
        text-indent: 1em;
        hyphens: auto;
        position: relative;
    }
    
}