/* Navigation und Links in Mein leben */

/* Boxen gestalten per border-box */ 

*, 
*:before, 
*:after {
  box-sizing: border-box;
}

html {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 100%; 
  overflow-y: scroll;
}

body { 
  font-size: 1rem;   
  background-color: rgb(255, 239, 178);
  color: #333;
  min-width: 300px;   
  max-width: 480px; 
  margin: 0 auto; 
}

h2   { font-size: 1.5rem; }  
h3   { font-size: 1.3125rem; }
main { line-height: 1.7; }

/* padding für Layoutbereiche */ 
main,
aside,
.kopfbereich,
.hnavi, 
.fussbereich {
  padding: 1em;
}

/* Kopf- und Fußbereich einfärben */ 
.kopfbereich, 
.fussbereich {
  background: lightblue;
  color: black; 
} 

  /* Pageheader */ 
.kopfbereich img {
  margin: 10px 0 0 25px;
}  
.kopfbereich p,
.kopfbereich h1 {
  text-align: center;
} 
.kopfbereich h1 {
  font-family: Dosis, 'Open Sans', sans-serif; 
  font-size: 2rem;
  letter-spacing: 1px;
  color: white;
  line-height: 1;
  padding: 0;
  margin: 0 0 0.25em 0;
}
.kopfbereich a, 
.fussbereich a {
  color: white;
  text-decoration: none;
}
.kopfbereich p.slogan {
  padding: 0;
  margin: 0;
}
/* Hauptinhalt formen */
main>section {
  line-height: 1.2;
}
.bsliste {
  color: rgb(0, 153, 0);
}

/* 
In visuellen Layouts verstecken, aber Screenreader lesen das Element vor 
github.com/h5bp/html5-boilerplate/issues/194#issuecomment-564745 
*/  
.hideme {
  border: 0;
  clip: rect(0 0 0 0); 
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* 
Micro-Clearfix-Hack 
nicolasgallagher.com/micro-clearfix-hack/ 
*/ 
.cf:before, .cf:after { content: " "; display: table; } 
.cf:after, .clear { clear: both; } 
