/* Übergeordnet */

html {
  background-color: #89d97c;
  font-family: sans-serif;
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: 100%;
  min-width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: auto auto auto;
  padding: .5%;
  margin: 0;
}

a {
  color: black;
  opacity: none;
}

 .pic {
   align-self: center;
   place-self: center;
 }

/* Kopfzeile */

#header {
  background-color: white;
  border: solid black 2px;
  border-radius: 10px;
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: 100%;
  justify-content: center;
  text-align: center;
  color: black;
  font-family: cursive;
  font-size: 150%;
  align-items: center;
  width: 100%;


}

#mobnav {
  display: none;
}

/* Mittelbox */

#info {
  display: grid;
  grid-template-columns: auto 80%;
  grid-template-rows: auto;
  margin-top: 1%;
  width: 100%;

}

/* Seitenrand */

 #side {
   display: grid;
   grid-template-columns: 100%;
   grid-template-rows: auto;
   border: solid black 2px;
   border-radius: 10px;
   margin: 0;
   background-color: white;
   margin-right: 2%;
   height: 100%;
 }

 #logo {
   width: 70%;
   border-top: dotted grey 2px;
   padding-top: 5%;
 }

.blatt {
  display: grid;
  align-items: center;
  text-align: center;
  font-weight: bold;
  color: black;
  font-family: cursive;
  font-size: 150%;
}

.blatt:hover {
  background-color: #89d97c;
  border-radius: 9px;
}

/* Zentrale Box */

.main {
  display: grid;
  margin: 0;
  height: 100%;
  width: 100%;
}

/* Fußzeile */

#footer {
  background-color: white;
  display: grid;
  align-items: center;
  grid-template-columns: 7% 31% 31% 31%;
  border: solid black 2px;
  border-radius: 10px;
  line-height: 160%;
  margin-top: 1%;
  width: 100%;
}

#infopic {
  width: 50%;
}

/* Mobile Version */

@media (max-width: 1024px) {

  body {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: auto auto auto;
  }

  #mobnav{
    display: none;
  }

  #header{
    font-size: 100%;
    text-align: center;
    align-items: center;
    width: 100%;
  }

  #footer {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 33% 33% 33%;
    justify-content: center;
    text-align: center;
    margin-top: 1%;
    width: 100%;
  }

  #infopic {
    display: none;
  }
}

@media (max-width: 650px) {

  body {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: auto auto auto auto;
  }

  #header{
    font-size: 80%;
    text-align: center;
    align-items: center;
    width: 100%;

  }

  #mobnav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: white;
    border: solid black 2px;
    border-radius: 10px;
    margin-top: 1%;
    width: 100%;
  }

  .mobnav1 {
    text-decoration: none;
    text-align: center;
    margin: -2%;
  }

  .mobnav1 :hover {
    background-color: #89d97c;
  }

  #side {
    display: none;
  }

  #info {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: auto;
  }

  .main {
    margin-left: 0;
    min-height: 500px;

  }

  #footer {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: auto auto auto auto;
    justify-content: center;
    text-align: center;
    margin-top: 2%;
    width: 100%;

  }

  #footer p {
    margin: 0;
  }

  #infopic {
    display: none;
  }

@media (max-width: 375px) {

    body {
      display: grid;
      grid-template-columns: 100%;
      grid-template-rows: auto auto auto auto;
      min-height: 100%;
      min-width: 100%;
    }

    #mobnav {
      display: grid;
      grid-template-columns: 1fr 1fr;
      background-color: white;
      margin-top: 1%;
      border: solid black 2px;
      border-radius: 10px;
      width: 100%;
    }


  #header{
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 100%;
    font-size: 60%;
    text-align: center;
    align-items: center;
    width: 100%;
  }

  #info {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: auto;
  }

  #footer {
    margin-top: 2%;
    width: 100%;
  }
}
