@font-face {
    font-family: 'DIN-medium';
    src:url('fonts/DIN-medium.otf');
}

@font-face{
	font-family:'DIN-regular';
	src:url('fonts/DIN-regular.otf');
}

html, body{
	height: 100%;
	margin: 0;
	padding: 0;
}
body{
	font-family: 'DIN-regular';
}
header{
	position: fixed;
	width: 100%;
	margin: 0;
	padding: 0;
}
.loading-bar{
	width:60px;
	position:fixed;
	left: calc(50% - 40px);
	top:10px;
}

#home .loading-bar{
	top:calc(50% - 44px);
	stroke-dasharray:241;
	stroke-dashoffset:241;
	
}

.loading-bar.ended
{
	animation:logo 1.5s;
	-moz-animation:logo 1.5s;
	-webkit-animation:logo 1.5s;
	animation-fill-mode: forwards;
	-moz-animation-fill-mode: forwards;
	-webkit-animation-fill-mode: forwards;
}
#loader{
	position:absolute;
	top:calc(50% + 54px);
	left:calc(50% - 40px);;
}
#loader.ended{
	display: none;
}
@keyframes logo{
	to{top:10px;}
}
@-moz-keyframes logo{
	to{top:10px;}
}
@-webkit-keyframes logo{
	to{top:10px;}
}


a{
	text-decoration: none;
	color: #000;
}
a:visited{
	color:#000;
}
#menuButton{
	cursor: pointer;
	z-index: 11;
	position: fixed;
	top:20px;
	left:20px;
}
.bar1, .bar2, .bar3{
	width: 60px;
	height: 5px;
	background-color: #333;
	margin: 10px 0;
	transition: 0.4s;
	color: #fff;
}
#menuButton.change .bar1 {
	transform: translate(0, 15px) rotate(-45deg);
}

#menuButton.change .bar3 {
	transform: translate(0, -15px) rotate(45deg);
}

#menuButton.change .bar2{
	opacity: 0;
}

#closeButton{
	cursor: pointer;
	z-index: 11;
	position: fixed;
	top:20px;
	right:20px;
}

#closeButton .bar1{
	transform: translate(0, 7px) rotate(-45deg);
}
#closeButton .bar2 {
	transform: translate(0, -7px) rotate(45deg);
}

#menu {
	font-family: 'DIN-medium', sans-serif;
	/*font-weight: 600;*/
	font-size: 3rem;
	position: fixed;
	left:0;
	height: 0;
	z-index: 10;
	top: 0;
	/*background-color: rgba(255,255, 255, 0.75);*/
	transition: height .3s cubic-bezier(.645,.045,.355,1);
	width:100%;
	color: #000;
	text-transform: uppercase;
	opacity: 1;
	background: rgba(255, 255, 255, 0.9);
	overflow: scroll;
	
}
#home #menu{
	opacity:0;
}

.show{
	animation:show 1.5s;
	-moz-animation:show 1.5s;
	-webkit-animation:show 1.5s;
	animation-fill-mode: forwards;
	-moz-animation-fill-mode: forwards;
	-webkit-animation-fill-mode: forwards;

}
@keyframes show{
	to{opacity:1;}
}
@-moz-keyframes show{
	to{opacity:1;}
}
@-webkit-keyframes show{
	to{opacity:1;}
}

.hide{
	animation:show 1.5s;
	-moz-animation:show 1.5s;
	-webkit-animation:show 1.5s;
	animation-fill-mode: forwards;
	-moz-animation-fill-mode: forwards;
	-webkit-animation-fill-mode: forwards;

}
@keyframes hide{
	to{opacity:0;}
}
@-moz-keyframes hide{
	to{opacity:0;}
}
@-webkit-keyframes hide{
	to{opacity:0;}
}


#menu.menuOpen{
	height:100%;
}

#menu ul{
	list-style: none;
	margin:140px auto 0 auto;
	padding:0;
	width:100%;
	text-align: center;
}

