/* Navigation Menu - Background */
.navigation {
  /* critical sizing and position styles */
  width: 98%;
  height: 100%;
  position:fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  
  /* non-critical appearance styles */
  list-style: none;
  background: #d9edf7;
 
}

/* Navigation Menu - List items */
.nav-item {
  /* non-critical appearance styles */
 
 width: 200px;
  border-top: 1px solid #d9edf7;
  border-bottom: 1px solid #d9edf7;
}

.nav-item a {
  /* non-critical appearance styles */
  display:block;
  padding: 1em;
  /*background: linear-gradient(135deg, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);*/
  background: #d9edf7;
  color:#000000;
  font-size: 1em;
  text-decoration:none;
  transition: color 0.2s, background 0.5s;
}

.nav-item a:hover {
  color: #c74438;
  background: linear-gradient(135deg, rgba(0,0,0,0) 0%,rgba(0,20,20,0.35) 100%);
}

/* Site Wrapper - Everything that isn't navigation */
.site-wrap {
  /* Critical position and size styles */
  min-height: 98%;
  min-width: 98%;
  background-color: white; 
  position: relative;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  
 
  padding: 4em  ;
  /*background-image: linear-gradient(135deg, rgb(254,255,255) 0%,rgb(221,241,249) 35%,rgb(160,216,239) 100%);*/
  background-size: 98%;
}

/* Nav Trigger */
.nav-trigger {
  /* critical styles - hide the checkbox input */
  position: absolute;
  clip: rect(10, 10, 10, 10);
  
 
  
 
}


label[for="nav-trigger"] {
  /* critical positioning styles */
  position: fixed;
  left: 15px; top: 3px;
  z-index: 2;
  
  
  /* non-critical apperance styles */
  height: 40px;
  width: 40px;
  cursor: pointer;
  text-align:justify;
  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;
  /*background-image:url(images/arrow-pointing-to-the-left.png);]]]]]]]]]*/
  
  
}

/* Make the Magic Happen */
.nav-trigger + label, .site-wrap {
transition: left 0.2s;

}

.nav-trigger:checked + label {
  left: 215px;
}

.nav-trigger:checked ~ .site-wrap {
  left: 200px;
  box-shadow: 0 0 5px 5px rgba(0,0,0,0.5);
}

body {
	/* Without this, the body has excess horizontal scroll when the menu is open */
  overflow-x: hidden;
}

/* Additional non-critical styles */

h1, h3, p {
  max-width: 600px;
  margin: 0 auto 1em;
}

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: 99%; width: 99%;}
