/* ~ ~ ~ ~ ~ ~ Typography ~ ~ ~ ~ ~ ~ */
@font-face {
    font-family: 'r';
    src: url('/v.woff') format('woff');
}

/* ~ ~ ~ ~ ~ ~ Basic ~ ~ ~ ~ ~ ~ */
figure, main, h2, #time {
	margin-top: 0 !important;
}

/* ~ ~ ~ ~ ~ ~ Fade ~ ~ ~ ~ ~ ~ */
@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ~ ~ ~ ~ ~ ~ Main ~ ~ ~ ~ ~ ~ */
html {
    font-size: 100%;
}

html,body {
	margin:0;
	padding:0;
	height:100%;
	width:100%;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
	font-family: 'r', sans-serif;
    font-size: 1.08em;
    line-height: 1.4em;
    text-transform: uppercase;
    background-color: #010204;
	color: #FFF;
	letter-spacing: .05em;
}

a {
	color: #FFF;
	text-decoration: none;
}

figure {
	margin: 0;
}

/* ~ ~ ~ ~ ~ ~ Site Title ~ ~ ~ ~ ~ ~ */
header {
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    padding: 1.6em 0 0 1.6em;
}

#infscr-loading {
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    padding: 4.1em 0 0 1.5em;
    color: lawngreen;
}

.h {
    opacity: 0;
    transition: all .3s ease;
}

header:hover .h {
    opacity: 1;
}

/* ~ ~ ~ ~ ~ ~ Images ~ ~ ~ ~ ~ ~ */
main {
    margin: 0 auto;
	padding: 1.6em;
	text-align: center;
	position: relative;
	overflow: auto;
}

figure img {
	max-width: 98%;
	height: auto;
}

figure:hover {
    transform: scale(1.015);
}

figure {
	max-width: 100%;
	margin: .8em .8em 1.8em .8em;
	position: relative;
	display: inline-block;
	vertical-align: top;
    transition: all .2s ease-in-out;
    animation: fadein 1s;
}

h2 {
    opacity: 0;
    font-size: 1.05em;
    line-height: 1.4em;
    font-weight: normal;
	max-width: 100%;
	padding-top: .9em;
    transition: all .2s ease;
}

figure:hover h2 {
    opacity: 1;
}

/* ~ ~ ~ ~ ~ ~ Media Queries ~ ~ ~ ~ ~ ~ */
@media screen and (max-width: 800px) {
    
    body {
        font-size: .9em;
        line-height: 1.3em;
    }
    
    header {
        position: fixed;
        z-index: 10;
        left: 0;
        top: 0;
        padding: 1.2em 0 0 1.5em;
    }
    
	main {
		padding: 0;
        padding-top: 4.5em;
	}

    figure {
        max-width: 100%;
        margin: 1em;
        position: relative;
        display: inline-block;
        vertical-align: top;    
    }
    
    #infscr-loading {
        padding: 3.5em 0 0 1.5em;
    }
    
    figure:hover {
        transform: none;
    }

    h2 {
        padding-top: .5em;
        display: block;
        opacity: 1;
    }

}   