/* ------------------------------------------------------------------- */
/* --- BENUTZERDEFINIERTE SCHRIFTARTEN (@font-face) --- */
/* ------------------------------------------------------------------- */
@font-face {
	font-family:COMIC;
	src: url("../fonts/COMIC.TTF");
}
@font-face {
	font-family:N-Gage;
	src: url("../fonts/N-Gage.ttf");
}


/* ------------------------------------------------------------------- */
/* --- Globale Styles (Hintergründe, Farben, Schriften) bleiben erhalten --- */
/* ------------------------------------------------------------------- */

body {
	/* SCHWARZER HINTERGRUND BEIBEHALTEN */
	background-color: #000000;
		/* Benutzerdefinierte Schriftart als Standard für die gesamte Seite setzen */
		font-family: COMIC, serif; 
		color: #FFFFFF; /* Auch die Textfarbe global setzen */
	/* Zentriert den Hauptcontainer auf der Seite */
	display: flex; 
	justify-content: center;
	padding: 10px;
}
#main{
	/* Behalten Sie Ihre feste Breite bei, aber fügen Sie max-width und margin hinzu, um auf Desktop zentriert zu sein und auf Mobile die Breite zu respektieren */
	width: 90%; 
	max-width: 1200px; /* Optional, um auf riesigen Monitoren nicht zu breit zu werden */
	border: 1px solid white;
	box-shadow: 1px 1px 2px white, 0 0 25px blue, 0 0 5px Silver;
	border-radius: 16px;
	padding: 10px;
	margin: 0; /* Wichtig für die Zentrierung */
	min-height: 800px;
}

/* Header-Struktur: Desktop-Layout mit Floats (aus HTML verschoben) */
#header_logo_container {
		float: left; 
		width: 15%; 
		height: 150px; 
}
#header_title_container {
		float:left; 
		text-align: center; 
	/* TITEL-FARBE BEIBEHALTEN */
		color: #00B2EE; 
		width: 82%; 
		margin-top: 30px;
}

/* NEU: Überschrift (h1 in #header_title_container) verwendet N-Gage Schriftart */
#header_title_container h1 {
		font-family: N-Gage, sans-serif; 
}

img[name='logo'] {
		width: 180px; 
		height: 150px;
}

/* Footer-Struktur: Desktop-Layout mit Floats */
.info{
	float:left;
	width:30%;
	/* SCHRIFT-FARBE UND GRÖSSE BEIBEHALTEN */
	color:#FFFFFF;
	font-size:12pt;
	padding-left: 10px;
	padding-top: 5px;
}

/* Navigation */
#nav{
	width: 100%;
	border: 1px solid white;
	position: sticky;
	top: 0; 
	z-index: 10;
	/* HINTERGRUNDBILD BEIBEHALTEN */
	background-image: url("../pic/logo.png") ;
	box-shadow: 1px 1px 2px white, 0 0 25px blue, 0 0 5px Silver;
	border-radius: 16px;
	margin-top: 5px;
	margin-bottom: 5px;
	padding: 0;
	color: #FFFFFF;
	font-size: 14pt;
}
.links{
	margin: 0 auto;
	margin-left:10px;
	padding: 0;
	font-family: arial, senserif;
}
.button{
	background-color: #00b2ee;
	border: none;
	border-radius: 30px;
	color: #0F0F0F;
	padding: 5px 10px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
	margin: 4px 2px;
	cursor: pointer;
	min-width: 110px;
		/* Buttons verwenden die globale COMIC-Schriftart */
		font-family: inherit; 
}
.button:hover{ 
	font-weight:bold;
	background-color: #036994;
	border: 1px solid #FFFFFF;
	border-radius: 30px;
	box-shadow: 1px 1px 2px white, 0 0 25px blue, 0 0 5px Silver;
}

