
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Ensures padding and borders are included in widths */
}
/* @media (min-width: 40em){
  /* table{
    display: table;
    border-spacing: 0.5em;
  } */
  #cookie-popup {
    text-align: center;
    background: #fff;
    position: fixed;
    top: 0px;
    left: 0;
    right: 0;
    z-index: 9999;
    font-size:14px;
    line-height:20px;
    padding: 20px;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
    }

  #cookie-popup.hidden {
    display: none;
  }

  #mittig{
    font-size:0.7em;
    width:100%;
    margin-top:10px;
    /* background-color: #2F4F4F; */
    text-align:center;
  }

  #content{

     display: table-cell;
     width: 75%;
     font-size: 75%;
     /* background-color: red; */
     /* min-height: 1000px; */
      /* align-self: stretch; */
     /* align-items: center;
     align-items: stretch;
     justify-content: center;
     height: auto; */
     margin-left: auto;
     margin-right: auto;
     height: 100vh;
     /* min-height:830px; */
  }

  /* nav > ul {
    flex-direction: row;
    height: 3em;
  }

  nav li {
    flex: 1;
    font-size: 1em;
  } */
}

* {
  margin: 0px;
  background-color: lightgrey;
  /* background-color: lightgrey; */
}

table, td, th {
   border-collapse:collapse;
   border-spacing: 0;
   border: 1px silver solid;
   margin: 0px auto;
}

td.wandern {
  font-size:0.7em;
  padding-left:0.3em;
  padding-right: 0.3em;
}

th {
  font-size:0.8em;
}

a.small {
  text-decoration: none;
  font-size:0.8em;
}
p.small {
  font-size:0.7em;
  text-align:center;
  padding-top:1.2em;
  padding-bottom:1.2em;
}
h2 {
  text-align:center;
  font-size:1.1em;
  padding-top:0.1em;
  padding-bottom:0.1em;
}

.divbackg {
  background-color: lightgrey;
}

.groesse {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 600px;
  height: auto;

}

nav {
  /* background-color:  #888; */
background-color: lightgrey;
display: flex;
align-items: center;
justify-content: center;
}

nav > ul {
  list-style:none;
  padding: 0px;
  display:flex;
}

nav li {
  margin: 0.2em;
  padding: 0;
  font-size: 0.8em;
  flex;
  flex-direction: column;
}


nav a {
  display:block;
  padding: 0.1em 0.1em 0.2em 0.4em;
  text-decoration: none;
  font-weight: bold;
  font-size:0.8em;
  text-align: left;
  border: 1px solid black;
  border-radius: 8px;
  box-shadow: 0.5px 2px #bbb inset;
  color: #F5F5DC;
  background-color: 	#556b2f;
  transition: all .25s ease-in;
}
nav a.start {
  display:block;
  padding: 0.1em 0.1em 0.2em 0.4em;
  text-decoration: none;
  font-weight: bold;
  font-size:0.8em;
  text-align: left;
  border: 1px solid black;
  border-radius: 8px;
  box-shadow: 0.5px 2px #bbb inset;
  color: #F5F5DC;
  background-color: 	#008b00;
  transition: all .25s ease-in;
}
nav li[aria-current] a {
  background-color: firebrick;
  color: #F5F5DC;
}

nav a:focus,
nav a:hover,
nav li[aria-current] a:focus,
nav li[aria-current] a:hover {
  color: black;
  background-color:#F5F5DC;
}

/*submenu navigation links */
nav .submenu {
  visibility: hidden;
  height: 0;
  z-index: 1000;
}

nav .submenu li {
  display:block;
}

/* Show the submenu on hover, focus */
nav li:hover .submenu,
nav li:active .submenu,
nav li:focus .submenu {
  visibility: visible;
  height: auto;
}

nav li:focus-within .submenu {
  visibility: visible;
  height: auto;
}

#banner {
  background-color: #2F4F4F;
  color: #F5F5DC;
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
  padding: 0.2em;
}
#banner_wandern {
  background-color: #2F4F4F;
  color: #F5F5DC;
  font-size: 1em;
  font-weight: bold;
  padding: 0.1em;
}
#navi {
  background-color:  #888;
  text-align:center;
}

footer {
  display: flex;
  font-size:0.7em;
  margin-top: 10px;
  padding-top: -top: 5px;
  padding-bottom: -bottom: : 5px;
  justify-content: center;
}

/* (A) GALLERY WRAPPER */
.gallery {
  /* (A1) GRID LAYOUT - 3 IMAGES PER ROW */
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 20px;

  /* (A2) OPTIONAL WIDTH RESTRICT */
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

/* (B) GALLERY IMAGES */
.gallery img {
  /* (B1) DIMENSION */
  width: 100%;
  height: 180px; /* optional */
  padding: 10px;

  /* (B2) COLORS */
  border: 1px solid #ddd;
  background: #fff;

  /* (B3) IMAGE RESIZE */
  /* cover | contain | fill | scale-down */
  object-fit: cover;
}

/* (C) ON SMALL SCREENS - 2 IMAGES PER ROW */
@media only screen and (max-width: 600px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* (D) OPTIONAL ZOOM ON HOVER */
.gallery img:hover {
  z-index: 9;
  transform: scale(1.3);
  /* linear | ease | ease-in | ease-out | ease-in-out */
  transition: transform ease 0.5s;
}

/* (E) FULLSCREEN MODE */
.gallery img.full {
  position: fixed;
  top: 0; left: 0; z-index: 999;
  width: 100vw; height: 100%;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.7);
}
.gallery img.full:hover {
  z-index: 999;
  transform: none;
}
