@charset "UTF-8";
/* CSS Document */

BODY {
	background-color: white;
	overflow: auto;
	margin: 0;
	padding: 0;
}

P {
	font-size: 13px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	font-style: normal;
	color: #333;
	line-height: 15px;
}

li {
	font-size: 12px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: lighter;
	font-style: normal;
	color: #333;
	line-height: 15px;
}

H1 {
	font-size: 20px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	font-style: normal;
	color: #333;
	font-stretch: wider;
}
H2 {
	font-size: 10px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: lighter;
	font-style: normal;
	text-align: left;
	color: #333;
}
H3 {
	font-size: 16px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: lighter;
	font-style: normal;
	color: #333;
}

img {
	max-width: 100%;
	height: auto;
	border: 5px solid transparent;
	display: inline-block;
}

/* ====================================================
   NEUES LAYOUT-GERÜST
   .page = grosser Flex-Container, der links/rechts (Desktop)
   bzw. oben/unten (Mobile) anordnet
   ==================================================== */

.page {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	width: 100%;
	box-sizing: border-box;
}

/* linke Spalte: Header, Menü, News */
.sidebar {
	flex: 0 0 220px;
	max-width: 220px;
	min-width: 220px; /* schrumpft nie unter die Breite, in der "Dagmara Genda" passt */
	padding: 10px;
	box-sizing: border-box;
}

#header h1,
#header h1 a {
	white-space: nowrap; /* Name wird nie auf zwei Zeilen gezwungen */
}

/* rechte Spalte: Video + Galerie */
.content {
	flex: 1 1 auto;
	padding: 10px;
	box-sizing: border-box;
	min-width: 0; /* verhindert Überlaufen von Bildern/Video */
}

#header {
	padding: 2px;
	text-align: left;
}

#menu {
	padding: 2px;
	text-align: left;
}

#news {
	padding: 2px;
	text-align: left;
}

#text {
	margin-top: 70px;
	width: 40%;
	max-width: 500px;
	min-width: 250px;
	
}


.video-wrap {
	width: 100%;
	margin-bottom: 10px;
}

.video-wrap video {
	width: 100%;
	max-width: 100%;
	height: auto;
	display: block;
}

/* Galerie: Bilder sollen umbrechen, wenn nicht genug Platz ist */
.gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}

/* Two images touching each other, no gap */
.gallery a.pair-left {
	margin-right: -8px;            /* cancels the flex gap */
}
.gallery a.pair-left img {
	border-right-width: 0;         /* removes the inner border */
}
.gallery a.pair-right img {
	border-left-width: 0;
}

.gallery img {
	width: 100%;      /* Wunschgröße */
	max-width: 100%;    /* schrumpft, wenn Platz fehlt */
	height: auto;
	border: 0px;
}

/* Startseite: Bild-Höhe/-Position wird per JavaScript exakt an Menü/News angepasst (siehe Script am Seitenende). Diese Regel ist nur der Fallback, falls JavaScript deaktiviert ist. */
.gallery img.home-photo {
	max-width: 100%;
	height: auto;
	margin-top: 70px;
	flex-shrink: 0;
}

/* 50px Abstand zum Menü, aber nur oberhalb der Smartphone-Breite */
@media screen and (min-width: 601px) {
	.gallery img.home-photo {
		padding-left: 50px;
	}
}



#bottom {
	padding: 10px;
	text-align: right;
	width: 100%;
	box-sizing: border-box;
}

/* ===================== CLASSES ===================== */

.nobreak {
	white-space: pre-wrap;
	word-break: break-word;
}
.scroll {
	overflow-x: auto;
	overflow-y: auto;
	white-space: nowrap;
}
.f {
	font-size: 10px;
	font-family: Helvetica;
	font-weight: normal;
	font-style: normal;
	color: black;
	line-height: 12px;
}
.i {
	font-size: 12px;
	font-family: Helvetica;
	font-weight: normal;
	font-style: normal;
	text-align: justify;
	color: transparent;
	line-height: 15px;
}
.size {
	max-width: 100%;
}

.m {
	color: #666;
	text-decoration: none;
	font-weight: normal;
}
.m:hover {
	color: #9FC;
	text-decoration: none;
}

a {
	color: #666;
	text-decoration: none;
	font-weight: bold;
}
a:hover {
	color: #9FC;
	text-decoration: none;
	font-weight: bold;
}

.b:hover {
	opacity: .7;
	filter: alpha(opacity=70);
	color: #9FC;
}


/* ===================== MEDIA QUERIES ===================== */

/* Tablet / schmaler Desktop: Galeriebilder etwas kleiner, Sidebar bleibt gleich breit */
@media screen and (max-width: 900px) {
	.gallery img {
		width: 300px;
	}
}

/* Handy: Sidebar und Content übereinander statt nebeneinander */
@media screen and (max-width: 600px) {

	.page {
		flex-direction: column;
	}

	.sidebar {
		flex: 1 1 auto;
		max-width: 100%;
		width: 100%;
	}

	.content {
		width: 100%;
	}

	body {
		background-color: black;
	}

	.m {
		color: #cccc99;
		text-decoration: none;
		font-weight: lighter;
	}

	P {
		color: #cccccc;
	}

	.gallery {
		flex-direction: column;
		align-items: normal;
	}

	.gallery img {
		width: 100%;
		max-width: none;
	}

	.gallery img.home-photo {
		width: 100% !important;
		max-width: none !important;
		height: auto !important;
		margin-top: 0 !important;
	}
}