﻿/* ================================  style.css  -  central Stylesheet  ================================ 
   basis  

   - general settings  
   - Font and text 
   - element selectors and global classes 

   ================================ */

/* General settings */ 

*, 
*::before, 
*::after { 
  box-sizing: border-box; 
}

html { scroll-behavior: smooth; }

h1, h2, h3, h4, h5, h6,
p, ul, ol, blockquote {
  margin-top: 0;
  margin-bottom: 0.5rem; 
}

/* Font and text */

body {
  font-family: "-apple-system", BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.1rem; 
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; font-variant: small-caps; }

/* Element selectors */

/ * VIDEO ---------------------------------------------------------------------------------- */

.video-container-wrapper {
  max-width: 100%;
  width: 600px;
  left: 0;
  right: 0;
  margin: auto;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0; height: 0; overflow: hidden;
}
 
/* Youtube-Video iframe Container */
 
.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    border: 0;
    width: 100%;
    height: 100%;
}

img, video {
  max-width: 100%; 
  height: auto; 
}
      
/ * Aufklappbare Liste -------------------------------------------------------------------------- */

details {
  background-color: whitesmoke;    
  padding: 1rem; 
  border: 1px solid lightgrey; 
  margin-bottom: 1rem;
}    
      
summary {
  cursor: pointer; 
  font-weight: bold; 
  font-size: 1rem; 
}

  /* -- possible addtional values for summary --- 
  * summary:focus = eventuelle Umrandung für Elemente mit dem Fokus entfernen 
  * details[open] = wenn das Element geöffnet ist (ist ein Attributselektor) 
  */ 

   /*
  summary:focus { outline: none; }      
  details[open] { border-color: darkred; }
   */         
      
figure {
  margin-left: 0; 
  margin-right: 0; 
}

figcaption {
  font-size: 0.8rem;
}  

address { 
  font-style: normal; 
}

.visually-hidden { 
  position: absolute; 
  clip: rect(0, 0, 0, 0); 

  width: 1px; 
  height: 1px; 
  padding: 0; 
  border: 0; 
  margin: -1px; 

  overflow: hidden; 
} 

.site-content {
  scroll-margin-top: 1rem;
}

/* ================================
   layout.  

   - Seitenlayout 
   - Layoutbereiche 
   ================================ */

/* classic page layout with a fixed with */ 

html { 
  background-color: whitesmoke; 
}

body { 
  background-color: #FAF59C; 
  color: black; 
  max-width: 800px; 
  margin: 1rem auto; 
}

/* Areas of Layout */ 

/* Heading */
.site-header { 
  padding: 1rem 1rem 0 1rem; 
}
.site-header h1 { 
  margin-bottom: 0; 
}
.site-header p { 
  margin-top: 0; 
}

/* Navigationsbereich */
.site-nav {
  background-color: #DA9520;
  color: white; 
  padding: 0.5rem 1rem;
  margin: 1rem 0; 
}

/* Inhaltsbereich  */
.site-content { 
  line-height: 1.5; 
  padding: 0 1rem; 
}

/* Fußbereich */
.site-footer {
  font-size: smaller; 
  text-align: right; 
  background-color: #DA9520;
  color: white;
  padding: 0.5rem 1rem;
  margin-top: 2rem; 
}
.site-footer a {
  color: white; 
  text-decoration: none; 
}

/* ================================
   layout-modern.  
   ================================ */

html { 
  background-color: transparent; 
}

body { 
  max-width: none; 
  padding: 0; 
  margin: 0; 
}

.inside {
  max-width: 800px; 
  padding: 0 1rem; 
  margin: 0 auto; 
}

.site-header,
.site-nav,
.site-content,
.site-footer {
  padding-left: 0; 
  padding-right: 0; 
}

/* ================================

- Gestaltung der Hauptnavigation  
- Hervorhebung des aktuellen Menüpunktes 
- Gestaltung der Meta-Navigation im Fußbereich 
- beide basieren auf display: inline  
================================ */

/* Die Hauptnavigation (K05 und K15) */ 

.site-nav ul {
  padding: 0; 
  margin: 0; 
}

.site-nav li {
	display: inline;
	margin-right: 0.5rem;
}

.site-nav a {
  color: white; 
  text-decoration: none; 
}

/* Die Meta-Navigation im Fußbereich */ 

.meta-nav ul {
  padding: 0; 
  margin: 0; 
}
.meta-nav li {
  display: inline;
  margin-right: 0.5rem;
}

/* Aktueller Menüpunkt (gilt für beide Navigationen */ 

.current a {
  text-decoration: underline; 
}

/* ================================

- gestaltet die Inhalte in main 

================================ */ 

/* Die Links im Inhaltsbereich gestalten */ 

.site-content a[href^="http"]::after { content: " \2197"; }

.site-content a:link { color: #0b74b8; } 
.site-content a:visited { color: #36aade; } 
.site-content a:hover, .site-content a:focus { color: #f5662e; }
.site-content a:active { color: #d90000; }


/* Gestaltung der Infoboxen */ 

.infoboxen {
  background-color: #59482E; 
  padding: 1rem 0; 
  margin-bottom: 1rem; 
}

.infobox {
  text-align: center; 
  background-color: Whitesmoke; 
  padding: 1rem;
  margin: 1rem 0; 
}

/* Createion for what you also should know */ 

.moreinfos {
  text-align: center; 

  background-color: #eee;
  background-image: linear-gradient(to right, #eee, whitesmoke); 
  box-shadow: 0 1px 3px rgb(51,51,51,0.3); 
  
  padding: 1rem;
  border-left: 5px solid #0b74b8; 
  margin: 0; 
  margin-bottom: 1rem; 
}

.moreinfo p:first-child {
  font-size: 1.25rem; 
  font-weight: bold; 
}


/*Grundlegende Gestaltung der Inhalte auf der Seite News */

.beitragsliste h3, 
.linklisten h3 {
  padding-top: 0.5rem; 
  border-top: 1px solid #eee; 
  margin-bottom: 0.25rem; 
}
.beitragsliste h3 a { 
  color: #333; 
}
.beitragsliste article, 
.linklisten section { 
  margin-bottom: 3rem; 
}
.beitragsinfo { 
  color: #999; 
}

/* ================================

- Gestaltung des Kontaktformulars

================================ */

.kontaktformular form {
  max-width: 400px; 
  background-color: #eee; 
  padding: 1rem; 
}

.kontaktformular div {
  margin-bottom: 1rem; 
}

.kontaktformular label { 
  cursor: pointer; 
}      

.kontaktformular label[for] { 
  display: block; 
}      
      
.kontaktformular button {
  background-color: #0b74b8;
  color: white; 
  padding: 0.5rem; 
  border: none;   
  font-size: inherit; 
  cursor: pointer; 
}
