@font-face {
	font-family: AtlasGrotesk;
	src: url(fonts/AtlasGroteskRegular.otf);
	font-weight: normal;
	font-display: swap;
}

@font-face {
	font-family: Futura;
	src: url(fonts/FuturaPTBoldOblique.otf);
	font-weight: bold;
	font-style: italic;
	font-display: swap;
}

html {
	font-family: "AtlasGrotesk", sans-serif;
	font-weight: normal;
	font-size: 14px;
	line-height: 1.25;
	
	scrollbar-width: none;
}

::-webkit-scrollbar {
    display: none;
}

@media only screen and (450px <= width) {
	html {
		font-size: 18px;
	}
}

@media only screen and (600px <= width) {
	html {
		font-size: 22px;
	}
}

@media only screen and (850px <= width) {
	html {
		font-size: 24px;
	}
}

body {
	margin: 0;
	padding: 0;
	color: #F5F2EF;
	background: #060713;
}

/*

		H E R O
		
*/

#hero {
	position: relative;
	height: 100svh;
	background: black;
	clip-path: inset(0 0);
}

#hero-bg {
	-background: radial-gradient(circle at 50% 0%, #fff 20%, hsl(190,100%,50%), hsl(342,100%,50%), hsl(46,100%,50%), #000 75%);
	background: radial-gradient(circle at 50% 0%, #fff 20%, hsl(250,100%,80%), hsl(190,100%,50%) 80%, hsl(342,100%,50%), hsl(46,100%,50%));
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 500%;
	animation: herobgIn 3s;
}

@keyframes herobgIn {
	  0%	{transform: translate(0, 80%);}
	100%	{transform: translate(0,0);}
}

#hero-text {
	color: rgba(255,255,255,0.75);
	
	line-height: 1;
	text-align: center;
	font-size: 2rem;
	position:  absolute;
	top: 50%;
	left: 0;
	width: 100%;
	transform: translate(0, -50%);
	

}

#hero .highlight {
	color: rgba(255,255,255,1);
	font-family: "Futura", sans-serif;
	font-weight:bold;
	font-style: italic;
	text-transform: uppercase;
	font-size: 1.05em;
}


/*

	N A V B A R
	
*/

:root {
	--nav-height: 48px;
}

#navbar {
	width: 100%;
	--nav-itm-height: calc(var(--nav-height) / 3);
	position: fixed;

	color: white;
	background: rgba(0,0,0,0.3);
	-webkit-backdrop-filter:	blur(calc(var(--nav-height) / 2));
	backdrop-filter:			blur(calc(var(--nav-height) / 2));
	font-size: var(--nav-itm-height);
	user-select: none;
	
	z-index: 20;
}

#navbar > div {
	max-width: 1080px;
	width: 100%;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.navitem {
	display: flex;
	position: relative;
	height: var(--nav-height);
	padding: 0 var(--nav-itm-height);
	align-items:center;
	justify-content:center;
	overflow: clip;
	cursor: pointer;
	transition: 0.15s;
}

.navitem > img {
	height: var(--nav-itm-height);
}

.link {
	border-radius: calc(var(--nav-height) / 2);
}

.link:hover {
	opacity: 0.8;
}

.link.active {
	background: rgba(255,255,255,0.3);
}

#nav-logo {
	justify-content: start;
	flex: 1;
	order: 0;
	display:none;
}

#logolarge {
	display:none; /*media*/
}

#menubutton {
	position: relative;
	order: 1;
	flex: 1;
	justify-content: start;
}

#menubutton div {
	position: absolute;
	transition: .15s;
}

.contact {
	order: 2;
	position: relative;
	color: inherit;
	text-decoration: none;
	font-weight: normal;
	background: hsl(210,100%,50%);
	overflow: visible;

	--btn-margin: 8px;
	--btn-height: calc(var(--nav-height) - calc(2 * var(--btn-margin)));
	--btn-radius: calc(var(--btn-height) / 2);
	height: var(--btn-height);
	margin: var(--btn-margin) 0;
}

.contact:hover {
	opacity: 1;
	background: hsl(210,100%,60%);
}

