/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
@charset "utf-8";
/* 
    Created on : 22.1.2018, 16:06:51
    Author     : Peter
*/

html,body{
	position: relative;
	height: 100%;
	min-height: 100%;
	font-family:'Roboto',Helvetica,Arial, sans-serif;
	color: #334;
	font-size: 16px;
	font-family: 'Cinzel', serif;
	font-family: 'Josefin Sans',DejaVu Sans, sans-serif;
	font-weight: 300;
}
p,form,h1,h2,h3,h4,html,body{
	margin: 0;
	padding: 0;
	border: none;
}
a{
	color: inherit;
	text-decoration: none;
}
p{
	padding: 0.4em 0;
}

ul{
	padding-left: 1em;
}
ul li{
	padding: 0.5em 0;
}
p{
	padding: 0.5em 0;
}
h3{
	font-size: 1.5em;
	font-weight: normal;
}
h2{
	font-size: 1.6em;
}
h1{
	font-size: 2.4em;
	font-weight: normal;
	font-family: 'Cinzel', serif;
}
.pre{
	white-space: pre-wrap;
}
.pre li{
	padding: 0;
}
.pre ul{
	white-space: normal;
	margin: 0
}

.clr{
	display: block;
	clear: both;
}

.large{
	font-size: 1.5em;
}
.small{
	font-size: 0.75em;
}

.text{
	max-width: 780px;
	margin: 60px auto;
}

.content{
	padding: 60px;
}

#nav{
	position: fixed;
	z-index: 204;
	top: 0;
	left: 0;
	right: 0;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	height: 60px;
	background: transparent;
	text-align: right;
	padding: 1.2em 1.5em 0;
	font-size: 1em;
	color: #fff;
}
#whitespace{
	height: 110px;
}
#nav a{
	-webkit-transition: all 0.5s ease;
	transition: all 0.5s ease;
	padding: 0.2em 0em;
	max-width: 0;
	display: inline-block;
	overflow: hidden;
	white-space: nowrap;
}
#nav a:hover{
	color: #aab;
}
#nav.active a:not(.io){
	padding: 0.2em 0.5em;
	max-width: 180px;
}
#nav .item{
	position: relative;
	display: inline-block;
}
#nav .item .sub{
	position: absolute;
	top: 100%;
	right: 0;
	text-align: right;
	white-space: nowrap;
	background:  #ebeff9;
	margin-top: 25px;
}
#nav .item .sub a{
	display: block;
	max-height: 0;
	padding: 0em 0.5em;
	-webkit-transition: all 0.4s,0.4s ease;
	transition: all 0.4s,0.4s ease;
	overflow: hidden;
	font-size: 0.8em;
}
#nav .item:hover .sub a{
	-webkit-transition: all 0.4s ease;
	transition: all 0.4s ease;
	max-height: 2.6em;
	padding: 0em 0.5em;
}
#nav .item:hover .sub a:hover{
	background:  #c4d0ed;
	font-weight: normal;
}
#nav .io{
	position: absolute;
	right: 2em;
	top: 1em;
	z-index: 10;
	max-width: 100px;
	padding: 0;
}
#nav .io span{
	display: block;
	width: 45px;
	height: 0;
	border-bottom: 1px solid;
	margin: 0.4em 0;
}
#nav .menu{
	margin-right: 100px;
}

.icon {
	display: inline-block;
	width: 32px;
	height: 32px;
	stroke-width: 0;
	stroke: currentColor;
	fill: currentColor;
}

#obscura{
	width: 100%;
	height: 100%;
	height: 100vh;
	min-height: 100%;
	min-height: 100vh;
	background: #000;
	color: #fff;
	overflow: hidden;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 200;
}
#obscura div{
	position: absolute;
	bottom: 30%;
	left: 20%;
	-webkit-transition: all 1s ease;
	transition: all 1s ease;
}
#obscura div > span{
	max-height: 8em;
	display: block;
}
#obscura > div.faded{
	opacity: 0;
}
#obscura.active{
	min-height: 60px;
	-webkit-transition: all 1s ease, min-height 0.8s 0.6s ease;
	transition: all 1s ease, min-height 0.8s 0.6s ease;
	height: auto;
}
#obscura.active div{
	bottom: 0%;
	left: 5%;
	height: 100%;
}
#obscura.active > div > span{
	opacity: 0;
	max-height: 0;
	-webkit-transition: all 1s ease;
	transition: all 1s ease;
}
#obscura svg#lines{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	pointer-events: none;
}
#obscura #lines path{
	stroke: #555;
	fill: none;
	stroke-dasharray: 30, 10000;
	stroke-dashoffset: 10000;
	-webkit-animation: dash 150s linear infinite;
	animation: dash 150s linear infinite;
	stroke-width: 0.2;
}

#obscura-vector path{
	-webkit-transition: all 0.4s ease;
	transition: all 0.4s ease;
}
#obscura-vector:not(:hover) g g:not(#ob) path, #obscura-vector:not(:hover) line{
	fill: #000000;
	stroke: #000000;
}
#obscura-vector:not(:hover) #ob path,#obscura-vector #ob path{
	fill: #ffffff;
}
#obscura-vector #s path{
	-webkit-transition-delay: 0.2s;
	transition-delay: 0.2s;
}
#obscura-vector #c path{
	-webkit-transition-delay: 0.4s;
	transition-delay: 0.4s;
}
#obscura-vector #u path{
	-webkit-transition-delay: 0.6s;
	transition-delay: 0.6s;
}
#obscura-vector #r path{
	-webkit-transition-delay: 0.8s;
	transition-delay: 0.8s;
}
#obscura-vector #a path{
	-webkit-transition-delay: 0.8s;
	transition-delay: 0.8s;
}
#obscura-vector line{
	-webkit-transition-delay: 1s;
	transition-delay: 1s;
}
#body{
	position: absolute;
	top: 60px;
	left: 0;
	right: 0;
	bottom: 0;
	overflow: auto;
	z-index: 10;
}

#obscura.active #obscura-vector{
	width: 140px;
	height: auto;
}

.text{
	max-width: 880px;
	margin: 1em auto;
	padding: 1em;
}

@keyframes dash {
	0%{
		stroke-dashoffset: 10000;
	}
	100%{
		stroke-dashoffset: 0;
	}
}
@-webkit-keyframes dash {
	0%{
		stroke-dashoffset: 10000;
	}
	100%{
		stroke-dashoffset: 0;
	}
}

.ipa{
	font-size: 0.8em;
	font-family: DejaVu Sans, sans-serif;
}
@media screen and (max-width: 1000px){
	#nav{
		height: auto;
		min-height: 104px;
		padding-bottom: 20px;
	}
	#nav a{
		display: block;
		max-height: 0;
		overflow: hidden;
		-webkit-transition: all 0.5s ease;
		transition: all 0.5s ease;
		padding-top: 0;
		padding-bottom: 0;
	}
	#nav.active a{
		max-height: 2em;
	}
	#nav a.io{
		max-height: none;
		display: block;
	}
	#nav .menu{
		max-width: 320px;
		float: right;
		clear: both;
		margin-top: 1em;
		-webkit-transition: all 0.5s ease;
		transition: all 0.5s ease;
	}
	#nav.active .menu{
		margin-top: 2.5em;
	}
	#nav span{
		display: none;
	}
}

@media screen and (max-width: 800px){
	.large{
		font-size: 1.2em;
	}
}