#menu ul ul.subMenu{
	padding:0;
	margin:0;
}
#menu ul li{
	padding-bottom: 50px;
}
#menu ul li li{
	padding-bottom: 0;
	float:none;
}
a.hasSubMenu{
	cursor: pointer;
}

#contact #wrapper{
	width:80%;
	margin: 150px auto;
	font-size:1rem;
}

#contact #wrapper a {
	text-decoration: underline;
}

.alert{
	color:#B21B1D;
}

.grecaptcha-badge{
	display: none;
}
#header{
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	margin:150px 0 0 0;
	font-family: 'DIN-medium';
	font-size: 2.5rem;
}
#header img{
	display: block; 
	max-width:550px;
	margin: 0 auto;
}

#wrapper {
	margin: 0;
	font-size: 2rem;
	padding: 0 10%;
	/*block-size: 100%;*/
}

#about #wrapper{
	font-size: 1.8rem;
	padding: 0 20%;
}
#about #wrapper section{
	margin: 150px 0 0 0;
}
#about #wrapper div{
	/*height:100%;*/
	width:20%;
}
#about #wrapper #desc{
	width: 80%;
	/*height:100%*/
}

section {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #fff;
	margin: 50px 0 100px 0;
	height:100%;
	
}
section img, section video{
	max-width:100%;
}

#contactForm{
	width:500px;
	margin:50px 0 0 0;
}

label{
	font-size:1rem;
}
input[type=text], input[type=email], textarea{
	width:100%;
	margin:0 0 10px 0;
}
input[type=submit]{
	background: #fff;
	border:solid 1px #000;
	padding:5px 15px;
}


#scroll{
	position: absolute;
	bottom: 40px;
	left: 50%;
	transform: translateX(-50%);
	font-family: 'DIN-medium';
	font-size: 2rem;
	color: #aaa;
}
.hideScroll{
	transition: opacity 1s;
	opacity:0;
}

.arrows{
	position:relative;
	left: 50%;
	transform-origin: center;
	transform: translateY(15px) translateX(-15px);
	animation:arrows 0.5s;
	-moz-animation:arrows 0.5s;
	-webkit-animation:arrows 0.5s;
	animation-iteration-count:infinite;
	animation-direction: alternate-reverse;
}
@keyframes arrows{
	to{transform: translateY(25px) translateX(-15px);}
}
@-moz-keyframes arrows{
	to{transform: translateY(25px) translateX(-15px);}
}
@-webkit-keyframes arrows{
	to{transform: translateY(25px) translateX(-15px);}
}
.arrows img{
	width:30px;
}

/*@media (min-width: 760px){
	#menu{
		font-size: 1.3rem;
	}
}*/
@media (min-width: 1024px){
	#menuButton{
		display: none;
	}
	#menu{
		font-size: 1.3rem;
		width:auto;
		height: auto;
		background:none;
		overflow: visible;
	}
	#menu ul{
		margin: 20px 0 0 20px;
		text-align: left;
	}
	#menu ul li{
		float:left;
		margin : 0 20px 0 0;
	}
	#menu ul ul.subMenu{
		position:absolute;
	}
	
	#menu ul li li{
		position:relative;
	}
	#about #wrapper div{
	height:80%;
	width:20%;
	}
	#about #wrapper #desc{
		width: 80%;
	}
	#about #wrapper img{
		height:80%;
		width:70%
	}
	#contact #wrapper{
		width:500px;
	}
	#scroll{
		font-size: 1.3rem;
	}
}


@media (min-width: 1200px){
	#closeButton .bar1{
		height:3px;
		transform: translate(0, 6px) rotate(-45deg);
	}
	#closeButton .bar2 {
		height:3px;
		transform: translate(0, -6px) rotate(45deg);
	}
	#about #wrapper div{
	height:80%;
	width:20%;
	}
	#about #wrapper #desc{
		width: 80%;
	}
	#about #wrapper img{
		height:80%;
		width:50%
	}
}
