  *{
    margin: 0;
    padding: 0;
    color: black;
    font-family: 'Caudex', serif;
    box-sizing: border-box;
  }

body {
  overflow-x: hidden;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: white;
  background-image: url("https://www.billigerluxus.de/item/images/131100/1600x1600/Tapete-Marburg-La-Veneziana-2-Vliestapete-53135-Un.jpg");
  width:100%;
  height:auto;
}

.wrapper {
  width: 75%;
  height: auto;
  margin: auto;
  background: white;
  border-top: #c7ae54 0.32em solid;
  border-bottom: #c7ae54 0.32em solid;
}


/* LOGO + NAVIGATIONSLEISTE */

div#header{
width: 100%;
}

  h1{
    color:#000000;
    font-size: 5.4em;
    font-family: 'Mrs Saint Delafield', cursive;
    font-weight: 100;
  }

  div#h1{
    margin-left: 2%;
    margin-bottom: 0;
    display: inline-block;
    position: absolute;
    width:100%;
  }

  div.navi{
    top: 0;
    position: relative;
    width:auto;
  }

  ul.nav{
    margin: 0 auto 0 auto;
    padding: 0 auto -10% auto;
    display: inline;
    list-style-type: none;
    overflow: hidden;
    position: relative;
  }
  
  ul.nav li{
    float: right;
    margin-bottom: 0;
    padding: 0 1%;
    margin-top: 5%;
  }

  ul.nav li#rechts{
    margin-right:2%;
  }
  
  ul.nav li a {
    font-family: 'Syncopate', sans-serif;
    color: #6b6b6b;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 150;
    display: block;
    text-align: center;
    margin-bottom: 0;
  }

  ul.nav li#aktiv a{
    color:rgb(0, 0, 0);
    border-bottom: 0.2em solid rgb(0, 0, 0);
    font-size: 1em;
    font-weight: 200;
    margin-bottom: 0;
  }

  
  ul.nav a:hover {
    color: rgb(0, 0, 0);
    border-bottom: 0.1em solid rgb(0, 0, 0);
  }

  ul.nav a#aktiv:hover {
    border-bottom: 0.3em solid rgb(0, 0, 0);
  }

  
  /*--------------------- Spacer --------------------*/

  div#spacer {
    height: auto;
    margin: -3% auto 2% auto;
  }

  div#spacer img{
    display: block;
    width: 25%;
  }

  div#spacer2{
    width: 100%;
    margin-top: 2%;
    margin-bottom: 3%;
    margin-left: 37.5%;
  }

  div#spacer2 img {
    display: block;
    width: 25%;
  }


/* Foto Slides --------------------------------------------*/
.wrapperF{
  width: 70%;
  margin: auto;
}

/*rgb(232,229,212);*/

.sliderElements,
.sliderElements figure,
.sliderControls {
    margin: 0;
}
 
.sliderElements:after {
    content: ".";
    display: block;
    height: .1px;
    clear: both;
    visibility: hidden;
    font-size: 0;
    overflow: hidden;
}
 
.cssSlider {
    overflow-x: hidden;
}
 
.sliderElements {
    list-style: none;
    position: relative;
    left: 0;
    width: 500%;
    margin-bottom: .8em;
    padding: 0;
    -webkit-transition: left .8s ease-in-out;
    -moz-transition: left .8s ease-in-out;
    -o-transition: left .8s ease-in-out;
    transition: left .8s ease-in-out;
}
 
.sliderElements > li {
    float: left;
    width: 20%;
    position: relative;
}
 
#slide02:checked ~ .sliderElements {
    left: -100%;
}
 
#slide03:checked ~ .sliderElements {
    left: -200%;
}
 
#slide04:checked ~ .sliderElements {
    left: -300%;
}

#slide05:checked ~ .sliderElements {
    left: -400%;
}
 

 
/* Bilder responsive */
.sliderElements img {
    width: 100%;
    height: auto;
}
 
 
/* inputs aus dem Blickfeld schieben */
.cssSlider input {
    position: absolute;
    left: -99999px;
}
 
/* mittige Ausrichtung der Controls - funktioniert im Zusammenspiel mit inline-block */
.sliderControls {
    text-align: center;
}
 
/* Controls nebeneinander bringen */
.sliderControls li {
    display: inline-block;
}
 
/* Controls auf einheitliche Maße bringen und die Ecken abrunden */
.sliderControls label {
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    border-radius: 50%;
    display: block;
    cursor: pointer;
    background: #1f1f1f;
    color: #1f1f1f;
    margin-bottom:2%;
}
 
/* Attributselektor und indirekter Nachfahrkombinator zum ansteuern der labels */
.sliderControls label:hover,
#slide01:checked ~ .sliderControls label[for="slide01"],
#slide02:checked ~ .sliderControls label[for="slide02"],
#slide03:checked ~ .sliderControls label[for="slide03"],
#slide04:checked ~ .sliderControls label[for="slide04"],
#slide05:checked ~ .sliderControls label[for="slide05"] {
    background: #ddd;
    color: #ddd;
}

/*------------ÜBER UNS--------------- */

h2 {
  display: block;
  margin: 0 auto 0 auto;
  text-align: center;
}

h2 u{
  font-family: 'Mr De Haviland', cursive;
  color:#000000;
  font-size: 2.7em;
  font-weight: 70;
  text-decoration: none;
  border-bottom: 0.03em solid #c7ae54;
  padding-bottom: -3%;
}

