@o: #ff0000;
@g: #00ff00;
@y: #FFD400;
@b: #3453ff;
@grey: #888;

@m: ~"screen and (max-width: 786px)";
@d: ~"screen and (min-width: 787px)";

.clear() {
	clear: both;
	display: block;
	content: '';
}

.g {
	color: @g;
}
.o {
	color: @o;
}
.y {
	color: @y;
}
.b {
	color: @b;
}

html, body {
	height: 100%;
}

body {
	background-color: #000;
	font-family: 'Work Sans', sans-serif;
	color: #fff;
	@media @m { font-size: 25px; }
	@media @d { font-size: 50px; }
	font-weight: 400;
	line-height: 0.8em;
	// &.bg-o {
	// 	background-image: url('/images/EP_ARTEFAKT.gif');
	// 	background-size: 100% 100%;
	// }
	// &.bg-g {
	// 	background-image: url('/images/lekko.gif');
	// 	background-size: 20px;
	// }
	&:after {
		position: fixed;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		z-index: 0;
	}
}
@media @d {
	*, *:after {
		cursor: url('/images/cursor-small.png'), auto;
	}
}

// #cursor {
// 	display: none;
// 	position: absolute;
// 	left: -500px;
// 	top: -500px;
// 	z-index: 99999;
// 	pointer-events: none;
// }

h1 {
	font-size: 100%;
	font-weight: normal;
	@media @m { padding: 10px 10px; }
	@media @d { padding: 15px 30px; }
	line-height: 1.2em;
}

#nav {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 3;
	overflow: hidden;
	border-bottom: 3px solid #fff;
	width: 100%;
	white-space: nowrap;
	text-transform: uppercase;
}

#breadcrumb {
	position: fixed;
	left: 0;
	top: 0;
	z-index: 2;
	overflow: hidden;
	background-color: #fff;
	color: #000;
	white-space: nowrap;
	text-transform: uppercase;
	.separator {
		display: inline-block;
		background: url('/images/separator.svg') no-repeat center;
		@media @m { 
			width: 22px;
	    	height: 18px;
	    	background-size: 14px;
		}
		@media @d { 
			width: 34px;
	    	height: 34px;
	    	background-size: 28px;
		}
    	margin: 0 -10px;
	}
	a:hover {
		color: @grey;
	}
}
body.index {
	overflow: hidden;
	#nav {
		@media @m {
			position: static;
		}
		width: auto;
		border-bottom: 0;
		a {
			display: block;
		}
	}
}

#menu {
	@media @m {
		a {
			display: block;
			margin-top: 20px;
	   		text-shadow: 0 0 5px rgba(255,255,255,1);
	   		color: transparent;
			&:hover {
	   			text-shadow: 0 0 0 rgba(255,255,255,1);
			}
		}
	}
	@media @d {
		position: absolute;
		width: 100%;
		height: 100%;
		left: 0;
		top: 0;
		z-index: 1;
		a {
			position: absolute;
			display: block;
			transform: translate(-50%,-50%);
			text-align: center;
			color: transparent;
	   		text-shadow: 0 0 10px rgba(255,255,255,1);
	   		transition: text-shadow 0.2s ease;
	   		padding: 30px;
			&:nth-child(1) { left: 50%; top: 20%; }
			&:nth-child(2) { left: 20%; top: 45%; }
			&:nth-child(3) { left: 80%; top: 40%; }
			&:nth-child(4) { left: 80%; top: 65%; }
			&:nth-child(5) { left: 40%; top: 80%; }
			&:hover {
	   			text-shadow: 0 0 0 rgba(255,255,255,1);
			}
		}
	}
}

#author {
	position: fixed;
	right: 0;
	bottom: 0;
	z-index: 3;
	p {
		position: absolute;
		font-size: 16px;
		color: @g;
		text-transform: uppercase;
		line-height: 10px;
		&:first-child {
			right: 14px;
			bottom: 0;
		}
		&:last-child {
			left: 100%;
			bottom: -2px;
			transform: rotate(-90deg);
			transform-origin: 0 100%;
		}
	}
	a:hover {
		color: #fff;
	}
}

#thumbPreview {
	display: none;
	position: fixed;
	max-width: 300px;
	max-height: 300px;
    -o-object-fit: contain;
    object-fit: contain;
}

#content {
	@media @m { padding-top: 35px; }
	@media @d { padding-top: 70px; }
	height: 100%;
	.columns {
		&:after {
			.clear;
		}
	}
	.description {
		font-size: 100%;
		@media @m { padding: 10px 10px; }
		@media @d { padding: 15px 30px; }
		line-height: 1.2em;
		max-width: 900px;
	}
	@media @d {
		.left {
			float: left;
			width: 65%;
		}
		.right {
			float: right;
			width: 35%;
		}
	}
	.list {
		@media @m {
			padding: 10px;
		}
		@media @d {
			font-size: 50%;
			padding: 20px 40px 20px 0;
		}
		line-height: 1.5em;
		a {
			display: block;
			&:hover {
				text-decoration: underline;
			}
		}
	}
	.authors {
		@media @m { padding: 10px 10px; }
		@media @d { padding: 15px 0; }
		p + p {
			margin-top: 36px;
		}
	}
	.small {
		font-size: 50%;
		line-height: 1.5em;
	}
	.contact {
		font-size: 50%;
		line-height: 1.5em;
		@media @m { padding: 10px 10px; }
		@media @d { 
			height: ~"calc( 100% - 140px )";
			border-left: 3px solid #fff;
			padding: 25px 30px;
		}
		p + p {
			margin-top: 36px;
		}
		a:hover {
			text-decoration: underline;
		}
	}
	.gallery {
		@media @m { padding: 10px 10px; }
		@media @d { padding: 15px 30px; }
		height: 100%;
		// .item {
		// 	display: inline;
		// 	position: relative;
			img {
				display: block;
				max-width: 100%;
				max-height: 100%;
			    -o-object-fit: contain;
			    object-fit: contain;
			}
			iframe {
				display: block;
				width: 100%;
				height: 100%;
				margin-bottom: 65px;
			}
			.info {
				@media @m { padding: 5px 0 20px; }
				@media @d { padding: 5px 0 60px; }
				font-size: 50%;
			}
		// }
	}
	&:after {
		.clear;
	}
}