/* ____________________________ Allgemein _________________________  */

@font-face {
	font-family: "Poppins";
	src: url(libraries/Poppins-Bold.ttf);
	font-weight: bold;
}

@font-face {
	font-family: "Space Grotesk";
	src: url(libraries/SpaceGrotesk-Regular.ttf);
	font-weight: normal;
}

@font-face {
	font-family: "Space Grotesk";
	src: url(libraries/SpaceGrotesk-Bold.ttf);
	font-weight: bold;
}
/* @font-face {
	font-family: "Space Grotesk";
	src: url(libraries/SpaceGrotesk-VariableFont_wght.ttf);
} */
:root {
	--accent-orange:#f3b831;
	-webkit-text-stroke-width: 0!important;
}
.svgcoloraccent{
	fill: var(--accent-orange);
}
.svgcolorbase{
	fill: black;
}
html {
	scroll-behavior: smooth;
}

body{
	width: 100vw;
	overflow-x: hidden;
	font-family: "Space Grotesk";
	font-weight: normal;
	-webkit-font-smoothing: subpixel-antialiased !important;
    text-rendering:optimizeLegibility !important;
    	-webkit-text-stroke-width: 0!important;

}


.container{
	position: relative;
	top: 30px;
}

article{
	padding-top: 100px
}

#uebermich{
	padding-top:50px;
}

a{
	color: black;
	text-decoration: none;
}
a:hover{
	color: black;
}

.link_underline:hover{
	text-decoration:underline;
}


#film_background{
	display: none;
}



/* ____________________________ Startbildschirm _________________________ */

#start{
	width: 100%;
	height: 100vh;
	background-color: var(--accent-orange);
	text-align: center;
	text-transform: uppercase;
	color: white;
	font-family: "Space Grotesk", sans-serif, Helvetica;
}

#startscreen{
	width: 100vw;
	height: 100vh;
	background-color: red;
	z-index: 800;
	position: fixed;
	animation: startanimation 2s;
	animation-delay: 2s;
	animation-fill-mode: forwards;
}

@keyframes startanimation {
	0% {transform: translateY(0vh)}
	100% {transform: translateY(-100vh)}
}

#start_elemente{
	position: relative;
	top: 50%;
	transform: translateY(-50%);
}

#start_willkommen{
	border-bottom: 2px solid black;
	display: inline;
	padding: 20px;
}

#hello_random{
	position: absolute;
	bottom: 100px;
	width: 100%;
	text-align: center
}




/* ____________________________ Videoplayer _________________________ */

#videoplay{
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.8);
	z-index: 900;
	position: fixed;
	display: none;
	cursor: pointer;
}
#video_center{
	text-align: center;
	top: 50vh;
	transform: translateY(-50%);
	position: relative;
}
#videoplayframe{
	width:80%;
	aspect-ratio: 16 / 9;
	margin:auto;
}


/* _________________________ Navigation ________________________  */


.nav-permanent{
	z-index: 200;
	text-align: center;
	text-transform: uppercase;
	font-family: "Space Grotesk";
	font-weight: bold;
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	-webkit-text-stroke-width: 0!important;
	/* margin: 30px 0px 0px 0px; */
}

.nav-main{
	background-color: white;
	border-bottom: 2px solid black;
	padding:20px 0 20px 0;
}

.nav-link{
	color: black !important;
}
.nav-link:hover{
	color: grey !important;
}

.nav_kontakt{
	padding: 0;
}

.nav-link-light{
	color: white !important;
	font-size: 130%;
	margin-bottom: 20%;
	border-bottom: 1px solid white;
}

.nav-link-light:hover{
	color: var(--accent-orange) !important;
	border-bottom: 1px solid var(--accent-orange) !important;
}

#nav_mobil_leiste{
	display: none;
	width: 100vw;
	height: 80px;
	padding: 0;
	position: fixed;
	z-index: 500;
}

#nav_mobil_leiste_row{
	background-color:white;
	border-bottom: 2px solid black;
	height: 80px
}

