@charset "utf-8";
@font-face{ font-display: swap; font-family: 'Montserrat'; src: url('fonts/Montserrat-Regular.ttf') format('truetype'); }
@font-face{ font-display: swap; font-family: 'Montserrat'; src: url('fonts/Montserrat-Bold.ttf') format('truetype'); font-weight: 700; }

html
{
	scroll-behavior: smooth;
}

body
{
	margin: 0;
	padding: 0;
	font-family: 'Montserrat', 'sans-serif';
	font-size: 14px;
	line-height: 1.5;
	color: #666;
}

div.jnClear
{
	clear: both;
}

header
{
	position: fixed;
	width: 100%;
	padding: 10px 0;
	box-shadow: 0 0 10px rgba(0, 0, 0, .4);
	background: linear-gradient(90deg, #86a, #5be);
	z-index: 10;
}

nav
{
	margin: 0 auto;
	max-width: 1300px;
}

nav div#jnLogo
{
	float: left;
	font-size: 34px;
	color: #F9F9F9;
	font-weight: 700;
	text-transform: uppercase;
}

nav div#jnLogo a
{
	opacity: 0.7;
	color: inherit;
	transition: all .2s ease-in-out;
}

nav div#jnLogo a:hover
{
	opacity: 1;
}

nav ul
{
	float: right;
	margin: 0;
	padding: 0;
	list-style-type: none;
}

nav ul li
{
	float: left;
}

nav ul li a
{
	display: block;
	padding: 15px 30px;
	color: #FFF;
	transition: all .2s ease-in-out;
}

nav ul li a i
{
	margin-right: 10px;
}

nav ul li a:hover
{
	background: rgba(255, 255, 255, 0.1);
}

img#jnAvatar
{
	max-width: 100%;
}

section
{
	padding: 50px calc((100% - 1300px) / 2);
	animation-name:fadeIn;
	animation-duration:.5s;
}

@keyframes fadeIn
{
	from {opacity:0;}
	to {opacity:1;}
}

section.grau
{
	background: #F9F9F9;
}

h1, h2
{
	background: linear-gradient(90deg, #86a, #5be);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	display: inline-block;
	font-size: 40px;
	text-transform: uppercase;
	font-weight: 700;
	display: block;
	text-align: center;
}

h3
{
	color: #86a;
	font-size: 16px;
	font-weight: 700;
}

.flexed
{
	display: flex;
}

.flexed .flexitem
{
	width: 25%;
	padding: 0 20px;
	text-align: center;
}

.flexed .flexitem-25
{
	width: 25%;
}

.flexed .flexitem-75
{
	text-align: left;
	width: 75%;
}

div.progressbar
{
	width: 100%;
	height: 16px;
	background: rgba(0, 0, 0, .2);
	box-shadow: 0 0 10px rgba(0, 0, 0, .1);
	border-radius: 10px;
}

div.progressbar div.progress
{
	height: 100%;
	background: linear-gradient(90deg, #86a, #5be);
	border-radius: inherit;
	animation-name: fadebar;
	animation-duration: 3s;
}

@keyframes fadebar
{
	from { width: 0%; }
	to { width: 100%; }
}

span.progressbar-text
{
	display: block;
	margin: 5px 0 25px 5px;
}

section#referenzen .flexed .flexitem
{
	box-sizing: border-box;
	padding:20px 10px;
}

section#referenzen .flexed .flexitem img
{
	width: 100%;
}

section#audiodesign .flexed .flexitem audio
{
	margin-top: 20px;
	width: 100%;
}

section#audiodesign .flexed .flexitem div.audio
{
	margin: 30px 0;
	text-align: center;
	background: #F1F1F1;
	line-height: 0;
	opacity: 0.8;
	transition: all .2s ease-in-out;
}

section#audiodesign .flexed .flexitem div.audio:hover
{
	opacity: 1;
	box-shadow: 0 5px 30px rgba(0, 0, 0, .15);
}

section#audiodesign .flexed .flexitem div.audio i
{
	padding: 25px;
	font-size: 128px;
	background: linear-gradient(90deg, #86a, #5be);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

section#kontakt div
{
	margin: 0 auto;
	max-width: 500px;
	padding: 15px;
}

footer
{
	text-align: center;
	padding: 30px calc((100% - 1300px) / 2) 10px;
}

footer a
{
	color: #999;
}

a{text-decoration: none;}

input, textarea
{
	border: none;
	padding: 15px;
	background: #DDD;
	width: 100%;
	box-sizing: border-box;
	font-family: inherit;
	font-size: inherit;
	transition: all .2s ease-in-out;
}

input[type=submit]
{
	cursor: pointer;
	color: #FFF;
	background: linear-gradient(90deg, #86a, #5be);
}

input:focus,
textarea:focus
{
	box-shadow: 0 0 10px rgba(0, 0, 0, .15);
}

div#event_success
{
	padding: 10px;
	color: #FFF;
	background: rgb(86, 163, 105);
}

div#event_fail
{
	padding: 10px;
	color: #FFF;
	background: rgb(163, 86, 86);
}

div#event_default
{
	padding: 10px;
	color: #666;
	background: rgb(244, 247, 211);
}

@media (prefers-color-scheme: dark)
{
	body { color: #CCC; background: #222; }
	header{background: linear-gradient(90deg, #111, #444);}
	input, textarea, section.grau, div#event_default { color: #CCC; background: #333; }
	section#audiodesign .flexed .flexitem div.audio { background: #111; }
}

@media (prefers-color-scheme: light)
{
	body { background: #FFF; }
	section.grau { background: #F9F9F9; }
}

@media screen and (max-width:900px)
{
	.flexed{display: block;}
	.flexed .flexitem{width: 100%; box-sizing: border-box;}
	nav div#jnLogo{display: none;}
	nav ul{float: none;}
	nav ul li{width: 20%; text-align: center;}
	nav ul li a{padding: 15px 0;}
	nav ul li a i{margin: 0; font-size: 18px;}
	nav ul li a span{display: none;}
	h1, h2, h3{word-break: break-all;}
}