.contact:after {
	content: "";
	position: absolute;
	left: 0;
	top: 0 ;
	width: 100%;
	height: 100%;
	background: hsla(0,0%,0%,0.3);
	z-index: -1;
	filter:blur(calc(var(--nav-height) / 10));
}

.contact:first-of-type:after {
	border-radius: var(--btn-radius) 0 0 var(--btn-radius);
	margin-right: 2px;
}
.contact:last-of-type:after {
	border-radius: 0 var(--btn-radius) var(--btn-radius) 0;
}

.contact:first-of-type {
	border-radius: var(--btn-radius) 0 0 var(--btn-radius);
	margin-left: calc(var(--nav-itm-height) / 2);
	margin-right: 2px;
}
.contact:last-of-type {
	border-radius: 0 var(--btn-radius) var(--btn-radius) 0;
	margin-right: calc(var(--nav-itm-height) / 2);
}
.contact div {
	margin-left: calc(var(--nav-itm-height) / 2);
	display: none;
}


@media only screen and (width < 200px) {
	.contact { display: none;}
}

@media only screen and (width >= 350px) {
	.contact div { display: block;}
}


@media only screen and (width < 400px) {
		.link {
			width: 100%; /* media */
			order: 3;
			justify-content: start;
		}
		.hide .link {
			height: 0;
			opacity: 0;
			filter: blur(10px);
		}
		
		.hide #menuclose {
			opacity: 0;
		}
		#menuopen {
			opacity: 0;
		}
		.hide #menuopen {
			opacity: 1;
		}
		
}

@media only screen and (400px <= width) {
	#menubutton {
		display: none;
	}
	.contact div {
			display:none;
		}
}

@media only screen and (450px <= width) {
	#nav-logo {
		display: flex;
	}
}

@media only screen and (650px <= width) {
	.contact div {
		display: block;
	}
	
	:root {
		--nav-height: 42px;
	}
}

@media only screen and (900px  <= width) {
	#logolarge {display:block;}
	#logosmall {display:none;}
}

.section {
	scroll-margin-top: var(--nav-height);
}

/* 			^^^^^	LOAD FIRST IN HTML	^^^^^		*/
/* 			vvvvv	LOAD LATER			vvvvv		*/

/* SCROLL HINT */

#scrollhint {
	position: absolute;
	bottom: 10%;
	left: 50%;
	margin: 0 0 0 -.75rem;
	width: 1.5rem;
	height: 1.5rem;
	
	transform: rotate(45deg);
	opacity: 0;
	
	border-width: 0 .1rem .1rem 0;
	border-style: solid;
	border-color: #fff;
	
	animation: scrollHint 2s ease 3s infinite;
	z-index: 5;
}

@keyframes scrollHint {
	  0%	{transform: translate(0, -2rem) rotate(45deg);	opacity: 0;}
	100%	{transform: translate(0, 0) rotate(45deg);		opacity: 1;}	
}

/*

		P O R T F O L I O
		
*/

#portfolio {
	display: grid;
	position: relative;
	
	grid-template-columns: repeat(1, 1fr);
	
	transition: 1.5s ease-in;
}



#portfolio .pic {
	aspect-ratio: 16/9;
	object-fit: contain;
	grid-column: span 1;
	width: 100%;
	cursor: pointer;
	background: hsl(0,0%,15%);
	transition: .15s;
	box-shadow: 0 0 0 rgba(0,0,0,0.5); 
}

portfolio .pic:hover {
	z-index:2;
	box-shadow: 0 .5rem 1rem rgba(0,0,0,0.5);
}

.pic:last-child {
		display:block;
	}
	
@media only screen and (500px <= width) {
	#portfolio {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.pic:last-child {
		display:none;
	}
	
}

@media only screen and (850px <= width) {
	#portfolio {
		grid-template-columns: repeat(3, 1fr);
	}
	
	.pic:last-child {
		display:block;
	}
}

@media only screen and (1200px <= width) {
	#portfolio {
		grid-template-columns: repeat(4, 1fr);
	}
	
	.pic:last-child {
		display: none;
	}
}

@media only screen and (2000px <= width) {
	#portfolio {
		grid-template-columns: repeat(5, 1fr);
	}
}

.animateIn {
	opacity: 0;
}

