@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');


:root {
	--Hauptfarbe:#0B0B3B;
	--Zweitfarbe:#F5DA81;
}

*{
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}
html, body {
	scroll-behavior: smooth !important;
}
h2 {
	color:var(--Zweitfarbe);
	margin-bottom:2rem;
	text-transform:uppercase;
	font-family: 'Poppins', sans-serif;
	text-align:justify;
}
.nav a:link {
	text-decoration: none;
	color:white;
	transition:0.5s all ease-in-out;
}
.nav a:visited {
	text-decoration: none;
	color:var(--Zweitfarbe);
}
.nav a:hover {
	text-decoration: none;
	color:var(--Zweitfarbe 0.5);
	transition:0.3s all ease-in-out;
	padding-left: 5px;
	cursor: pointer;
}
article {
	display:flex;
	align-items:center;
	overflow:hidden;
	height:100%;
}
nav {
	position: fixed;
	right: 0px;
	top:10vh;
	padding: 2rem;
	background-color:var(--Hauptfarbe);
	display:none;
}
nav ul {
	list-style-type:none;
	text-transform:uppercase;
}
img {
	height:250px;
	width:100%;
}
body {
	font-size:18px;
	margin:0;
	border:0;
	padding:0;
	line-height: 1.5;
	font-family: 'Poppins', sans-serif;
}





/*TOPBAR*/
.top-bar {
	background-color:var(--Hauptfarbe);
	/*overflow: hidden;*/
	position:fixed;
	top: 0;
	width: 100%;
	height:10vh;
	margin:0;
	padding:0;
	z-index: 10;
	border-bottom:1px solid black;
}
.bar1, .bar2, .bar3 {
	width: 35px;
	height: 5px;
	background-color:var(--Zweitfarbe);
	margin: 6px 0;
	transition: 0.4s;
}
.nav-bar {
	display:inline-block;
	cursor: pointer;
	position: absolute;
	right: 15px;
	top: 25px;
}
.navi_open {
	display:block;
}
/*LogoTop*/
.logotop {
height: 100%;
}

#logo {
	text-align: center;
	padding-top: 1rem;
	z-index: 1000;
	position: fixed;
	top:0;
	left: 48%;
}
#logo svg {
	height:13vh;
}

/*Hamburger animation*/
.change .bar1 {
	transform: translate(0, 11px) rotate(-45deg);
}
.change .bar2 {
	opacity:0;
}
.change .bar3 {
	transform: translate(0, -11px) rotate(45deg);
}

.top-titel{
	display: inline-block;
}

.titel-text {
	color: transparent;
	position: relative;
}

.titel-text::before {
	font-size: 1.8rem;
	padding-left: 3rem;
	letter-spacing: 4px;
	content: "Blanc-Webdesign";
	position: absolute;
	width: 0%;
	overflow: hidden;
	color: var(--Zweitfarbe);
	border-right: solid 3px var(--Zweitfarbe);
	transition: 2s ease-in-out;
}
.titel-text:hover::before{
	width: 80%;
}

/*.top-titel {
	font-size: 2.5rem;
	padding: 1rem;
	padding-left: 1rem;
	color: var(--Zweitfarbe);
	letter-spacing: 5px;
	border-right: 5px solid green;
	animation: toptitel 3s ease-in-out;
	display:inline-block;
}

@keyframes toptitel {
	0% { transform: translateX(-150%);}
	100% { transform: translateX(0%);}
}*/




/*Slideshow-container*/
.slideshow {
	position: relative;
	margin: auto;
	height: 100vh;
	width: 100%;
	overflow: hidden;
	z-index: 1;
}
#slideshow-container{
	width: fit-content;
	min-height: 100% !important;
	display: flex;
	transition: all ease-in-out 1s;
}
.mySlides {
  position: relative;
  width:100vw;
  height:100vh;
  transform: translate();
}
.mySlides img {
	width: 100%;
	height: 100%;
	min-height: 100% !important;
	object-fit: cover;
}
/*Nächster, Vorher button*/
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}
/*Nächster button, positionierung*/
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
/*Drüber fahren, hintergrund durchsichtig*/
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
  color: var(--Zweitfarbe);
}
/*Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}
/*Punkte, Kreise etc.*/
.dots{
text-align:center;
position: absolute;
bottom: 20px;
left: 50%;
translate: -50%
}
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}
.active, .dot:hover {
  background-color: #717171;
}
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .5}
  to {opacity: 1}
}




