@import url('https://fonts.googleapis.com/css2?family=Archivo+Narrow:wght@700&display=swap');
* {color:inherit;text-decoration:none;padding:0;margin:0;}
body {
	font-family:"Archivo Narrow", sans-serif;
	font-weight:700;
	font-size:22px;
	text-transform:uppercase;
	color:rgba(255,255,255,0.9);
	line-height: 1.3;
	background-color:#111111;
	text-align:center;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	box-sizing: border-box;
	position: relative;
}
a:visited,
a:hover,
a:active {
	text-decoration:underline;
}

/* Home */
#home header {
	position: absolute;
	width:100%;
	height:0;
	z-index:1;
	text-align:center;		
}
nav {
	margin:2em;
	display: inline-block;
}
nav a {
	display: block;
}
nav a.active {
	text-decoration: underline;
}
.about-link {
	margin-bottom:0.5em;
}
#image-box {
	display:block;
	width:100vw;
	height:100vh;
	position: absolute;
	top:0;
	cursor:pointer;
}
#image-box div {
	display:none;
	width:100%;
	height:100%;
	position: absolute;
}
#image-box div.active {
	display: block
}
#image-box div div {
	display:block;
	width:100%;
	height:100%;
	background-position: center;
	background-size:cover;
	pointer-events: none
}
#image-box div.half div{
	height:50%;
	bottom:0;
}
#image-box div.half.right div{
	right: 0;
	top:0;
}


/* Video Page */

header {
	position:relative;
	height:auto;
	width:100%;
	z-index:1;
	text-align:center;	
}
#video-box {
	width:100%;
}
#video-box > div {
	padding: 0 0.5em;
	width:calc(100% - 1em);
	max-width:800px;
	display: inline-block;
	position: relative;				
}
#project-infos {
	display: inline-block;
	margin:0 auto;
	padding: 1em;
}

/* Foto Page */

#foto-box {
	width:100%;
}
#foto-box > div {
	padding: 0 0.5em;
	width:calc(100% - 1em);
	max-width:800px;
	max-height: calc(100vh - 1em);
	display: inline-block;	
	position: relative;			
}
.image-wrapper {
	position: relative;
}
img {
	max-height:calc(100vh - 4em);
	max-width:100%;
	width:auto;
	display: block;
	margin: 0 auto;
}
.foto{
	background-size: contain;
	background-position: center top;
	background-repeat:no-repeat;
	height:800px;
	max-height:calc(100vh - 4em);
}

.glide__arrows {
	position: absolute;
	top: 0;
	height: 100%;
	width:100%;			
}
.glide__arrow {
	width:50%;
	height:100%;
	position: absolute;
	top:0;
	display: none;
}
.glide__arrow--left {
	left:0;
	cursor: url('arrow-left.png'), pointer;
}
.glide__arrow--right {
	right:0;
	cursor: url('arrow-right.png'), pointer;
}

.glide__bullets element {
	letter-spacing: 0.1em
}
.glide__bullet--active {
	display:inline-block;
}



/* About */

#about header {
	position:relative;
	height:auto;
}
#about #project-infos {
	display: inline-block;
	margin:0 auto;
	padding: 0 1em 1em 1em;
	width:800px;
	max-width: calc(100vw - 2em)
}
.email {
	height:1.3em;
	background-image:url(mail.png);
	background-repeat:no-repeat;
	background-size: contain;
	background-position: center center;
	display:block;
}
.email:hover {
	background-image:url(mail-hover.png);
}
.home-link {
	text-decoration: underline;
}

@media only screen and (orientation: landscape) {

	#image-box div.half div {
		height:100%;
		width:50%;
	}


}
@media only screen and (min-width: 600px) {
	body {
		font-size:24px;
	}
	#video-box > div {
		padding: 0 2em;
		width: calc(100% - 4em);
	}
	#project-infos {
		padding:2em;
	}
	#about #project-infos {
		padding: 0 2em 2em 2em;
		max-width: calc(100vw - 4em)
	}
	#foto-box > div {
		padding: 0 2em;
		width:calc(100vw - 4em);
		max-height: calc(100vh - 4em);		
	}
	.glide__arrow {
		display:block;
	}
				

}