
body {
  max-width: 1800px;
  height: 100%;
  margin: 0 auto;
  padding: 0px;
  display: flex;
  flex-flow: row wrap;
  overflow-y: scroll;
  overflow-x: hidden;
  background-color: white;
  font-family: 'roboto';
  font-size: 110%;
  font-weight: lighter; 
  box-sizing: border-box;
}

/*Zweites Menue mit Links, auf die häufig zugegriffen wird*/
@font-face {
  font-family: "roboto";
  font-style: normal;
  font-weight: 100;
  font-stretch: 100%;
  src: url("../fonts/roboto100.woff2")format('woff'), 
       url("../fonts/roboto.ttf") format('truetype');
  /*unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;*/
}
nav {
  width: 100%;
  top: 0;
  position: -webkit-sticky;
  position: -moz-sticky;
  position: sticky;
  background: #fff;
  z-index: 5;
}

ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content:space-around;
  align-items: stretch;
  background: #fff;
}

li {
  list-style:none;
  margin-right: 2%;
  transition-duration: 0.5s;
}

a:link {
display: block; 
padding: 0%;
margin: 0%;
text-decoration: none;
color: #000;
}

a:visited {text-decoration:none; color: #000;}
a:focus {text-decoration:none;color: #000;}  
a:hover {text-decoration:none;color: orange;}  
a:active {text-decoration:none;color: grey;} 



/*Hier beginnt der Header*/
/*bei kleineren Viewports bleibt der header stehen*/

/*header {
  width: 100%;
  top: 7%;
  /*position: sticky;
  background: #fff;
  box-shadow: 4px 8px 8px rgba(0,0,0,0.2);
  z-index: 4;
}*/

header{
display: flex;
  justify-content: center; 
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 3;
}

img.headerimg{  
  width: 80%;
  text-align: center;
  align-content: center;

}

div.mainvideo{  
  background-color: #fff;
  position: relative;
  width: 90%;
  margin-left: 5%;
  margin-right: 5% ;
  text-align: left;
  display: inline-block;
}

div.mainvideo iframe {
  background-color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.maincard {
  width: 100%;
  /*margin: 1%;
  padding: 2%;*/
  color: #000; 
  font-size: 140%;
  font-weight: lighter; 
  text-align: center;
}
/*bei größeren Viewports scrollt der header mit*/

@media only screen and (min-width: 768px) {
header { 
  position: relative;
  width: 100%;
  height: 100%;
  box-shadow: none;
  z-index: 3;}
} 


/*Hier beginnt der Inhalt*/
.content { 
  width: 100%;
  height: auto;
  display: flex;
  flex-flow: row wrap;
  justify-content:space-around;
  background-color: #fff; 
  z-index: 2;
}

.card{
  flex: 0 0 450px;
  background:white;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  margin: 2%; 
}

.card:hover{
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2); 
}

.card img {
  width: 100%;
  height: auto;
}

.maincard {
  margin: 1%;
  padding: 1%;
  color: #000; 
  font-size: 140%;
  font-weight: lighter; 
  text-align: center;
}

div.video{  
  background-color: #fff;
  position: relative;
  width: 100%;
  text-align: left;
  display: inline-block;
}

div.video iframe {
  background-color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

div.video controls poster{
  width: 100%;
  
}

/*Überschriften*/

h1{
text-align: center;
color: #000;
font-size: 150%; 
font-weight: lighter;
}


h2{
text-align: center;
font-size: 120%; 
color: #000;
font-weight: lighter;
}

h3{
text-align: center;
color: #000;
font-size: 80%;
font-weight: lighter; 
padding: 0;
}

/*Absätze in den cards und aufklappbare "Weiterlesen"-Texte*/
p.ohne {
  margin: 15px;
  font-size: 100%; 
  text-align: justify;
  hyphens: auto; 
  font-weight: lighter; 
}

p {
  margin: 15px;
  font-size: 100%; 
  text-align: justify;
  hyphens: auto; 
  font-weight: lighter; 
}

/*weiterlesen*/
summary {
  position: relative;  
  }

summary::marker {
  color: transparent;
}

summary::after {
  content:  "+"; 
  position: absolute;
  color: green;
  font-size: 1em;
  font-weight: bold; 
  top: .1em;
  transition: all 0.5s;
} 

details[open] summary::after {
color: red;
transform: translate(5px,0) rotate(45deg);
}

/*p.weiterlesen {
  margin: 15px;
  font-size: 100%; 
  text-align: justify;
  hyphens: auto; 
  font-weight: lighter; 
}

.weiterlesen-target {
  opacity: 0;
  max-height: 0;
  font-size: 0;
  display:block;
  transition: .25s ease;
}

.weiterlesen-state {
  display: none;
}

.weiterlesen-state:checked ~ .weiterlesen .weiterlesen-target{
  opacity: 1;
  font-size: inherit;
  max-height: 999em;
  font-weight: lighter; 
}

.weiterlesen-state ~ .weiterlesen-trigger:before {
  display: block;
  padding-bottom: 5%;
  font-size: 100%; 
  text-align: center;
  font-weight: lighter;
  color: grey;
  content: "Weiterlesen";
}

.weiterlesen-state:checked ~ .weiterlesen-trigger:before {
  content: "Weniger";
}

/*Akkordeon für individuelle Förderung*/

.akkordeon {
  margin: 15px;
  font-size: 100%; 
  text-align: justify;
  hyphens: auto; 
  font-weight: lighter; 
}

.akkordeon label{
  display: block;
  height: 0.8em;
  padding: 0.5em; 
  cursor: pointer;
  font-size: 100%;
  text-align: center;
}

.akkordeon input + label {
  transition: all 0.5s ease-in-out;
}

.akkordeon label:hover{
  -webkit-transform: scale(1.5); 
  -moz-transform: scale(1.5); 
  -o-transform: scale(1.5); 
  transform: scale(1.5); 
}

.akkordeon input{
  display: none;
}

.akkordeon p {
  overflow: hidden;
  height: 0;
  margin: 0;
  transition: all 0.5s ease-in-out;
}

.akkordeon input:checked ~ p{
  transition: all 0.5s ease-in-out;
  height: auto;
}


.pdfs{
text-align: center;
font-weight: lighter;
color:000;
}



/*Fussleiste*/

footer { 
  width: 100%;
  top: 0px;
  display: flex;
    flex-direction: row;
  flex-wrap: wrap;
}

footer ul {
  width: 100%;
  margin-top: 4%;
  padding: 1%;
  text-align: center;
}

footer ul li {
  display: inline-block;
  padding-top: 0%;
  padding-left: 1%;
  padding-right: 1%;
  text-decoration: none;
  list-style: none;
  white-space: nowrap;
  justify-content:space-around;
}

footer a {
  font-family: 'Roboto', sans-serif;
  color: #000;
  font-size: 100%;
  font-weight: lighter; 
  text-align: center;
  display: block;
  list-style: none;
  text-decoration: none;
   -webkit-transition: all 0.3s linear; 
   -moz-transition: all 0.3s linear; 
   -o-transition: all 0.3s linear; 
   -ms-transition: all 0.3s linear; 
   transition: all 0.3s linear;
}


footer ul li a:hover { 
  color: #000;
  -webkit-transform: scale(1.5); /* Saf3.1+, Chrome */
  -moz-transform: scale(1.5); /* FF3.5+*/
  -o-transform: scale(1.5); /* Opera*/
  transform: scale(1.5); 
} 


footer ul img { 
  width: 100px;
  height: auto;
} 



