@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;
    max-width: 600px;
    justify-content: center;
}

main {
    padding-top: 3.8em;
    padding-bottom: 1em;
    
    z-index: -1;
    
    perspective: 1200px;
}

/*
section {
    opacity: 0;
    
    -webkit-animation: introslidebody 2s;
    -webkit-animation-fill-mode: forwards;
    animation: introslidebody 2s;
    animation-fill-mode: forwards;
}
*/

.swiper-container {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    z-index: -1;
}
   
.swiper-slide {
    cursor: url(../hm.cur) 5 5, auto;
    display: flex;
    align-items: center;
    justify-content:center;
}

.swiper-slide img {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
    max-width: 80%;
}

.swiper-button-prev, .swiper-button-next {
    background-image: none;
    height: 100%;
    top:0;
    width: 35%;
}

.swiper-button-prev {
    cursor: url(../prev.cur) 5 5, pointer;
}

.swiper-button-next {
    cursor: url(../assets/next.cur) 5 5, pointer;
}



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

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;
    text-transform: uppercase;
    text-align: center;
    font-size: 3em;
    line-height: 0.8em;
    hyphens: auto;   
    transition: all 0.5s ease;    
    -webkit-animation: introslidebody 2s;
    animation: introslidebody 2s;
}

a {
    color: black;
    text-decoration: none;
    perspective: 1200px;
    cursor: url(../look.cur) 5 5, auto;
}

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: 1s;
    animation-fill-mode: forwards;
    z-index: 10;
    position:relative;
    bottom: 0;
}

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

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

}

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

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

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

}

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

img {
    position: fixed;
/*    padding-left: 10%;*/
    transition: all 1.5s ease; 
}

.blur {
    filter: blur(125px);
    z-index: -1;
    box-shadow: none;
}

.noblur {
    filter: blur(0px);
    z-index: 2;    
    box-shadow: 0px 15px 35px -8px rgba(0,0,0);
}

.projectone, .projecttwo, .projectthree {
    width: 100%;
    min-height: 100vh;
    position: fixed;
    transition:  all 5s ease;
}

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

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