/*PORTFOLIO*/
.ubermich {
	height:80vh;
	background-color: var(--Hauptfarbe);
}
.portrait {
	width:33%;
}
.meintext {
	width:77%;
	color: var(--Zweitfarbe);
	padding: 0 1rem;
	max-width: 1200px;
}
.portrait img {
	object-fit:cover;
	height:45vh;
	width:60%;
	border:4px solid var(--Zweitfarbe);
	display: flex;
	margin:0 auto;
	min-width: 250px;
}
section p {
	font-size:1.3rem;
	line-height: 1.7;
	margin-bottom: 1rem;
}




/*Hintergrund-element*/
section {
	height:100vh;
	padding:5rem;
}
.hintergrund1 { 
	background-image:url("../img/FabioEns3.jpg");
	background-repeat:no-repeat;
	background-size:cover;
	background-position:top;
	background-attachment: fixed;
}
.hintergrund2 { 
	background-image:url("../img/_MG_0167.png");
	background-repeat:no-repeat;
	background-size:cover;
	background-position:center;
	background-attachment: fixed;
}
.hintergrund3 { 
	background-image:url("../img/Kreis01.jpg");
	background-repeat:no-repeat;
	background-size:cover;
	background-position:center;
	background-attachment: fixed;
}




/*Meine Porjekte abschnitt*/
.projekte {
	padding:5rem;
	background-color: var(--Hauptfarbe);
	font-family: 'Poppins', sans-serif;
}
.projekte p {
	font-size:1.2rem;
	line-height: 1.5;
	margin-bottom: 1rem;
}
.projektetext {
	width:100%;
	color: var(--Zweitfarbe);
	text-align: center;
	justify-content: center;
}
.projektetext h2{
	text-align: center;
}
.projektPS {
	padding-top: 25px;
	text-align: center;
	justify-content: space-between;
	display:flex;
}
.projektPS a {
	width:33%;
}
.projektPS img {
	object-fit: cover;
	border: 2px solid var(--Zweitfarbe);
	height:80%;
	width:80%;
	transition: all 0.5s ease-in-out;
}
.projektPS img:hover {
	opacity: 0.7;
	transition: all 0.3s ease-in-out;
}



/*fancybox*/
.fancybox__container, .fancybox__backdrop {
	background:var(--Hauptfarbe,); 
	
}
.fancybox__caption {
	color:var(--Zweitfarbe);
	font-family: 'Poppins', sans-serif;
}




/*Galerie*/
.Galerie-container {
height: 100vh;
background-color: var(--Hauptfarbe);
font-family: 'Poppins', sans-serif;
}
.Galerie-container h2 {
text-align: right;
}

.bildergalerie {
	display:flex;
	flex-wrap:wrap;
} 
.bildergalerie_container {
	border:2px solid var(--Zweitfarbe);
	padding:0; /* kein Rand drinnen */
	position:relative;
	overflow:hidden; /* versteckt elemente ausserhalb */

	width:20%; /* hier die gewünschte breite angeben */
	max-width: 20%;
	flex-grow:1; /* nimm den gesamten platz ein */
}        
.bildergalerie_container_titel {
	background:rgba(33,33,33,0.7);
	color:white;
	position:absolute;
	bottom:-5rem;
	left:0rem;
	text-align: center;
	transition: all ease-in-out 0.5s;
	width:100%;
} 
.bildergalerie_container_bild {
	/* das eigentliche bild in der bildergalerie */
	transition: all ease-in-out 0.5s;
	object-fit: cover;
	height:100%;
	width:100%;
}
/* hover effekt über container steuert den titel (caption) */
.bildergalerie_container:hover .bildergalerie_container_titel{
	bottom:1rem; /* neue position bei rollover */
	transition: all ease-in-out 0.3s;
}
/*  bei hover wird bild grösser und oder schwächer */
.bildergalerie_container:hover .bildergalerie_container_bild{
	opacity:0.7;
	transform:scale(1.1); /* skalierung */
	transition: all ease-in-out 0.3s;
}




/*Kontaktformular*/
#kontakt {
	height: 80vh;
	width: 100%;
	background-color: var(--Hauptfarbe);
	display: flex;
	justify-content: space-between;
	font-family: 'Poppins', sans-serif;
}
#google_maps {
	width: 33%;
}
#google_maps iframe {
	width: 100%;
}
#formular {
	width: 66%;
	right: 5px;
	font-size:1.5rem;
}
#formular a {
	color:white;
}
fieldset {
	flex-basis:50%;
	height: 10rem;
	border:none;
}
.spalten{
	display:flex;
	gap:3rem;
	height: 50%;
	padding: 1rem;
}

label {
	width: 50%;	
	display: block;
}

input, select, textarea {
	border: 1px solid var(--Zweitfarbe);
	background-color: rgba( 255,255,255, 0.2);
	padding:0.5rem;
	color:white;
	width: 100%;
	margin: 0.5rem 0 0 0;
	font-family: 'Poppins', sans-serif;
	font-size: 1.1rem;
}

