html,
body {
	height: 100%;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	font-family: 'Josefin Slab', serif;
	background: linear-gradient(135deg, #1c003e, #000000);
	color: #eee;
	line-height: 1.6;
	overflow-x: hidden;
}

a {
	text-decoration: none;
	color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Cinzel', serif;
	margin: 0 0 10px;
	color: #fff;
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

p {
	margin: 0 0 15px;
	
}

header {
	background: rgba(0, 0, 0, 0.7);
	position: sticky;
	top: 0;
	z-index: 100;
}

.navbar-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 20px;
	background-color: #2b2b2b;
	color: white;
}

.logo {
	font-size: 24px;
	font-weight: bold;
	line-height: 0;
}

.burger {
	display: none;
	font-size: 28px;
	cursor: pointer;
	color: white;
}

.navigation {
	display: flex;
	gap: 20px;
}

.logo img {
	height: 50px;
	width: auto;
}

@media (max-width: 768px) {
	.burger {
		display: block;
	}

	.navigation {
		display: none;
		flex-direction: column;
		position: fixed;
		top: 70px;
		left: 0;
		width: 100%;
		background-color: #2b2b2b;
		padding: 15px 0;
		gap: 15px;
		text-align: center;
		z-index: 1000;
	}

	.navigation.active {
		display: flex;
	}

  
  footer {
    padding: 15px 5px;
    font-size: 0.85rem;
	flex-direction: column;
	gap: 2vh;
  }

	footer p {
		margin: 5px 0;
	}

	.slideshow-container {
		padding: 5px 5vh;
	}

	.slide-content img {
		flex: 1;
		max-width: 100%;
		overflow: auto;
	}

	.balloon-text-area {
		margin-right: 0;
		margin-top: 5vh;
	}
	
}

@media screen and (min-width: 768px) {
	footer {
		gap: 20vh;
	}
	.slideshow-container{
		padding: 0px 10vh
	}

	.slide-content .text {
		flex: 1;
		padding-right: 20px;
	}

	.balloon-text-area {
		margin-right: 35vh;
		margin-top: 11vh;
		z-index: 3;
		position: relative;
	}

	p{
		font-size: 1.3rem;
	}

	h3{
		font-size: 1.5rem;
	}

	a{
		font-size: 1.3rem;
	}

	
}
.courses>h2 {
		display: flex;
    	 justify-content: center;
	}

.hero-text {
	position: relative;
	z-index: 1000;
	margin-top: 30vh;
}

div.hero-content {
	height: 85vh
}

.hero {
	position: relative;
	height: 99vh;
	background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url('../images/BildBreitKarte.jpg') no-repeat center center/cover;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background-size: cover;
}

.hero-content {
	position: relative;
	color: #fff;
	padding: 20px;
	animation: fadeIn 1.5s ease-in-out forwards;
}

.hero-title {
	font-size: 3em;
	margin-bottom: 0.5em;
}

.hero-subtitle {
	font-size: 1.5em;
	margin-bottom: 1em;
}

.btn {
	display: inline-block;
	background: #FFD700;
	color: #1c003e;
	padding: 10px 0px;
	border-radius: 30px;
	font-weight: bold;
	transition: background 0.3s, transform 0.3s;
	width: 30vh;
	text-align: center;
}

.btn:hover {
	background: #e6c200;
	transform: translateY(-3px);
}

.services {
	padding: 60px 20px;
	text-align: center;
}

.services h2 {
	margin-bottom: 40px;
}

.service-cards {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}

.card {
	background: rgba(255, 255, 255, 0.1);
	padding: 20px;
	border-radius: 10px;
	flex: 1 1 200px;
	max-width: 300px;
	min-width: 220px;
	animation: fadeInUp 1s ease both;
}

.card:nth-child(1) {
	animation-delay: 0.2s;
}

.card:nth-child(2) {
	animation-delay: 0.4s;
}

.card:nth-child(3) {
	animation-delay: 0.6s;
}

.card:nth-child(4) {
	animation-delay: 0.8s;
}

.card h3 {
	margin-bottom: 10px;
	color: #FFD700;
}

.card p {
	font-size: 1.3em;
}

@media (max-width: 768px) {
	.service-cards {
		flex-direction: column;
		align-items: center;
	}
}

.about {
	padding: 60px 20px;
	background: rgba(0, 0, 0, 0.3);
	text-align: center;
}

.about p {
	max-width: 800px;
	margin: 0 auto 20px;
}

.contact-preview {
	padding: 60px 20px;
	text-align: center;
}

.zauberei-section {
	padding: 60px 20px;
}

.category {
	margin-bottom: 40px;
}

.category h3 {
	color: #FFD700;
	margin-bottom: 10px;
}

.category p {
	max-width: 800px;
	margin: 0 auto;
	font-size: 0.95em;
}

.courses {
	padding: 60px 20px;
}

.courses ul {
	max-width: 800px;
	margin: 20px auto;
	text-align: left;
	padding-left: 20px;
}

.courses li {
	margin-bottom: 10px;
}

.courses a.btn {
	display: block;
	margin: 30px auto 0;
}

.balloon {
	padding: 60px 20px;
	text-align: center;
}

.portfolio {
	padding: 60px 20px;
	text-align: center;
}

.contact {
	padding: 5vh 5vh;
	text-align: center;
}

.contact form {
	max-width: 600px;
	margin: 0 auto;
	display: grid;
	gap: 15px;
}

.contact form input,
.contact form textarea {
	padding: 10px;
	border: none;
	border-radius: 5px;
}

.contact form button {
	justify-self: center;
	margin-top: 10px;
}

footer {
	background: #333;
	color: white;
	text-align: center;
	padding: 20px 0;
	margin-top: auto;
	display: flex;
	justify-content: center;
	line-height: 0;
}


footer p {
	margin: 2vh;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.portfolio-content {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 30px;
	max-width: 900px;
	margin: 0 auto;
	padding-top: 20px;
}

.portfolio-text {
	flex: 1;
	color: #eee;
	text-align: left;
}

.portfolio-image-container {
	flex: 0 0 250px;
}

.portfolio-image {
	width: 100%;
	height: auto;
	border-radius: 10px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
	.portfolio-content {
		flex-direction: column;
		text-align: center;
		gap: 20px;
	}

	.portfolio-text {
		order: 1;
	}

	.portfolio-image-container {
		order: 2;
		flex: none;
		width: 70%;
		margin: 0 auto;
	}
}

.courses-content {
	display: flex;
	gap: 30px;
	max-width: 900px;
	margin: 0 auto;
	padding-top: 20px;
	align-items: center;
	justify-content: center;
}

.courses-text {
	flex: 1;
	color: #eee;
	text-align: left;
}

.courses-image-container {
	flex: 0 0 280px;
}

.course-image {
	width: 100%;
	height: auto;
	border-radius: 10px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
	.courses-content {
		flex-direction: column-reverse;
		text-align: center;
	}

	.courses-text {
		order: 1;
	}

	.courses-image-container {
		order: 2;
		width: 70%;
		margin: 0 auto;
	}
}



.balloon-image2 {
	height: 100vh;
	margin-left: 15vh;
	margin-top: -5vh;
	z-index: 2;
}

.balloon-heading {
	font-size: 7vh;
	z-index: 1;
	color: #FFD700;
}

.balloon-container {
	display: flex;
	overflow: auto;
}

.balloon-heading-container {
	padding-left: 5vh;
	margin-top: 13vh;
	margin-left: -22vh;
}

.balloon-text-area {
	z-index: 3;
	position: relative;
}

.balloon-text {
	background-color: rgba(0, 0, 0, 0.5);
	padding: 1vh;
}

@media (max-width: 768px) {
	.balloon-container {
		flex-direction: column;
		align-items: center;
		padding: 3vh;
	}

	.balloon-image2 {
		height: auto;
		width: 80%;
		margin: 0 auto;
	}

	.balloon-heading-container {
		margin: 0;
		padding: 4vh 3vh;
		text-align: center;
		margin-top: 2vh;
		margin-left: 0;
		max-width: 90%;
	}

	.balloon-heading {
		font-size: 3vh;
	}

	.btn {
		width: 100%;
	}
}

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Josefin+Slab:wght@400;700&display=swap');

body {
	margin: 0;
	background: linear-gradient(to bottom, #2e003e, #000000);
	color: #eee;
	font-family: 'Josefin Slab', serif;
	line-height: 1.6;
}

h1,
h2 {
	font-family: 'Cinzel', serif;
	color: #FFD700;
	margin: 0.5em 0;
}

h1 {
	font-size: 2.5rem;
	text-align: center;
	margin: 2rem 0;
}

.section {
	padding: 4rem 2rem;
	opacity: 0;
	transform: translateY(20px);
	animation: fadeIn 0.8s ease-out forwards;
}

.section:nth-of-type(1) {
	animation-delay: 0.2s;
}

.section:nth-of-type(2) {
	animation-delay: 0.4s;
}

.section:nth-of-type(3) {
	animation-delay: 0.6s;
}

.section:nth-of-type(4) {
	animation-delay: 0.8s;
}

.section:nth-of-type(5) {
	animation-delay: 1.0s;
}

.container {
	display: flex;
	align-items: center;
	gap: 2rem;
}

.section.reverse .container {
	flex-direction: row-reverse;
}

.text {
	flex: 1;
}

.image {
	flex: 1;
	text-align: center;
}

.image img {
	width: 100%;
	max-width: 500px;
	border-radius: 8px;
	transition: transform 0.3s ease;
}

.image img:hover {
	transform: scale(1.02);
}

.card {
	background: #3c0045;
	max-width: 600px;
	margin: auto;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.card img {
	width: 100%;
	display: block;
}

.card .text {
	padding: 1.5rem;
	text-align: center;
}

.card h2 {
	margin-top: 0;
}

#produktzauberei {
	background: url("https://source.unsplash.com/1200x800/?product,magic") center/cover no-repeat;
	min-height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.overlay-textbox {
	background: rgba(0, 0, 0, 0.6);
	padding: 2rem;
	border-radius: 8px;
	text-align: center;
}

.overlay-textbox h2,
.overlay-textbox p {
	color: #eee;
}

@keyframes fadeIn {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 768px) {
	.container {
		flex-direction: column;
		text-align: center;
	}

	.section.reverse .container {
		flex-direction: column;
	}

	.image,
	.text {
		width: 100%;
	}

	#produktzauberei {
		min-height: 300px;
	}
}

.slideshow-container {
	position: relative;
	max-width: 1000px;
	margin: auto;
	overflow: visible;
	box-sizing: border-box;
}

.slide {
	height: 500px;
	display: none;
}

.slide.active {
	display: block;
}

.slide-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	padding: 20px;
	box-sizing: border-box;
}



.slide-content img {
	flex: 1;
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
}

.slide-content .text {
	max-width: 500px;
}

.slide-content .text h2 {
	font-family: 'Cinzel', serif;
	font-size: 2rem;
	margin-bottom: 10px;
}

.slide-content .text p {
	font-size: 1.1rem;
	line-height: 1.6;
}

.prev,
.next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	padding: 16px;
	color: white;
	font-size: 24px;
	background-color: rgba(0, 0, 0, 0.5);
	border-radius: 3px;
	transition: background 0.3s;
	user-select: none;
	z-index: 10;
}

.prev {
	left: -60px;
}

.next {
	right: -60px;
}

.prev:hover,
.next:hover {
	background-color: rgba(0, 0, 0, 0.8);
}

.dots {
	text-align: center;
	margin: 2vh 0;
}

.dot {
	cursor: pointer;
	height: 15px;
	width: 15px;
	margin: 0 4px;
	background-color: #bbb;
	border-radius: 50%;
	display: inline-block;
	transition: background 0.3s;
}

.dot.active,
.dot:hover {
	background-color: #717171;
}

@keyframes fade {
	from {
		opacity: 0.4;
	}

	to {
		opacity: 1;
	}
}

@media (max-width: 768px) {
	.slide-content {
		display: flex;
		flex-direction: column;
		text-align: center;
		padding: 0 20px;
	}

	.prev,
	.next {
		padding: 12px;
		font-size: 20px;
	}
}

@media (max-width: 768px) {
	.slide-content {
		flex-direction: column;
		text-align: center;
	}

	.slide-content img {
		max-width: 100%;
	}
}

.impressum {
	max-width: 600px;
	margin: 80px auto;
	padding: 40px 20px;
	background-color: #fdfdfd;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-family: 'Josefin Slab', serif;
	line-height: 1.8;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.impressum h2 {
	text-align: center;
	font-family: 'Cinzel', serif;
	font-size: 2rem;
	margin-bottom: 30px;
}

.impressum p {
	font-size: 1.1rem;
	margin-bottom: 12px;
	color: black;
}

@media (max-width: 600px) {
	.impressum {
		margin: 40px 16px;
		padding: 30px 16px;
	}

	.impressum h2 {
		font-size: 1.6rem;
	}

	.impressum p {
		font-size: 1rem;
	}
}

/* Responsive Design für kleine Displays */
@media screen and (max-width: 768px) {
	body {
		font-size: 16px;
	}

	header,
	nav,
	footer {
		text-align: center;
	}

	nav ul {
		flex-direction: column;
		padding: 0;
	}

	nav ul li {
		margin: 10px 0;
	}

	.container,
	.content,
	.main,
	.section {
		width: 100% !important;
		padding: 10px !important;
		box-sizing: border-box;
	}

	img {
		max-width: 100%;
		height: auto;
	}
}