@charset "utf-8";

@media (max-width: 850px) {

/* Navigation Menu - Background */
.naCoUl1 {
  /* critical sizing and position styles */
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  
  /* non-critical appearance styles */
  list-style: none;
}

/* Navigation Menu - List items */
.nav-item {
  /* non-critical appearance styles */
  width: 39%; /* Einstellen der Menübreite gesamt */
  border: solid;
  border-width: 1px;
  border-color: orange;
  border-radius: 0px;
  padding: 1.5% 0% 1.5% 2%;
  margin: 1% 0% 0% 2.0%;
  background: lightgrey;
}

.nav-item a {
  /* non-critical appearance styles */
  display: block;
  padding: 1%;
  color: rgba(55,55,55,1.00);
  font-size: 3.5vw; /* Einstellen der Schriftzgröße */
  text-decoration: none;
  transition: color 0.2s, background 0.5s;
}

.nav-item a:hover {
  color: #dfa65c;
}

/* Site Wrapper - Everything that isn't navigation */
.site-wrap {
  /* Critical position and size styles */
  min-height: 100%;
  min-width: 100%;
  background-color: white; /* Needs a background or else the nav will show through */
  position: relative;
  top: 0;
  bottom: 100%;
  left: 0;
  z-index: 1;
  
  /* non-critical apperance styles */
  padding: 0em;
  background-size: 200%;
}

/* Nav Trigger */
.naTr {
  /* critical styles - hide the checkbox input */
  visibility: hidden;
  position: absolute;
  clip: rect(0, 0, 0, 0);
}

label[for="nav-trigger"] {
  /* critical positioning styles */
  visibility: hidden;
  position: fixed;
  left: 10px; top: 10px;
  z-index: 2;
  
  /* non-critical apperance styles */
  height: 30px;
  width: 30px;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' x='0px' y='0px' width='30px' height='30px' viewBox='0 0 30 30' enable-background='new 0 0 30 30' xml:space='preserve'><rect width='30' height='6'/><rect y='24' width='30' height='6'/><rect y='12' width='30' height='6'/></svg>");
  background-size: contain;
}

/* Make the Magic Happen */
.naTr + label, .site-wrap {
  transition: left 0.5s;
}

.naTr:checked + label {
  left: 33%;
}

.naTr:checked ~ .site-wrap {
  left: 33%;
}

body {
    /* Without this, the body has excess horizontal scroll when the menu is open */
  overflow-x: hidden;
}

code {
    padding: 2px;
    background: #ddd;
}

/* Micro reset */
*,*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;}
html, body { height: 100%; width: 100%; font-family: Helvetica, Arial, sans-serif; }

}

/* Small Tablets */
@media (min-width: 401px)and (max-width: 850px) {

  /* Navigation Menu - List items */
  .nav-item {
	/* non-critical appearance styles */
	width: 23%;
	padding: 0.8% 0% 1.2% 0%;
	margin: 0.6% 0% 0% 1.5%;
  }

  .nav-item a {
	/* non-critical appearance styles */
	display: block;
	padding: 0% 0% 0% 4%;
	color: black;
	font-size: 2.2vw;
  }
	
  .naTr:checked + label {
	left: 25%;
  }

  .naTr:checked ~ .site-wrap {
	left: 25%;
  }

}