textarea {
	resize: vertical;
	min-height: 10rem;
	max-height: 20rem;
}
option {
	color:black;
}
input::placeholder, textarea::placeholder {
	font: inherit;
	font-weight: normal;
}

label:hover {
	transition:all 0.5s ease;
	padding-top:5px;
}

.bemerkung {
	width: 100%;
	padding: 1rem;
}
.bemerkung, label {
	width: 100%;
}

.datenschutz {
	margin-top: center;
	font-family: 'Poppins', sans-serif;
	border: 1px solid var(--Zweitfarbe);
	background-color: rgba( 255,255,255, 0.2);
	padding:0.5rem;
	color:white;
	width: 100%;
	margin: 0.5rem 0 0 0;
	font-size: 1.2rem;
}
.datenschutz label {
	display: flex;
	height: 1rem;
}
.datenschutz label a {
	width: 90%;	
}
.datenschutz label input {
	width: 10%;	
}


.sicherheitsfrage, label {
	width: 100%;
}

.senden-box{
	width: 100%;
	padding:1rem;
}
.senden-box {
	width: auto;
	height: 5rem;
	text-transform: uppercase;
	padding-bottom: 4rem;
	cursor:pointer;
}







/*Abchluss segment*/
footer ul{
	list-style: none;
}

.footer {
	background-color: var(--Hauptfarbe);
	bottom:0;
}

.container {
	max-width: 1170px;
	margin:auto;
	padding: 70px 0;
	padding-left: 150px;
}

.reihe{
	display: flex;
	flex-wrap:wrap; 
}

.footer-box{
	width: 33%;
	padding: 0 15px;
}

.footer-box h4{
	font-size: 18px;
	color: #ffffff;
	text-transform: capitalize;
	margin-bottom: 35px;
	font-weight: 500;
	position: relative;
}
.footer-box h4::before{
	content: '';
	position: absolute;
	left: 0;
	bottom: -10px;
	background-color:var(--Zweitfarbe);
	height: 2px;
	box-sizing: border-box;
	width: 50px;
}

.footer-box ul li:not(:last-child){
	margin-bottom: 10px;
}

.footer-box ul li a{
	font-size: 16px;
	text-transform: capitalize;
	text-decoration: none;
	font-weight: 300;
	color:#BBBBBB;
	display:block;
	transition: all 0.3s ease;
}

.footer-box ul li a:hover{
	color: #ffffff;
	padding-left: 10px;
}

.footer-box .social-media a{
	display:inline-block;
	height: 40px;
	width: 40px;
	background-color: rgba(255,255,255,0.2);
	margin:0 10px 10px 0;
	text-align: center;
	line-height: 40px;
	border-radius: 50%;
	color: #ffffff;
	transition: all 0.5s ease;
}

.footer-box .social-media a:hover{
	color: #24262b;
	background-color: #ffffff;
}


/*Impressum/Datenschutz*/

.balken {
	background-color: var(--Hauptfarbe);
	height: 100vh;
	width: 13%;
	margin-top: 0;
	position: fixed;
	left: 0;
	top: 0;
}

.impressum-container {
	height: 30%;
	width: 85%;
	margin-top:7rem;
	margin-left: 15%;
	padding: 2rem;
	padding-left: 15rem;
}

.impressum-container h3 {
	font-size: 2.5rem;
	font-family: 'Roboto Slab', sans-serif;
	letter-spacing: 2px;
	font-weight: 400;
} 

.impressum-container p {
	font-size:1.1rem;
	font-family: 'Roboto Slab', sans-serif;
	letter-spacing: 1px;
	font-weight: 400;
	color:slategray;
}

.datenschutz-container {
	height: 60%;
	width: 85%;
	margin-left: 15%;
	margin-bottom: 4rem;
	padding: 2rem;
	padding-left: 15rem;
}

.datenschutz-container h3 {
	font-size: 2.5rem;
	font-family: 'Roboto Slab', sans-serif;
	letter-spacing: 2px;
	font-weight: 400;
}

.datenschutz-container p {
	font-size:1.1rem;
	font-family: 'Roboto Slab', sans-serif;
	letter-spacing: 1px;
	font-weight: 400;
	color:slategray;
	width: 70%;
}





/*Responsive design*/
@media screen and (max-width:800px) {
	
	section {
		height: auto !important;
	}
	section p {
		display: flex;
		flex-direction:column;
		width: 100%;
		font-size:1rem;
		text-align: center;
	}
	section h2 {
		display: flex;
		flex-direction:column;
		width: 100%;
		font-size:1.2rem;
		text-align: center;
	}
	
	article {
		flex-direction: column;
	}

	article div {
		width:100%;
	}
	img {
		width:100%;
		height:auto;
	}
	
	.top-bar {
	width: 100%;
	display: flex;
}

/*LogoTop*/
.logotop {
width: 100%;
	display: flex;
}


#logo svg {
	width: 100%;
	display: flex;
	align-items: center;
}