.menu-icon{
	cursor: pointer;
}
#icon_kontakt{
	height: 1.5em;
	margin: 10px; transform:rotate(-10deg)
}

#nav_mobil{
	width: 100vw;
	height: 100vh;
	background-color: #1b1c1e;
	z-index: 800;
	position: fixed;
	transform: translateX(100vw);
	display: none;
	/* transition: transform 1s; */
}



/* _________________________ Texte ________________________  */

h1{
	margin-top: 40px;
	margin-bottom: 20px;
	font-family: "Poppins";
	font-weight: Bold;
	/* border-bottom: 4px solid black; */
	width: 100%;
}

.linie_wrap{
	width: 100%;
	position: relative;
}
.linie{
	position: absolute;
	width: 100%;
	transition: width 2s;
}
.linie_black{
	border-bottom: 4px solid black;
}
.linie_accent{
	border-bottom: 4px solid var(--accent-orange);
	width: 25%;
}


h1.projekt_ueberschrift{
	margin-top: 0px;
}

#h1_light{
	color: white;
	border-bottom: 0;
}

h5{
	font-family: "Space Grotesk";
	font-weight: bold;
	font-size: 150%;
}

.text_light{
	color: white;
	text-decoration: none;
}
a.text_light:hover{
	color: var(--accent-orange);
}



/* _________________________ Über mich ________________________  */

#profilbild{
	background-color: grey;
	width: 130%;
	position: relative;
	left: -30%;
	text-align: right;
	transition: transform ease-in-out 2s;
	transform: rotate(-1deg);
	animation: profilanimation 2s;
	animation-delay: 2s;
	animation-fill-mode: forwards;
}
@keyframes profilanimation {
	from{
		clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
	}
	to{
		clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
	}
}
#profilbild:hover{

	transform: rotate(-2deg) translateY(-10px) scale(1.02);
}

#hello{
	width: 100%;
	padding-left: 20px;
	position: relative;
	height: auto;
	display: inline-block;
	overflow: inherit;
	opacity: 0;
	animation: helloanimation 1s;
	animation-delay: 2.5s;
	animation-fill-mode: forwards;
}

@keyframes helloanimation {
	from{
		transform: translateY(-100px);
	}
	to{
		transform: translateY(0);
		opacity: 1;
	}
}

#hand{
	width: 10%;
	position:absolute;
	animation: handwink 7s;
	transform-origin: bottom center;
	animation-iteration-count: infinite;
	transform: translateX(750%) translateY(60%);
}

@keyframes handwink {
	0% { transform: translateX(750%) translateY(60%) rotate(20deg);}
	7.5% { transform: translateX(750%) translateY(60%) rotate(-20deg);}
	15% { transform: translateX(750%) translateY(60%) rotate(30deg);}
	22% { transform: translateX(750%) translateY(60%) rotate(-20deg);}
	37% { transform: translateX(750%) translateY(60%) rotate(10deg);}
	50% { transform: translateX(750%) translateY(60%) rotate(17deg);}
	100% { transform: translateX(750%) translateY(60%) rotate(20deg);}
}
#hello_rubriken{
	display: none;
	text-align: center;
	text-transform: uppercase;
}
.pfeil_animation{
	animation: pfeilanimation 4s ease-in-out alternate infinite;
	display: inline-block;
}
@keyframes pfeilanimation{
	from{
		transform: translateY(-10px);
	}
	to{
		transform: translateY(10px);
	}
}


/* ____________________________ Projektseite _________________________  */