.pic.active {
	animation: picAnimationIn 0.5s forwards;
}

@keyframes picAnimationIn {
	  0% {opacity: 0; filter: blur(16px);}
	100% {opacity: 1; filter: blur(0);}
}

/*	

	M O D A L
	
*/

.modal {
	position: fixed;
	top:0;
	left:0;
	width: 100vw;
	height: 100vh;
	z-index: 100;
	
	visibility: hidden;
	background: rgba(0,0,0,0);
	-webkit-backdrop-filter:	blur(0) saturate(1);
	backdrop-filter:			blur(0) saturate(1);
}

.modalopen {
	visibility: visible;
	background: rgba(0,0,0,0.8);
	-webkit-backdrop-filter:	blur(1rem) saturate(0);
	backdrop-filter:			blur(1rem) saturate(0);
}

#modalcontent {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: flex;

	scroll-snap-type: x mandatory;
	
	scrollbar-width: none;
}

#modalcontent::-webkit-scrollbar {
	display:none;
}

#modalcontent .pic {
	flex: none;
	width: 100%;
	height: 100%;
	margin: 0 1rem;
	object-fit: contain;
	
	cursor: pointer;
	
	scroll-snap-align: center;
	scroll-snap-stop: always;
}

.nopointerevents {
	pointer-events: none;
}



/*

		I N F O
		
*/

#info {
	padding: .5rem;
}

#infogrid {
	max-width: 1080px;
	margin:0 auto;
	
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	grid-gap: .5rem;
}

.infoitem {
	background: hsl(0,0%,20%);
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	
	border-radius: 2rem;
	padding: 2rem;
	
	gap: 16px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items:center;
	
	text-align: center;

	hyphens: manual;
	overflow: hidden;
}

.infoitem:hover {
	background: hsl(0,0%,25%);
}

.giga {
	font-size: 1.8rem;
	line-height: 1;
}

.mega {
	font-size: 1.6rem;
	line-height: 1.25;
}

.kilo {
	font-size: 1.3rem;
	line-height: 1.5;
}

.reg {
	font-size: 1rem;
}

#info .highlight {
	font-family: "Futura", sans-serif;
	text-transform: uppercase;
	font-size: 1.05em;
}

/* INFO INVIDUAL STYLES */

#kameramann {
	color: #fff;
	background: hsl(265,100%,50%);
	background-image: linear-gradient(-30deg, hsl(265,100%,50%) 0%, hsl(186,100%,40%) 50%, hsl(156,100%,40%) 100%);
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	min-height: 16rem;
	
	text-shadow: 0 0 0.5rem rgba(0,0,0,0.1);
}

#diplom {
	min-height: 16rem;
}

#diplom .highlight {
	color: hsl(60,100%,70%);
	background: linear-gradient(0deg, hsl(55, 100%, 80%), hsl(65, 100%, 50%));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.flag {
	height: 4rem;
	object-fit: cover;
	border-radius: 50%;
	margin:8px;
	padding:0;
	
	animation: flaganimation 4s infinite;
}

@keyframes flaganimation {
	  0%	{transform: rotate(-5deg);}
	 50%	{transform: rotate(5deg);}
	100%	{transform: rotate(-5deg);}
}

.flag:nth-of-type(1) {
	animation-duration: 5s;
}

.flag:nth-of-type(2) {
	animation-duration: 3s;
}

.flag:nth-of-type(3) {
	animation-duration: 6s;
}

.flag:nth-of-type(4) {
	animation-duration: 3.5s;
}

#ausland a {
	display:inline-flex;
	height: 4rem;
	width: 4rem;
	color: inherit;
	text-decoration: none;
	background: hsl(210,100%,50%);
	border-radius: 50%;
	
	transition: 0.15s;
	
	justify-content: center;
	align-items: center;
	vertical-align: top;
	font-size: 40px;
	
	margin:8px;
	padding:0;
	
	font-family: "Futura", sans-serif;
	font-weight: bold;
	font-style: italic;
}

#ausland a:hover {
	background: hsl(210,100%,60%);
}

#sprache {
	background: radial-gradient(circle at bottom, hsl(250, 75%, 15%), transparent),
				radial-gradient(circle at top, hsl(210, 75%, 15%), transparent);
}

