* {
box-sizing: border-box;
}

body {
margin: 0;
padding: 0;
overflow: hidden;
background-color: #000000;
}


/* :::::::::::::::::: #container :::::::::::::::::: */
#container {
display: flex;
flex-direction: column;
justify-content: space-between;
row-gap: 3%;
width: 90vw;
max-width: 1400px;
height: 100vh;
margin-left: 8vw;
}

/* .................... #header ................... */
#header {
position: relative;
flex-basis: 12%; /* Höhe */
min-height: 70px;
}

#nav {
position: absolute;
left: 0;
bottom: 0;
}

#nav_prv {
position: absolute;
left: -0;
bottom: 10px;
width: 15px;
height: 40px;
}
#nav_prvHG { /* HG sichtbar bei erster Seite */
width: 0;
height: 0;
border-style: solid;
border-width: 20px 15px 20px 0;
border-color: transparent #333333 transparent transparent;
}
#nav_prv a:link, #nav_prv a:visited {
position: absolute;
left: 0;
top: 0;
display: block;
width: 0;
height: 0;
border-style: solid;
border-width: 20px 15px 20px 0;
border-color: transparent #990000 transparent transparent;
}
#nav_prv a:hover, #nav_prv a:active {
border-color: transparent #CC0000 transparent transparent;
}

#nav_trenn {
position: absolute;
left: 22px;
bottom: 0;
width: 1px;
height: 60px;
background-color: #999999;
}

#nav_nxt {
position: absolute;
left: 30px;
bottom: 10px;
width: 15px;
height:  40px;
}
#nav_nxtHG { /* HG sichtbar bei letzter Seite */
width: 0;
height: 0;
border-style: solid;
border-width: 20px 0 20px 15px;
border-color: transparent transparent transparent #333333;
}
#nav_nxt a:link, #nav_nxt a:visited {
position: absolute;
left: 0;
top: 0;
display: block;
width: 0;
height: 0;
border-style: solid;
border-width: 20px 0 20px 15px;
border-color: transparent transparent transparent #990000;
}
#nav_nxt a:hover, #nav_nxt a:active {
border-color: transparent transparent transparent #CC0000;
}

#nav_select { /* Dropdown-Menü */
position: absolute;
left: 80px;
bottom: 17px;
width: 200px;
padding: 2px;
border: 1px solid #999999;
background-color: #333333;
font-family: 'quicksandlight';
font-size: 16px;
color: #FFFFFF;
}
#nav_select:focus {
outline: none;
}

#datum {
position: absolute;
right: 0;
top: 20px;
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
color: #999999;
}

/* ..................... #main .................... */
#main {
flex-basis: 82%;
padding: 0 20px 50px 0;
overflow-y: auto;
overflow-x: hidden; /* für Chrome erf. */
-moz-animation: fadein 1.0s;
-webkit-animation: fadein 1.0s;
animation: fadein 1.0s;
}

#main_dist0 { height: 0; }
#main_dist2 { height: 2vh; }
#main_dist4 { height: 4vh; }
#main_dist6 { height: 6vh; }
#main_dist8 { height: 8vh; }

#main img {
margin: 0 auto;
}

#main_split { /* links Bild, rechts Text */
display: flex;
align-items: center; /* vertikal zentriert */
justify-content: center; /* in der Mitte konzentriert */
column-gap: 5%;
}
#main_split_left {
}
#main_split_right {
max-width: 600px;
}
#main_split img {
max-height: 500px;
}

#main_oneImg img { /* MasterSamuel.php */
max-height: 650px;
}


/* ................... #footer .................... */
#footer {
flex-basis: 6%;
min-height: 30px;
padding-top: 6px;
border-top: 1px solid #999999;
}

#footer p {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
text-align: center;
color: #999999;
}

#footer a:link, #footer a:visited {
color: #999999;
text-decoration: none;
border-bottom-style: none;
}
#footer a:hover, #footer a:active {
color: #CCCCCC;
}


/* :::::::::::::::::::: Seiten :::::::::::::::::::: */
/* .............. kriegstauglich.php .............. */
body#kriegstauglich #main_oneImg img {
width: 80%;
margin-bottom: 12px;
}
@media screen and (max-width: 1200px) {
	body#kriegstauglich #main_oneImg img { width: 90%; }
}
@media screen and (max-width: 1000px) {
	body#kriegstauglich #main_oneImg img { width: 100%; }
}

body#kriegstauglich #main_oneImg p {
text-align: center;
}

/* ................. avenidas.php ................. */
body#Avenidas #main_split {
column-gap: 7%;
}

#Avenidas #main_split_left {
background-image: url(../images/avenidas_Schwebende.png);
background-repeat: no-repeat;
background-position-x: right;
}
#Avenidas #main_split_left p {
margin-bottom: 1.6rem;
font-size: 2.6rem;
line-height: 3.5rem;
	color: #FFFFFF;
	text-shadow:
	-1px  2px 1px hsl(0, 0%, 40%),
	-2px  4px 1px hsl(0, 0%, 32%),
	-3px  6px 1px hsl(0, 0%, 24%),
	-4px  8px 1px hsl(0, 0%, 16%),
	-5px 10px 1px hsl(0, 0%, 8%);
}

