/* ############################################################
##
## CSS zu "Evangelischer Posaunenchor Darmstadt"
##
############################################################### */

/* ######## Grundsätzliche Seiten-Gestaltung ######## */
html {
  scroll-padding-top: 2em; /* Höhe des Sticky-Menüs */
}

body {
  direction: ltr;
  padding: 0.5rem;
  margin: 0.5rem;
  min-width: 800px;
  max-width: 1100px;     
  margin-left:auto;
  margin-right:auto;
  border-radius: 1.4rem;
}

/* ======== Kopf ======== */
header {
  height: 15vw;  
  max-height: 170px;      /* Höhe der Kopf-Grafik */
  margin: 0;
  padding: 0;
  border-radius: 0.4rem 0.4rem 0 0;
}

header .rechts, 
header .links {
  margin-top: 0;
  z-index: 1;
  height: 80%;
  max-height: 150px;
}

header .rechts {
  float: right;
  margin-right: 0;
}

header .links {
  padding: 3px;
  float: left;
  margin-left: 0;
}

header .mitte {
  padding: 0.2rem;
/*  width: 75%;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-60%, -50%); */
  z-index: 2;
}

header {
  text-align: center;
}

header img {
  height: 100%;
}

/* ======== Menue ======== */
nav {
  position: sticky;
  top: 0; /* Definiert den Abstand vom oberen Rand */
  z-index: 1000; /* Im Vordergrund */  
  width: 100%;
  height: 1.65rem;
  margin-top: -1rem;
  margin-bottom: 0.5rem;
}

nav ul {
  list-style-type: none;
  padding-left: 0;
  width: 100%;
}

nav li {
  float: left;
  margin-right: 0.5rem;
}

nav a, 
nav strong a, 
nav strong span, 
nav a:hover {
  padding: 0.2rem;
  display: block;
  text-decoration: none;
}

body > img {
  border-radius: 0 0 0.8rem 0.8rem;
}

hr {
  height: 1rem;
  border-radius: 0.4rem;
}


/* ======== Inhalt ======== */
main {
  width: 58%;
  float: left;
}

aside {
  float: right;
  width: 42%;
}

@media screen and (max-width: 600px) {
  main {
    width: 100%;
    float: none;
  }

  aside {
    float: none;
    width: 100%;
  }
}


p,
h2,
h3,
figure,
section {
  padding-right: 1rem;
}

hr {}
/* ======== Karten-Ausschnitt ======== */
#map {
  clear: both;
  width: 100%;
  padding: 0;
  margin-top: 1rem;
}

/* ======== Fusszeile ======== */
footer {
  clear: both;
  margin-top: 1rem;
  padding: 0.5rem;
  border-radius: 0 0 1rem 1rem;
}

section {
  clear: both;
  padding-top: 1rem;
  scroll-margin-top: 1.65em;
}

/* ======== Box ======== */

section.paragraph, 
section.event  {
  padding: 0.5rem;
  margin-bottom: 1rem;
  margin-top: 0;
  margin-right: 1rem;
}

section.paragraph:last-child,
section.event:last-child {
  margin-bottom: 0.5rem;
}

p, 
h2 {
  margin-top: 0.5rem;
}

.zeit, 
.person, 
.funktion {
  margin: 0;
  padding: 0;
}

section.event iframe {
  width: 50%;
  float: right;
  margin: 0.4rem;
  border-radius: 0.4rem;
  border: none;
  height: 300px;
}

.zeit {
  margin-top: 0;
  padding-top: 0;
}

section.paragraph h2,
section.event h3 {
  margin-top: 0.5rem;
  padding-top: 0;
}

/* ======== Fotos ======== */

figure {
  margin: 0;
  clear: both;
}

figure img {
  float: left;
}

figure figcaption {
  min-width: 10rem;
  float: right;
}

.thumb {
  width: 45%;
  float: right;
  margin-left: 1rem;
}

img {
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  max-width: 100%;
}