#sprache .highlight {
	color: hsl(250, 100%, 70%);
}

#schnitt .highlight {
	color: hsl(150, 100%, 70%);
}

#spezial .highlight {
	color: hsl(10, 100%, 70%);
}

#tonmeister .highlight {
	color: hsl(210,100%,70%);
}

@supports (-webkit-background-clip: text) {
	#sprache .highlight {
		background: linear-gradient(90deg, hsl(250, 100%, 70%), hsl(280, 100%, 70%));
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
	}

	#schnitt .highlight {
		background: linear-gradient(90deg, hsl(150, 100%, 70%), hsl(40, 100%, 70%));
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
	}

	#spezial .highlight {
		background: linear-gradient(90deg, hsl(10, 100%, 70%), hsl(20, 100%, 70%));
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
	}

	#tonmeister .highlight {
		background: linear-gradient(90deg, hsl(210, 100%, 70%), hsl(180, 100%, 70%));
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
	}
}

.infoicon {
	height: 4rem;
	opacity: 0.5;
	transition: 0.3s;
}

.infoitem:hover .infoicon {
	opacity: 1;
}

/* GRID SIZES*/


.large-span-12 {
	grid-column: span 12;
}

.large-span-6 {
	grid-column: span 6;
}

.large-span-4 {
	grid-column: span 4;
}

@media only screen and (850px <= width) {
	.large-span-12 {
		padding: 48px 128px;
	}
}

@media only screen and (width <= 850px) {
	.small-span-12 {
		grid-column: span 12;
	}
}

/*

		C O N T A C T
		
*/

#contact {
	padding: 2rem 1rem;
	font-size: 1rem;
	
	overflow: clip;
}

#contact > div {
	max-width: 1080px;
	margin:0 auto;
	
	min-height: 75vh;
}

#avatar {
	aspect-ratio: 1 / 1;
	display:block;
	width: 12rem;
	height: 12rem;
	background: #eee;
	border-radius: 2rem;
	margin: 0 0 1rem;
}

#adresse {
	margin-bottom: 1rem;
}

#contact a {
	display: inline-flex;
	vertical-align: middle;
	width: max-content;

	color: inherit;
	text-decoration: none;
	background: rgba(255,255,255,0.2);
	border-radius: 1.5rem;
	margin-bottom: 1rem;
	padding: 0 1.25rem;
	height: 3rem;
	justify-content: center;
	align-items: center;
	
	transition: 0.15s;
}

#contact a:hover {
	background: rgba(255,255,255,0.5);
}

#contact a img {
	height: 1rem;
	padding:0;
	margin:0;
}


/*

		F O O T E R
		
*/
#footer {
	width: 100%;
	position: relative;
	z-index: 30;
}

#footerpic {
	height: 110lvh;
	clip-path: inset(0);
}

#footerpic > img {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	object-fit: cover;
}

#footerimpressum {
	background: #000;
	text-align: center;
}

#footerimpressum > a {
	display: inline-block;
	color: #fff;
	background: rgba(255,255,255,0.2);
	
	text-decoration: none;
	font-size: 1rem;
	
	border-radius: 2rem;
	margin: .5rem 0;
	padding: 1rem 2rem;
	
	transition: 0.15s;
}

#footerimpressum > a:hover {
	background: rgba(255,255,255,0.5);
}

/* 
	I M P R E S S U M 
*/

#impressum > div {
	max-width:1080px;
	margin: 0 auto;
	font-size: 1rem;
	padding: 2rem;
}

#impressum h1 {
	font-size: 2rem;
	margin: 1rem 0 .5rem 0;
}

#impressum h2 {
	font-size: 1rem;
	margin: 1rem 0 0 0;
}

#backbutton {
	display: inline-block;
	color: #fff;
	background: rgba(255,255,255,0.2);
	
	text-decoration: none;
	font-size: 1rem;
	
	border-radius: 2rem;
	margin: .5rem 0;
	padding: 1rem 2rem;
	
	transition: 0.15s;
}


/* 

	F I X E S 
	
*/

* {
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

img {
	color: transparent;
}