.titel{
	width: 100vw;
	height: 80vh;
	background-repeat: no-repeat;
	background-position: center center;
	background-attachment: scroll;
	background-size: cover;
	position: relative;
	top: -30px;
}
#titel_heimspiel{
	background-image: url("img/heimspiel/heimspiel_titel.jpg");
}
#titel_catrub{
	background-image: url("img/catrub/catrub_titel.jpg");
}
#titel_frend{
	background-image: url("img/frend/frend_titel.jpg");
}
#titel_diepille{
	background-image: url("img/diepille/diepille_titel.jpg");
}
#titel_maclicht{
	background-image: url("img/maclicht/maclicht_titel.jpg");
}
#titel_mactisch{
	background-image: url("img/mactisch/mactisch_titel.jpg");
}
#titel_usbhub{
	background-image: url("img/usbhub/usbhub_titel.jpg");
}
#titel_uhrdock{
	background-image: url("img/uhrdock/uhrdock_titel.jpg");
}
#titel_schlichterundaemter{
	background-image: url("img/schlichterundaemter/schlichterundaemter_titel.jpg");
}
#titel_poertners{
	background-image: url("img/poertners/poertners_titel.jpg");
}
#titel_mosaikkey{
	background-image: url("img/mosaikkey/mosaikkey_titel.jpg");
}

.container_detail{
	position: relative;
	top: -100px !important;
	background-color: white;
}

.link_projektseiten{
	color: var(--accent-orange);
	text-decoration: none;
}
.link_projektseiten:hover{
	color: grey;
}

#carouselPoster{
	display: none;
}

.row-margin-top{
	margin-top: var(--bs-gutter-x);
}
.pfeil_offset{
	display: block;
	position: relative;
	top: -150px;
	visibility: hidden;
}




/* ____________________________ Artikel & Karten _________________________ */

.article_texte{
	margin-bottom: 60px;
}

.card-text{
	text-transform: uppercase;
	font-size: 90%;
}

.card{
	border-radius: 0;
	border: 0px;
	transition: transform 1s;
	cursor: pointer;
	backface-visibility: hidden;
}

.card:hover{
	transform: scale(1.05, 1.05)
}

.card-body{
	padding-left: 0
}
.card_img{
	width: 100%;
}

#card_titel_umbruch{
	display: none;
}
#card_titel_umbruch_divan{
	display: none;
}
.link_zu_projekt{
	display: none;
}

/* ____________________________ Allgemeines  _________________________ */

.new{
	position: absolute;
	width: 50%;
	top: 0;
	left: 0;
	transform: translate(-50%,-50%)
}
#new_projektseite{
	width: 10%;
}

#crack_mobil{
	height: 30px; 	background-image: url('img/svg/crack_white.svg');
		background-repeat: no-repeat;
		background-position: center center;
		background-attachment: scroll;
		background-size: cover;
}

#footer{
	width: 100%;
	background-image: url('img/svg/crack_black.svg');
	background-repeat: no-repeat;
	background-position: center center;
	background-attachment: scroll;
	background-size: cover;
}

.button{
	width:100%;
	padding: 5px;
	border: 2px solid var(--accent-orange);
	background-color: var(--accent-orange);
	color: black;
	text-align: center;
	text-transform: uppercase;
	font-family: "Space Grotesk";
	font-weight: bold;
	text-decoration: none;
}

.button:hover{
	animation: shake 1s;
}

@keyframes shake {
	0% { transform: scale(1, 1) rotate(0deg); }
	50% { transform: scale(1.1, 1.1) rotate(2deg); }
	100% { transform: scale(1, 1) rotate(0deg); }
}

.button_kontakt{
	color: black;
	text-decoration: none;
}



/* ____________________________ Carousel _________________________ */

.carousel-control-next-icon{
	background-image: url('img/svg/control-next-icon.svg');
}
.carousel-control-prev-icon{
	background-image: url('img/svg/control-prev-icon.svg');
}
.carousel-control-next,.carousel-control-prev{
	transform: translate(0, -10%);
}
.carousel-indicators{
	bottom: 20%;
}




/* _________________________ E-Mail Button Animation ________________________  */

#smile{
	width: 60%;
	top: 30px;
	/* left: 50%;
	transform: translateX(-50%) translateY(180%); */
	position: relative;
	transform-origin: bottom center;
	padding: auto;
	margin: auto;
	stroke-dasharray: 1000;
	stroke-dashoffset: 1000;
}

