@font-face {
	font-family: 'Fraunces';
	font-display: swap;
	font-weight: 100 900;
	src: url('./fonts/Fraunces--latin_basic.woff2') format('woff2');
	
}

html, body { height: 100%;}

body {
	background: #222;
	color: #FFF;
	font-family: Fraunces, Helvetica,Verdana, Geneva, Tahoma, sans-serif;
	line-height: 1;
	margin: 0;
	touch-action: pan-y;
}


h1, h2, h3, h4, h5, b, strong, dl, dt, dd, p { 
	margin: 0;
	font-weight: normal; 
	font-family:  Fraunces, Helvetica,Verdana, Geneva, Tahoma, sans-serif;
}

#bg {
	position: fixed;
	z-index: -1;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	pointer-events: none;
}


.full {
	height: 100%;
}
.full .body {
	position: absolute;
	width:  80%;
	max-width: 400px;
	top: 80px;
	left: 50%;
	-webkit-transform: translateX(-50%) ;
	-ms-transform: translateX(-50%) ;
	transform: translateX(-50%) ;
	color: #999;
	/*text-shadow: 1px 1px 2px rgba(0,0,0,1);*/
}

.full .title {
	color: #FFF;
	font-size: 6em;
    font-weight: 900;
    letter-spacing: -0.05em;
	
}


.full p{
	margin: 0 0 1em 0;
}



@keyframes scrolldownarrow {
	0% { margin-top: 5px; }
	50% { margin-top: 10px; }
	70% { margin-top: 5px; }
	100% { margin-top: 5px; }
}

.scrolldown {
	position: absolute;
	bottom: 40px;
	width: 100%;
	text-align: center;
	
	transition: opacity 0.3s;
	font-size: small;
}

.scrolldown:after {
	display: block;
	content: "▼";
	position: absolute;
	width: 100%;
	animation: scrolldownarrow 1s infinite;
	animation-timing-function: ease-out;
}


.scrolled .scrolldown { opacity: 0 }


#main-header{
	padding: 10px 30px 9px 30px;
    position: fixed;
    left: 0;
    width: 100%;
    top: 0;
    box-sizing: border-box;
    z-index: 8;
    transition: 0.2s transform;
    transform: translateY(-100%);
    background-color: #242424;
    background: linear-gradient(
		180deg,
		rgba(26,26,26,1) 90%,
		rgba(26,26,26,0) 100%); 
}
.scrolled #main-header{
	transform: translateY(0);
}
#main-header .section-title {
	position: relative;
	z-index: 9;
	border-bottom: 0;
	margin-top: 0;
	font-size: 20px;
	font-weight: 700;
	color: #FFF;
}

#main-header .section-title::before {
	content: " ";
    display: inline-block;
    background: url(/static/illobre-favl.svg) no-repeat;
    width: 15px;
    height: 15px;
    background-size: cover;
    margin: 3px 0px 0px -22px;
    position: absolute;;
}

#main-header div.meta {
	font-family: monospace;
	font-size:10px;
	color: #666;
	margin:-0.1em 0 2em 0;
	position: relative;
	z-index: 9;
}



footer:hover { opacity:1}
footer {
	display: flex;
	flex-direction: column;
	font-size:24px;
	text-align:center;
	color:#999;
	padding: 64px 20px 20px 20px;
	box-sizing: border-box;
	line-height: 32px;
	max-width: 800px;
	margin: 0 auto;

}
footer .thanks {
	margin-top: 20%;
	font-weight: 600;
	font-size: 28px;
	color: #FFF;
}


footer a:hover,
.closebutton:hover {
	background:#FFF;
	color:#000;
}

footer a,
p a,
.closebutton {
	color:#FFF;
	background:#111;
	padding:0 .25em;
	text-decoration:none;
}





/* Projects */


#projects {
	
	background: linear-gradient(
		0deg,
		rgba(26,26,26,0) 0,
		rgba(26,26,26,1) 100px,
		rgba(26,26,26,1) calc(100% - 100px),
		rgba(26,26,26,0) 100%);
	padding-bottom: 100px;
	padding-top: 100px;
	will-change: transform;
	transition: 20ms transform;
}



#projects .section-title{
	box-sizing: border-box;
	font-size: 48px;
    color: #FFF;
    font-weight: 900;
    margin: 0 auto;
    max-width: 800px;
    width: 100%;
    padding: 1em 20px;

	

	color:#FFF;
	font-size:36px;
	letter-spacing:-0.07em;
	font-weight: 700;

}


.project-list {
	
	max-width: 800px;
	width: 100%;
	margin: 0 auto;
}

.data { display: none; }
.project-list .project-item {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 20px;
	height: 300px;
	box-sizing: border-box;
	transition: left, top, width, height, background-color;
	transition-duration: 0.4s;
	transition-timing-function: ease-out;
}


@media (min-width: 500px) {  .project-list .project-item { height: 350px; } }
@media (min-width: 600px) {  .project-list .project-item { height: 450px; } }
@media (min-width: 700px) {  .project-list .project-item { height: 550px; } }

.project-item .closebutton {
	visibility: hidden;
}

.project-item .project-files { 
	display: flex;
	flex:1;
	overflow: hidden;
	border: 4px solid #FFFFFF08;
	border-radius: 10px;
	

}

.project-list .project-item .file {
	cursor: pointer;
	flex: 1 0 100%;
	position: relative;
	background-color: rgba(0,0,0,0);
}

.project-list .project-item .title {
	font-size: 24px;
	margin:0 0 4px 0;
	color: #FFF;
	font-weight: 600;
}

.project-list .project-item hr { display: none; }
.project-item header{
	margin-bottom: 10px;
	position: relative;
}
.project-item header .meta {
	font-size: x-small;
	display: flex;
	align-items: center;
	color: #AAA;
	font-family: monospace;
}

.project-item header .tags{
	display: flex;
	position: absolute;
	top: 0px;
	right: 0;
}

.project-item header .cities {
	display: flex;
}
.project-item header .tags > *,
.project-item header .cities > * {
	background: rgba(0,0,0,0.4);
	padding: 2px 4px;
	margin: 0;
	border-radius: 4px;
	text-transform: uppercase;
	font-family: monospace;
	font-size: xx-small;
	text-decoration: none;
}

.project-item header .credits {
	flex: 1;
	margin: 0;
	text-align: right;
}

.project-item header .credits-role,
.project-item header .credits-author{
	display: inline;
	margin: 0 2px;
}
.project-item header .credits-role { opacity: 0.5; }


.project-list .image-item,
.project-list .video-item {
	object-fit: cover;
	position: absolute;
	border-radius: 5px;
}

.project-list .file-hero { background-color: #000;}
.project-list .file-hero .video-item{ object-fit: cover;}
.image-item,
.video-item {
	
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	height: 100%;
	object-fit: contain;
}