#Avenidas #main_split_right p {
font-size: 1.3rem;
line-height: 1.6rem;
color: #CCCCCC;
}

/* ................... ZDF.php .................... */
.zdf {
font-size: 1rem;
color: #CC0000;
}

/* ................... SPON.php ................... */
div.SponItem {
max-width: 800px;
margin-bottom: 40px;
}
p.SponTitel {
display: block;
padding: 4px;
background-color: #CC8B97;
color: #000000;
font-weight: bold;
}
div.SponZitat {
margin-left: 40px;
}

/* ............... Vorschlaege.php ................ */
body#Vorschlaege #main {
overflow: hidden;
}

div#VSchlg { /* Container für Head und Body */
position: relative;
width: 720px; /* 2*340 + 20 gap + Scrollbalken + Reserve */
height: calc(100% - 30px);
margin: 0 auto;
}

div#VSchlgHead {
display: flex;
column-gap: 20px;
}
#VSchlgHead p { /* 2 Texte Kopf */
min-width: 340px;
max-width: 340px;
padding-bottom: 4px;
border-bottom: 1px solid #999999;
font-size: 1.3rem;
line-height: 1.4rem;
}

div#VSchlgBodyScrollCont { /* Container für alle scrollbaren Inhalte unter #VSchlgHead */
position: absolute;
top: 90px;
height: 100%;
padding-right: 20px; /* Abstand zum Scrollbalken */
overflow-y: scroll;
}
.VSchlgBodyGruppe {
margin-bottom: 14px;
}
.VSchlgBodyFlexPos {
display: flex;
column-gap: 20px;
}
.VSchlgBodyGruppe .VSchlgBodyFlexPos:nth-of-type(odd) {
background-color: #1F1F1F;
}
.VSchlgBodyFlexPos p {
min-width: 340px;
max-width: 340px;
padding: 2px 0;
font-size: 1.3rem;
}


/* :::::::::::::::::::: Formate ::::::::::::::::::: */
p, td {
font-family: 'quicksandlight';
line-height: normal;
color: #FFFFFF;
}

p {
margin: 0;
padding: 0;
}

/* Absatzabstände */
.dsm { margin-bottom: 0.2rem !important; }
.dnm { margin-bottom: 0.6rem !important; }
.dbg { margin-bottom: 1.0rem !important; }
.dmx { margin-bottom: 3.5rem !important; }

/* Schriftgrößen */
.ftsm { font-size: 1.3rem; }
.ftnm { font-size: 1.8rem; }
.ftbg { font-size: 3.0rem; }
.ftmx { font-size: 4.0rem; text-transform: uppercase; }

/* Zeilenhöhen */
.lhsm {}
.lhnm { line-height: 1.5rem; }
.lhpl { line-height: 2.2rem; }
.lhbg { line-height: 4.0rem; }
.lhmx { line-height: 4.7rem; }

table {
border-spacing: 0;
border-collapse: collapse;
border-width: 0;
}
td {
padding: 0;
border-width: 0;
}


@media screen and (max-width: 1400px) {	p.txt { font-size: 3.0em; }}
@media screen and (max-width: 1300px) {	p.txt { font-size: 2.8em; }}
@media screen and (max-width: 1200px) {	p.txt { font-size: 2.6em; }}
@media screen and (max-width: 1100px) {	p.txt { font-size: 2.4em; }}
@media screen and (max-width: 1000px) {	p.txt { font-size: 2.2em; }}
@media screen and (max-width:  900px) {	p.txt { font-size: 2.0em; }}
@media screen and (max-width:  800px) {	p.txt { font-size: 1.8em; }}
@media screen and (max-width:  700px) {	p.txt { font-size: 1.6em; }}
@media screen and (max-width:  600px) {	p.txt { font-size: 1.4em; text-align: left; }}

h1 { /* Sudoku */
position: absolute;
left: 0;
top: 100px;
font-family: 'quicksandlight';
font-size: 22px;
font-weight: normal;
color: #FFFFFF;
}

h2 { /* Vorschlaege.php */
padding: 0;
margin: 0 0 0.3rem 0;
font-family: 'quicksandlight';
font-size: 1.3rem;
text-transform: uppercase;
font-weight: normal;
color: #CC0000;
}

a:link, a:visited {
color: #FFFFFF;
text-decoration: none;
border-bottom: 1px solid #999999;
}
a:hover, a:active {
color: #CCCCCC;
}

img {
display: block; /* sonst Abstand unten, ist kein margin / padding */
max-width: 100%;
height: auto;
}


/* https://fastwp.de/magazin/css3-fade-effekt-fuer-komplette-website/ */
@keyframes fadein			{ from { opacity: 0; } to {opacity: 1; }}
@-moz-keyframes fadein		{ from { opacity: 0; } to {opacity: 1; }}
@-webkit-keyframes fadein	{ from { opacity: 0; } to {opacity: 1; }}
@-o-keyframes fadein		{ from { opacity: 0; } to {opacity: 1; }}