.smileanimation{
	stroke-dasharray: 1000;
	stroke-dashoffset: 1000;
	animation: smile 5s;
}

@keyframes smile {
	0% {stroke-dashoffset: 1000;}
	80% {stroke-dashoffset: 0;}
	100% {stroke-dashoffset: 1000;}
}

#mail_alert{
	width: 100%;
	transform-origin: bottom center;
	z-index: -100;
	-webkit-backface-visibility: hidden;

	/* -webkit-transform: translateY(-80%) scale(0.1);
	-moz-transform: translateY(-80%) scale(0.1);
	-o-transform: translateY(-80%) scale(0.1); */
	transform: translateY(-80%) scale(0);

	/* -webkit-transition: all ease 0.4s;
	-moz-transition: all ease 0.4s;
	-o-transition: all ease 0.4s; */
	transition: all ease 0.4s;
}


/* #wavebild{
	position: relative;
	left: -30%;
	text-align: right
} */

#film_container{
	display: none
}
/* ____________________________ Media Varianten _________________________ */

@media (min-width: 992px){
	.container{
		max-width: 850px
	}
}

@media (min-width: 1400px){
	.container{
		max-width: 1000px
	}
}

@media (max-width: 767px){
	#container_background{
	width: 100vw;
	left: 0;
	text-align: center;
	/* left: calc(.5 * var(--bs-gutter-x)); */

	position: absolute;
	display:block;
	z-index: -400
	}
	#film_background{
		width:100%;
		transform: scaleX(1.6);
		transform-origin: center center;
		display: block;
	}
	#film_container{
		display: block;
	}
	.nav-permanent{
		font-size: 70%;
	}
	.button_footer{
		font-size: 90%;
	}
	#smile{
		display: none;
	}
	.new{
		width: 30%;
	}
	#profilbild{
		left:-20%;
	}
	#wavebild{
		left:-20%;
	}
	#hello{
		padding-top: 30px;
	}
	article#uebermich{
		padding-top:0px;
	}
	.kontakt_abstand{
		margin-bottom: 20px !important;
	}
	#mail_alert{
		width: 100%;
	}
	#titel_catrub{
		background-position-x: 70%
	}
	#titel_frend{
		background-position-x: 70%
	}
	#titel_diepille{
		background-position-x: 60%
	}
	#new_projektseite{
		display: none;
	}
	#logo{
		transform: scale(1.1);
	}
	#card_titel_umbruch{
		display: block;
	}
}


@media (max-width: 576px){
	.container{
		padding-left: 10%;
		padding-right: 10%;
		top: 0;
	}
	#pfeil_kontakt{
		display: none;
	}
	#pfeil_center{
		text-align: center
	}
	#bereich_email{
		margin-top: 70px;
	}
	.nav-permanent{
		display: none;
	}
	#nav_mobil{
		display: block
	}
	#nav_mobil_leiste{
		display:block;
	}
	.new{
		width: 20%;
		display: none;
	}
	#profilbild{
		margin-top: 85px;
		transform: rotate(0deg);
	}
	#hello_rubriken{
		display: block;
	}
	.card:hover{
		transform: scale(1.0, 1.0)
	}
	.card_img:hover{
		transition: transform 1s;
		transform: scale(1.05, 1.05);
	}
	#card_titel_umbruch{
		display: none;
	}

	#container_background{
	width: 100vw;
	left: 0;
	overflow-x: hidden;
	position: absolute;
	z-index: -400
	}

	#film_background{
		width:100vw;
		transform: scaleX(1.4);
		display: block
	}
	#carouselPoster{
		display: block
	}
	.link_zu_projekt{
		display: block;
	}
	.pfeil_offset{
		top: -250px;
	}
}


@media (max-width: 465px){
	#card_titel_umbruch{
		display: block;
	}
	#card_titel_umbruch_divan{
		display: block;
	}
}
@media (max-width: 388px){
	#card_titel_umbruch{
		display: block;
	}
	#card_titel_umbruch_divan{
		display: none;
	}
	#poertners{
		font-size: 140%;
	}
}
