body {
  /* background-image: url('drachen.png'); */
  /*background-repeat: no-repeat;*/
  background-color: #fff8dc;
  background-size: 1000px;
  width: 100%;
  height: 100%;  
  /*background-size: 300px 100px;*/
  margin: 0;
  font-family: Arial;
}
.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #F5AAAA;
  color: black;
  text-align: center;
}

* {box-sizing: border-box}

/* Set height of body and the document to 100% */
html {
  height: 100%;
  width: 100%;
  margin: 0;
  font-family: Arial;
  font-size: 17px;
}

/* Style tab links */
.tablink {
  background-color: #E1F8F7;
  color: black;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding:3px 2px;
  font-size: 17px;
  width: 15%;
}

.tablink:hover {
  background-color: #E0ECF8;
}

/* Style the tab content (and add height:100% for full page content) */
.tabcontent {
  color: black;
  /* display: none; */
  padding: 20px 20px;
  height: 100%;
  overflow: scroll;
}
/*
#Start {background-image: url('drachen.png'); background-size: 1000px; width: 1000px; height: 1000px;}
#Buecher {background-image: url('drachen.png'); background-size: 1000px; width: 1000px; height: 1000px;}
#Kontakt {background-image: url('drachen.png'); background-size: 1000px; width: 1000px; height: 1000px;}
#About {background-image: url('drachen.png'); background-size: 1000px; width: 1000px; height: 1000px;}
*/

#menu ul {
  margin: 0;
  padding: 0;
}

#menu .main-menu {
  display: none;
}

#tm:checked + .main-menu {
  display: block;
}

#menu input[type="checkbox"], 
#menu ul span.drop-icon {
  display: none;
}

#menu li, 
#toggle-menu, 
#menu .sub-menu {
  border-style: solid;
  border-color: rgba(0, 0, 0, .05);
}

#menu li, 
#toggle-menu {
  border-width: 0 0 1px;
}

#menu .sub-menu {
  background-color: rgba(255, 255, 255, .90);
  border-width: 1px 1px 0;
  margin: 0 1em;
}

#menu .sub-menu li:last-child {
  border-width: 0;
}

#menu li, 
#toggle-menu, 
#menu a {
  position: relative;
  display: block;
  color: black; /* Schriftfarbe im Menue */
  text-shadow: 1px 1px 0 rgba(0, 0, 0, .125);
  text-decoration: none;

}

#menu, 
#toggle-menu {
  background-color: #09c;
}

#toggle-menu, 
#menu a {
  padding: 1em 1.5em;
}

#menu a {
  transition: all .125s ease-in-out;
  -webkit-transition: all .125s ease-in-out;
}

#menu a:hover {
  background-color: white;
  color: #09c;
}

#menu .sub-menu {
  display: none;
}

#menu input[type="checkbox"]:checked + .sub-menu {
  display: block;
}

#menu .sub-menu a:hover {
  color: #444;
}

#toggle-menu .drop-icon, 
#menu li label.drop-icon {
  position: absolute;
  right: 1.5em;
  top: 1.25em;
}

#menu label.drop-icon, #toggle-menu span.drop-icon {
  border-radius: 50%;
  width: 1em;
  height: 1em;
  text-align: center;
  background-color: rgba(0, 0, 0, .125);
  text-shadow: 0 0 0 transparent;
  color: rgba(255, 255, 255, .75);
}

#menu .drop-icon {
  line-height: 1;
}

/* @media only screen and (max-width: 64em) and (min-width: 52.01em) */
@media only screen and (max-width: 120em) and (min-width: 52.01em) {
  #menu li {
    /* width: 33.333%; */
    width: 33.333%;
  }

  #menu .sub-menu li {
    width: auto;
  }
  a {
      text-decoration: none;
      color: black;
  }
}

@media only screen and (min-width: 52em) {
  #menu .main-menu {
    display: block;
  }

  #toggle-menu, 
  #menu label.drop-icon {
    display: none;
  }

  #menu ul span.drop-icon {
    display: inline-block;
  }

  #menu li {
    float: left;
    border-width: 0 1px 0 0;
  }

  #menu .sub-menu li {
    float: none;
  }

  #menu .sub-menu {
    border-width: 0;
    margin: 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 12em;
    z-index: 3000;
  }

  #menu .sub-menu, 
  #menu input[type="checkbox"]:checked + .sub-menu {
    display: none;
  }

  #menu .sub-menu li {
    border-width: 0 0 1px;
  }

  #menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
  }

  #menu li:hover > input[type="checkbox"] + .sub-menu {
    display: block;
  }

  a {
      text-decoration: none;
      color: black;
  }
}

/* Animation */

body {
    /* background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab); */
    background: linear-gradient(-45deg, #fff8dc, #fff8eb, #ffe2cc, #fff6e5);
    background-size: 175% 175%;
    animation: gradient 15s ease infinite;
}


@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Bildanimation */
.flier {
    pointer-events: none;
}

.flier > * {
/* Adjust animation duration to change the element’s speed */
        animation: fly 300s linear infinite;
        pointer-events: none !important;
    top: 0;
    left: 0;
    transform: translateX(-120%) translateY(-120%) rotateZ(0);
    position: fixed;
    animation-delay: 1s;
    z-index: 999999;
}

 /* Keyframe values control where the element will begin
    and end its trajectory across the screen. Each rule
    represents a path the element follows across the screen. */


@keyframes fly {

    98.001%, 0% {
        display: block;
        transform: translateX(-200%) translateY(100vh) rotateZ(0deg)
    }

    15% {
        transform: translateX(100vw) translateY(-100%) rotateZ(0deg) /*rotateZ(180deg)*/
    }

    15.001%, 18% {
        transform: translateX(100vw) translateY(-30%) rotateZ(0deg)
    }

    40% {
        transform: translateX(-200%) translateY(3vh) rotateZ(0deg) /*rotateZ(-180deg)*/
    }

    40.001%, 43% {
        transform: translateX(-200%) translateY(-100%) rotateZ(0deg) /*rotateZ(-180deg)*/
    }

    65% {
        transform: translateX(100vw) translateY(50vh) rotateZ(0deg)
    }

    65.001%, 68% {
        transform: translateX(20vw) translateY(-200%) rotateZ(0deg) /*rotateZ(180deg)*/
    }

    95% {
        transform: translateX(10vw) translateY(100vh) rotateZ(0deg)
    }
 
}

.box-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  grid-gap: 1.5rem;
  justify-items: center;
  margin: 0;
  padding: 0;
}

.box-caption {
  position: absolute;
  max-width: 600px;
  word-break: break-word;
  font-size: 60px;
  color: Sandybrown;
}

/* Standard: Top Center */
.box-flex {
  display: flex;
  flex-flow: row nowrap;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  padding: .5rem;
  text-align: center;
  word-break: break-word;
  background-color: hsla(0, 0%, 100%, 0); /* Ramen um Bild*/
}

/* Box: Center Center */
.box-flex-center {
  align-items: center;
}

/* Kontaktformular */
.start_time{
    display: none;
    visibility: hidden;
}

.email_wdh{
    display: none;
    visibility: hidden;
}

.email{
    size: 10;
}

.mail_senden{
    background-color: #fff8eb;    
}