img.Inhaber {
  width: 23%;
  display: block;
  float: right;
  margin: 0 0 2% 4%;
  background-color: #c7ae54;
  border: 0.2em solid #c7ae54;
}

p#über{
  display: block;
  text-align: justify;
  width: 80%;
  margin-top: 3%;
  margin-left: 10%;
  margin-bottom: 4%;
}

#clear{
  clear: both;
}

/*-----------------------------------------------NEUGIERIG----------------------------*/

p#neugier{
  text-align:center;
  width: 60%;
  margin: auto;
  margin-top: 4%;
  margin-bottom: 4%;
}

/*----------------------BILDERREIHE--------------------------------*/

.row {
  margin-top: 4%;
  margin-bottom: 4%;
}

/* Add padding BETWEEN each column (if you want) */
.row,
.row > .column {
  margin-left: 5%;;
}

/* Create four equal columns that floats next to each other */
.column {
  float: left;
  width: 25%;
  margin: auto;
}

/* Clear floats after rows */ 
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Content */
.content {
  background-color: #c7ae54;
  position: relative;
  width: 100%;

}

.content img{
  display: block;
  border: 0.2em solid #c7ae54;
}


/* Spacer */
div#spacer img {
  display: block;
  width: 30%;
  margin: 13% 35% 3% 35%;
}

/*---------------------Beispielbilder------*/

.overlay {
  position: absolute; 
  bottom: 42%; 
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.5); /* Black see-through */
  color: #f1f1f1; 
  width: 100%;
  margin: auto;
  transition: .5s ease;
  opacity:0;
  color: white;
  font-size: 100%;
  padding: 8%;
  text-align: center;
}

.content:hover .overlay {
  opacity: 1;
}

/*---------------------footer-------------*/

div.footer {
  margin: 0;
  padding: 1% 1%;
  width: 100%;
  text-align: center;
}
  
div.footer a {
  padding: 0 1% 0 1%;
  font-family: 'Syncopate', sans-serif;
  color: #141414;
  text-decoration: none;
  font-size: 0.8em;
}

#overlay{
  display: none;
}

@media only screen and (max-width: 1120px) {
  div#header{
    text-align: center;
  }

  div#h1{
    width:100%;
    position: relative;
    margin-bottom: 0;
  }

  div.navi{
    clear:both;
    margin-top: -9%;
    margin-bottom: -15%;
  }

  ul.nav{
    margin: 0 auto;
    text-align: center;
  }

  ul.nav li{
    float: left;
    margin-top: 0;
  }

  ul.nav li#rechts{
    margin-left: 15%;
  }
/*----------FROMATE-------------*/

@media only screen and (max-width: 960px){
  .wrapper{
    width: 80%;
  }

  img.Inhaber{
    width:30%;
  }
  
  .wrapperF{
    width:80%;
  }

  ul.nav li#rechts{
    margin-left: 13%;
  }
}

@media only screen and (max-width: 768px){
  .wrapper{
    width: 85%;
  }

  .overlay{
    display: none;
  }

  .wrapperF{
    width:90%;
  }

  .sliderControls{
    margin-top: -2%;
  }

  .sliderControls label{
    width: 15px;
    height:15px;
    font-size: 0%;
  }

  img.Inhaber{
    width:35%;
  }

  ul.nav li#rechts{
    margin-left: 8%;
  }
}

@media only screen and (max-width: 670px){
  .wrapper{
    width: 90%;
  }

  .sliderControls{
    margin-top: -2%;
  }

  .sliderControls label{
    width: 10px;
    height:10px;
    font-size: 0%;
  }

  .row > .column{ 
    margin-left: 0;
  }

  .column{
    width:100%;
    margin-top: 3%;
    margin-left: 0;
  }

  .content{
    width:70%;
    margin-left: 15%;
  }

  ul.nav li#rechts{
    margin-left: 5%;
  }
}

@media only screen and (max-width: 600px){
  .wrapper{
    width: 100%;
  }


  ul.nav{
    display: none;
  }

  #spacer{
    display: none;
  }

  div.cssSlider{
    display: none;
  }

  img.Inhaber{
    width:40%;
  }

  h1{
    float: left;
    margin-bottom: 10%;
  }

  .container {
    display: inline-block;
    cursor: pointer;
    margin-top: 8%;
  }

  .bar1, .bar2, .bar3 {
      width: 35px;
      height: 5px;
      background-color: #333;
      margin: 6px 0;
      transition: 0.4s;
  }

  .footer a{
    font-size: 0.2em;
  }

  #overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 2;
    cursor: pointer;
}

#text{
    position: absolute;
    top: 50%;
    left: 50%;
    color: white;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
}

ul.navO{
  text-align: left;
}

ul.navO li{
  font-size: 2em;
}

ul.navO li a{
  font-family: 'Syncopate', sans-serif;
  color: white;
  text-decoration: none;
}

ul.navO > li
{
  color: rgb(255, 255, 255);
}

button{
  text-decoration: none;
  background-color: white;
  border: none;
}
}

@media only screen and (max-width: 400px){
  .wrapper{
    width: 100%;
  }

  img.Inhaber{
    width:60%;
    margin-bottom: 3%;
  }

  p#über{
    text-align: left;
  }

  h1{
    font-size: 4.5em; 
  }

  div#h1{
    margin-left:4%;
  }

  h2{
    font-size: 1.3em;
    padding-bottom: -1%;
    margin-bottom: 8%;
  }

  ul.navO li{
    font-size: 1.6em;
  }
}