/* Content & Iframes */
#content{
	margin:0 auto;
	width: 98%;
	min-height:500px;
	/* SCHRIFT-FARBE BEIBEHALTEN */
	color: #FFFFFF;
	background-image: url("../pic/background2.png") ;
	padding:5px;
	padding-top:20;
	margin-top:-10px;
}
.twitch{
	height: 200px;
	width: 98%;
}
.map, iframe{
	border:0px #ffffff none;
	min-height:600px;
	width:98%; 
}
h2{
	text-align: center;
	/* SCHRIFT-FARBE UND GRÖSSE BEIBEHALTEN */
	color: #FFFFFF;
	text-decoration: underline;
	font-weight: bold;
	font-size: 18pt;
}
a{
	text-decoration:none;
	color: #FFFFFF;
		font-family: inherit;
}
a:hover{
	text-decoration: underline;
}
.yt_gr{
	margin-left:25px;
	margin-bottom: 50px;
	color: #FFFFFF;
	text-decoration: none;
	width: 45%;
	float:left;
}
.yt_gr:hover{
	color: #FFFFFF;
	text-decoration: underline;
	width: 45%;
	font-size:15pt;
}
.yt_lnk{
	color: #FFFFFF;
	text-decoration: none;
}
.yt{
	border-radius: 16px;
	height: 90px;
	width: 160px;
}
.yt:hover{
	box-shadow: 1px 1px 2px white, 0 0 25px blue, 0 0 5px Silver;
}
#content_footer{
	width: 90%;
	min-height:600px;
	width:98%; 
}
#copyright{
	width: 98%;
	border-top: 1px solid white;
	box-shadow: 1px 1px 2px white, 0 0 25px blue, 0 0 5px Silver;
	border-radius: 16px;
	margin-top: 5px;
	margin-bottom: 5px;
	padding: 5px;
	color: #FFFFFF;
	font-size: 14pt;
	text-align: center;
}
.clear {
	clear: both;
}

/* ---------------------------------------------------- */
/* MEDIA QUERY: ÜBERSCHREIBUNGEN FÜR MOBILE GERÄTE (max-width: 768px) */
/* ---------------------------------------------------- */

@media screen and (max-width: 768px) {
		
		/* 1. Hauptcontainer: Nimmt die volle Breite ein */
		#main {
				width: 100%; 
				margin: 0;
				padding: 5px;
		}

		/* 2. Header: Elemente untereinander stapeln */
		#header_logo_container,
		#header_title_container {
				float: none; /* Floats deaktivieren */
				width: 100%; /* Volle Breite */
				text-align: center; /* Zentrierung für Titel und Logo */
				margin-top: 0;
				padding: 5px 0;
		}
		
	/* Logo anpassen */
		#header_logo_container {
				height: auto;

		img[name='logo'] {
				width: 120px; /* Logo verkleinern */
				height: auto; 
				display: block;
				margin: 0 auto;
		}
		
		#header_title_container h1 {
				font-size: 1.0em; /* Titel verkleinern (relativ zur Originalgröße) */
		}

		/* 3. Navigation: Buttons umbrechen und etwas mehr Platz geben */
		.links center {
				display: flex;
				flex-wrap: wrap; /* Lässt Buttons in die nächste Zeile rutschen */
				justify-content: center; 
				margin: 0 auto;
		}
		
		.button {
				padding: 10px 15px; /* Vergrößern der Touch-Fläche */
				margin: 5px; 
				min-width: 45%; /* Lässt 2 Buttons pro Reihe zu */
				box-sizing: border-box;
		}

		/* 4. Footer: Info-Boxen untereinander stapeln */
		.info {
				float: none; /* Floats deaktivieren */
				width: 100%; /* Volle Breite */
				padding: 10px 0;
				border-top: 1px dotted rgba(255, 255, 255, 0.2);
		}
		
		/* 5. Content und Iframes: Sicherstellen, dass sie 100% Breite nutzen */
		#content, .yt_gr {
				width: 100%;
				float: none;
				margin-left: 0;
				padding: 5px;
				
		}

		.map, iframe {
				width: 100%;
				min-height: 400px; /* Höhe für Mobile reduzieren */
		}
}