.top-titel{
	width: 100%;
	display: flex;
}

.titel-text {
	width: 100%;
	display: flex;
	padding-right: 2rem;
}
	.titel-text h2 {
	width: 100%;
	display: flex;
		font-size: 1rem;
}
.titel-text:hover::before{
	width: 80%;
}
	
	
	
	.ubermich {
		display: flex;
		flex-direction:column;
		width: 100%;
		font-size:1rem;
		text-align: center;
}
.portrait {
	display: flex;
	flex-direction:column;
	width: 100%;
	align-content: center;
}
.meintext {
	display: flex;
	flex-direction:column;
	width: 100%;
	align-content: center;
}
.portrait img {
	display: flex;
	flex-direction:column;
	width: 100%;
	height: auto;
	align-content: center;
	}
	
	
	
	.projekte {
	height:auto;
	}
	.projektetext h2 {
		display: flex;
		flex-direction:column;
		width: 100%;
		font-size:1.2rem;
		text-align: center;
	}
	.projektetext p {
		display: flex;
		flex-direction:column;
		width: 100%;
		font-size:1rem;
		text-align: center;
	}
	.projektPS {
		width: 100%;
		height: 100%;
		display: flex;
	}
	
	#slideshow-container{
		height: 100% !important;
	}
	
	.mySlides {
		height: 100% !important;
	}
	
.portrait {
	width:100%;
	padding: 1rem 0;
}
.portrait img {
	display: flex;
	margin:0 auto;
}
	.bildergalerie_container {
	width:50%; /* hier die gewünschte breite angeben */
	max-width: 50%;
	display: flex;
	flex-direction: column;
}        
	.Galerie-container h2 {
		display: flex;
		width: 100%;
		font-size:1.2rem;
		text-align: center;
	}
	
	
	#kontakt {
	width: 100%;
	display: flex;
	flex-direction: column;
}
#google_maps {
	width: 100%;
	display: flex;
	flex-direction: column;
}
#google_maps iframe {
	width: 100%;
	display: flex;
	flex-direction: column;
}
#formular {
	width: 100%;
	display: flex;
	flex-direction: column;
}

fieldset {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
}
.spalten{
	width: 100%;
	display: flex;
	flex-direction: column;
}

label {
	width: 100%;
	display: flex;
	flex-direction: column;
}

input, select, textarea {
	width: 100%;
	display: flex;
	flex-direction: column;
}

textarea {
	width: 100%;
	display: flex;
	flex-direction: column;
}
option {
	width: 100%;
	display: flex;
	flex-direction: column;
}
input::placeholder, textarea::placeholder {
	width: 100%;
	display: flex;
	flex-direction: column;
}

label:hover {
	width: 100%;
	display: flex;
	flex-direction: column;
}

.bemerkung {
	width: 100%;
	display: flex;
	flex-direction: column;
}
.bemerkung, label {
	width: 100%;
	display: flex;
	flex-direction: column;
}

.datenschutz {
	width: 100%;
	display: flex;
	flex-direction: column;
}
.datenschutz label {
	width: 100%;
	display: flex;
	flex-direction: column;
}
.datenschutz label a {
	width: 100%;
	display: flex;
	flex-direction: column;;	
}
.datenschutz label input {
	width: 100%;
	display: flex;
	flex-direction: column;
}


.sicherheitsfrage, label {
	width: 100%;
	display: flex;
	flex-direction: column;
}

.senden-box{
	width: 100%;
	display: flex;
	flex-direction: column;
}
.senden-box {
	width: 100%;
	display: flex;
	flex-direction: column;
}


	
	
	.balken {
		display:none;
}

.impressum-container {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.impressum-container h3 {
	display: flex;
		flex-direction:column;
		width: 100%;
		font-size:1.2rem;
		text-align: center;
} 

.impressum-container p {
	display: flex;
		flex-direction:column;
		width: 100%;
		font-size:1rem;
		text-align: center;
}

.datenschutz-container {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.datenschutz-container h3 {
	display: flex;
		flex-direction:column;
		width: 100%;
		font-size:1.2rem;
		text-align: center;
}

.datenschutz-container p {
	display: flex;
		flex-direction:column;
		width: 100%;
		font-size:1rem;
		text-align: center;
}

	
	
	
	
	
	
	@media (max-width: 767px){
	.footer-box{
		width: 50%;
		margin-bottom: 30px;
	}
	}
	
@media (max-width: 574px){
	.footer-box{
		width: 100%;
	}
	}
	
	
	
	
	
	
/* ende 800px */
}









