
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; 
  /*background-image: url("../images/tafel.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;*/
  background-size: 100%;
  font-family: 'roboto';
  font-size: 110%;
  font-weight: lighter; 
  box-sizing: border-box;
}

@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;*/
}

/*sticky header und menue*/

#grussoben{
  width: 100%;
  height: auto; 
  padding: 1%; 
  top: 0;
  font-size: 1.5em;
  backdrop-filter: blur(7px);
  background-color: rgba(255,255,255, 0.07);
}

header {
  width: 100%;
  height: auto; 
  padding: 2%; 
  position: -webkit-sticky;
  position: -moz-sticky;
  position: sticky;
  top: 0;
  font-size: 1.5em;
  backdrop-filter: blur(7px);
  background-color: rgba(255,255,255, 0.07);
  border-bottom: 1px solid rgba(255,255,255, 0.294);
  border-right: 1px solid rgba(255,255,255, 0.294);
  box-shadow: 4px 8px 8px rgba(0,0,0,0.2);
  z-index: 5;
}

/*Styling für Links*/
a {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;} 


/*Navigation*/
nav {
  width: 100%;
  height: auto; 
  padding: 2%; 
  position: -webkit-sticky;
  position: -moz-sticky;
  position: sticky;
  top: 0;
  font-size: 1.5em;
  backdrop-filter: blur(7px);
  background-color: rgba(255,255,255, 0.07);
  border-bottom: 1px solid rgba(255,255,255, 0.294);
  border-right: 1px solid rgba(255,255,255, 0.294);
  box-shadow: 4px 8px 8px rgba(0,0,0,0.2);
  z-index: 5;
}

.links-container {
  width: 100%;
  height: 100%; 
  display: flex; 
  flex-direction: row; 
  align-items: center; 
}

nav a {
  width: 100%; 
  height: 100%; 
  padding: 0 10px; 
  display: flex; 
  justify-content: center; 
  text-decoration: none; 
  color: black; 
}

#sidebar-active {
  display: none;
}

.open-sidebar-button, .close-sidebar-button {
  font-size: 3em; 
  display: none;
}


/*media queries*/
@media(max-width: 600px) {

  nav{
   backdrop-filter: blur(12px); 
   background-color: rgba(255,255,255, 0.07);
  }

  .links-container {
    background-image: url("../images/leinen.jpg");
    background-size: cover; 
    background-repeat: no-repeat; 
    background-position: center; 
    width: 100%; 
    height: auto; 
    box-shadow: -5px 0 5px rgba(0,0,0,0.2); 
    font-size: 120%; 
    flex-direction: column; 
    align-items: flex-start; 
    position: fixed; 
    top: -1000%; 
    left: -0%; 
    transition: 1s ease-out; 
    z-index: -1; 

  }

  nav a {
    /*background-color: white;*/
    box-sizing: border-box; 
    height: 100%; 
    width: 100%; 
    padding: 20px 30px; 
    justify-content: center; 
  }

  .open-sidebar-button, .close-sidebar-button {
    display: block;
    transition: 0.75s ease-in-out; 
  }

 .close-sidebar-button {
    height: 100%; 
    width: 100%; 
    display: flex;
    justify-content: center; 
    align-items: center; 
    transition: 0.75s ease-in-out; 
  }

  #sidebar-active:checked ~ .links-container {
    left: 0; 
    top: 40px; 
  }
  #sidebar-active:checked ~ .open-sidebar-button {
    display: none; 
    width: 100%; 
    height: 100%; 
    position: fixed;
    top: 0; 
    left: 0;
    z-index: 9;
  }
}

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

.glass-container {
  flex: 0 0 400px;
  backdrop-filter: blur(7px);
  background-color: rgba(255,255,255, 0.07);
  border-bottom: 1px solid #FFB6C1;
  border-right: 1px solid #FFB6C1; 
  -webkit-filter: drop-shadow(5px 5px 3px rgba()); 
          filter: drop-shadow(5px 5px 3px rgba(#FFB6C1));
  -webkit-filter: drop-shadow(5px 5px 3px rgba(0,0,0,0.4));
          filter: drop-shadow(5px 5px 3px rgba(0,0,0,0.4));
  transition: 0.3s;
  margin: 2%;
}

.glass-container img {
  width: 100%;
  height: auto;
}

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

.glass-container:hover{
  /*background-color: lightgray;*/
  box-shadow: 0 8px 16px 0 #FFB6C1;
  /*background-color: rgba(255,255,255, 0.5);
  box-shadow: 0 8px 16px 0 rgba(0,0,0,1.0);*/ 
}

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


.card{
  flex: 0 0 350px;
  background: rgba(255,255,255,0.5);
  -webkit-filter: drop-shadow(5px 5px 3px rgba(0,0,0,0.4));
  filter: drop-shadow(5px 5px 3px rgba(0,0,0,0.4));
  transition: 0.3s;
  margin: 2%; 
}

.card:hover{
  box-shadow: 0 8px 16px 0 rgba(0,0,0,1.0); 
  -webkit-filter: brightness(1.5);
    filter: brightness(1.1);
}


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

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

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

div.text{  
  padding: 4%;
  text-align: center;
}

/*Überschriften*/
h5{
  text-align: center;
  color: black;
  font-size: 300%; 
  font-weight: lighter;
  margin: 1%; 
  }

h1{
text-align: center;
color:black;
font-size: 200%; 
font-weight: lighter;
}

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

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

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

/*Absätze in den cards und aufklappbare "Weiterlesen"-Texte*/



/*breakpoint: auf größeren Viewports wird nur footer 1 angezeigt*/
@media only screen and (min-width: 650px) {
#footer2 { 
display: none; }
}


footer  {
  width: 100%;
  margin: 4%;
  padding: 1%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content:space-around;
}

footer#footer1  {
  width: 100%;
  margin: 4%;
  padding: 1%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content:space-around;
  background: #fff;
}

footer#footer1 ul {
  width: 100%;
  margin: 4%;
  padding: 1%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content:space-around;
  background: #fff;
}


footer#footer1  li {
  display: flex;
  flex-direction: row;
  text-decoration: none;
  list-style: none;
  white-space: nowrap;
  justify-content:space-around;
}

footer ul img { 
  width: 90%;
  margin: 5%;
  height: auto;
} 

footer#footer1 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#footer1 ul li a:hover { 
  color: orange;
  transform: scale(1.0); 
} 




