body {
  margin: 10px;
  background: url(./cssk/hg/hg1.jpg) no-repeat center center fixed;  
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  font-family: var(--bs-font-sans-serif);
  /* background-color: lightgrey; */
  /* background-image: url(./cssk/hgherbst.jpg);
  background-image: url(./cssk/hgwinter.jpg); */

}
/* 
.wrapper {
  display: grid;
  grid-template-columns: 300px repeat(5, 1fr) ;
  grid-template-rows: 100px 100px  ;
  grid-gap: 10px;
  grid-auto-flow: column;
  background-color: #fff;
  color: #444;
} */

#footer {
 
  border: 1px solid grey;
  border-radius: 5px;
  background-color:rgba(237, 243, 237, 0.6);
  color:rgb(133, 151, 73);

  text-align: right;
  width:100%;
  }

#toper {
  display:block;
  text-align: right;
  width:99%;
  }

.box {
  background-color: #444;
  color: #fff;
  border-radius: 15px;
  padding: 20px;
  font-weight: bold;
  font-size: 3em;
  text-align: center;
}

.mainheader {
  grid-area: header;
  
}

.instabilderblock{
  max-width: 1048px;
  margin: 5px auto;
  max-height: 170px;  
  
}

.content {
  max-width: 1050px;
  margin: 5px auto;
  min-height: 100%;
  height:auto !important;
  height:100%;
  z-index: -1;
  /* background-color: lightgrey; */
  border-radius: 15px;
 
}

.rhkachel {
  margin: 5px 5px ;
  border-radius: 0.5rem;
  /* border: 1px solid grey; */
  box-shadow: 0 1px 4px 0 rgb(133, 151, 73);
  background-color: rgb(241, 236, 231);
  font-size: 1em;
  
}

.rhkachel:hover{
  text-decoration: none;
  background-color: darkgrey;
  outline: 5px solid darkgrey;
}

.rhkachelimg{
  border-radius: 0.5rem;
  border: 1px solid lightgrey;
  width: 100%;
  height: 66%;
  object-fit: cover;
  object-position: center left;
}

.seitenbeschreibung{
  /* background-color: black; */
  font-family: Verdana, Arial, Helvetica, sans-serif;
  color: rgb(7, 77, 42);
  font-size: 12px;
  padding: 2px 0 0 5px;
  height: 6em;
}

a {
  color:     #859749;
  text-decoration: none;
}
.seitenlink{
  text-decoration: none;
  font-size: 1em;
}


.seitentitel{
  font-weight: bold;
  color: rgb(3 92 26)
}

.rhbilder {
    margin: 3px 3px ;
    background-color:rgb(241, 236, 231);
    color: #fff;
    border: 1px solid grey;
    border-radius: 5px;
    padding: 0px;
    font-weight: bold;
    font-size: 1em;
    text-align: left;
    height: 70px;
    background-size: cover;
  }

  .rhbilder:hover{
    background-image: none;
    background-color: darkgrey;
    opacity: 0.8;
    color: rgb(236, 245, 240);
    }  

  .bilder_kachel_link{
    color: black;
    font-size: 1em;
    }

  .bilder_kachel_link:hover{
    color: white;
    
    }

.panel {
  grid-area: sidebar;
}

.mainfooter {
  grid-area: footer;
}


.wrapperheader {
  width: 100%;
  max-width: 1048px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 8px;
  background-color:rgb(211, 211, 211, 0.7);
  color: #444;
  border-radius: 0.5rem;
  
}

.wrappermain {
    width: 100%;
    height: 100%;
    max-width: 1048px;
    margin: 5px auto;
    background-color:rgb(211, 211, 211, 0.8);
    border-radius: 0.5rem;
    display: grid;
    grid-row-gap: 8px;
    grid-template-columns: 1fr;
    grid-template-areas:
    "wrapperkachel"
    "sidebar"
    "footer";
  }

@media (min-width: 500px) {

  .wrappermain {
    grid-column-gap: 2em;
    grid-row-gap: 3px;
    grid-column-gap: 3px;
    grid-template-columns: 1fr 1fr ;
    grid-template-areas:
    "wrapperkachel sidebar"
    "footer"  ;
  }
}


.wrapperkachel {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-row-gap: 0px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr) ) ;
  grid-template-areas:
  "rhkachel"  ;
    
}

.wrapperbilder {
  width: 100%;
  margin: 5px auto;
  display: grid;
  grid-row-gap: 2px;
  grid-column-gap: 2px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr) ) ;
  grid-template-areas:
  "rhbilder"  ;
    
}

.wrapperlinks {
  width: 100%;
  margin: 5px auto;
  display: grid;
  grid-row-gap: 3px;
  grid-column-gap: 3px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr) ) ;
  padding: 20px 10px 10px 10px;
  
  border-radius: 0.5rem;
  /* border: 1px solid grey; */
  box-shadow: 0 1px 4px 0 rgb(133, 151, 73);
  /* background-color: rgb(241, 236, 231, 0.7); */
  background-color:rgb(211, 211, 211, 0.7);
  font-size: 0.8em;
}

.rhlinks{
  
  background-color:rgb(241, 236, 231);
  color: rgb(7, 77, 42);
  border: 1px solid grey;
  border-radius: 5px;
  padding: 5px;
  font-weight: bold;
  font-size: 1em;
  text-align: left;
  height: 30px;
  background-size: cover;
}

.rhlinks:hover{
  background-image: none;
  background-color: darkgrey;
  
  } 