.thumb img {
  width: 100%;
}

p.clear {
  height: 0;
  margin: 0;
  clear: both;
}

/* ======== Ortsangabe ======== */

.ort {
  margin-top: 0.5rem;
  padding-top: 0;
}

.ort p {
  margin: 0;
}

/* ======== Radien ======== */
main, 
aside, 
section.paragraph, 
section.event, 
main > img, 
aside > img, 
figure img {
  border-radius: 0.7rem;
}

section.paragraph img,
.thumb img {
  border-radius: 0.4rem;
}

/* ######## Schriften ############################################## */
p {  /* automatische Silbentrennung an */
  -webkit-hyphens: auto;  /* für Chrome, Safari  */
  -ms-hyphens: auto;      /* für Internet-Explorer */
  -moz-hyphens: auto;     /* für Firefox (Gecko) */
  hyphens: auto;
  word-break: normal;
  
  quotes: "\201E" "\201D";
}

body {
  font: 100.01% serif; /* wegen eines Bugs in einem Browser 
                          darf die Angabe nicht genau 100% sein */
}

header p {
  font-size: 3vw;
}

h1 {
  margin-bottom: 0.5rem;
}

/* ======== font-family ============================================= */
body {
  font-family: "Times New Roman", Times, FreeSerif, serif;
}

header,
nav,
h1,
h2 {
  font-family: Arial, Helvetica, FreeSans, sans-serif;
}

/* ======== font-weight ================================================ */
h1,
h2 {
  font-weight: normal;
}

nav a,
.zeit,
.person   {
  font-weight: bold;
}

/* ======== font-style =================================================== */
.copyright,
figure figcaption {
  font-style: italic;
}

/* ======== font-size ================================================== */
header {
  font-size: 2.2rem;
}

h1 {
  font-size: 1.6rem;
}

main h2,
aside h2,
section.paragraph h2,
section.event h2 {
  font-size: 1.3rem;
}

section.event h3,
.zeit,
.person {
  font-size: 1rem;
}

footer,
.copyright {
  font-size: 0.8rem;
}

/* ######## Farbschema ############################################# */

/* --------------------------------------------------------------------
|  Farben im Logo:
| Lila laut EKHN-CI:   #572381
| Komplementärfarbe:   #ffcc33
| gelblicher:          #ffffb3
| rötlicher:           #e68a00
+------------------------------------------------------------------- */

/* ======== Hintergrundfarben =========== */
html  {
  background-color: #e0e0e0; /* Hellgrau*/
}

body {
  background-color: white; /* Weiß*/
  color: black;
  box-shadow: 0.25rem 0.5rem 0.25rem #707273;
}

header,
footer,
nav strong span,
nav a:hover,
aside section.paragraph {
  background-color: #fff1cc; /* Messing */
}

nav,
nav li,
nav a,
hr {
  background-color: #572381;	/* Violett */
}

/* ======== Schrift-Farben ======== */
header,
h2,
hr {
  color: #572381;	/* Violett */
}

body > h1 {
  text-shadow: 0 0 0.05rem #572381, 0 0 0.5rem #572381, 0 0 1rem #572381;
  color: #ffffff;
}

nav strong span,
nav a:hover,
section.paragraph h2,
section.paragraph h3 {
  color: #b36b00;
}

nav a {
  color: white;
}

figure,
.zeit,
.funktion,
.ort {
  color: #707273; /* Dunkelgrau */
}

section.event h2 {
  color: black;
}


/* ======== Ränder und Schatten ======== */
section.paragraph, 
main section.paragraph, 
aside section.paragraph {
  border: 2px solid #f9e286;
}

section.event {
  border: 2px solid #ffebb3; /* Violett */
  box-shadow: 2px 4px 4px #e5e5e5;  /* grau */
}

section.paragraph section.event {
  border: 2px solid #ffebb3;
  box-shadow: 2px 4px 4px #997000;
}

footer {
  border-top: 2px solid #572381;
}
