
/*
 * Made by Erik Terwan
 * 24th of November 2015
 * MIT License
 *
 *
 * If you are thinking of using this in
 * production code, beware of the browser
 * prefixes.
 */

 html,
 body
 {
   margin: 0;
   padding: 0;
   height: 100%;
   
   /* make it look decent enough */
   background: rgb(69, 8, 69);
   color: rgb(235, 232, 235);
   font-family: "Avenir Next", "Avenir", sans-serif;
 }

 #wrapper,
 #header,
.logo,
 #content
{
  max-width: 2200px;  
  width: 100%;
}

#wrapper
{
  display: block;
  position: relative;
   
   margin: 0 auto; 
   height: 100%;

}


 #header
 {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  background-color: rgb(160, 55, 160);
    border-bottom: white 3px solid;
    z-index: 1;
  }

 .logo{
    
    text-align: right;
      width: 100%;

    color: blue;
    border: solid 4px yellow;
 }

 #nav
 {
  border:solid 4px  red;
  width: 100%;
 }
 

 #content
 {
  display: block;
  position: relative;
  top: 7.25rem;
  width:2200px; 
  margin:0 auto;   
  height: 100%;
  background-color: rgb(237, 123, 237);
  padding: 1.5rem;
  font-size: 1.5rem;
}

.checkbox-label
{
    font-size: 2px;
    visibility: hidden;
    
}


/*
 * Made by Erik Terwan
 * 24th of November 2015
 * MIT License
 *
 *
 * If you are thinking of using this in
 * production code, beware of the browser
 * prefixes.
 */
 
 #menuToggle
 {
   display: block;
   position: relative;
   top: -3rem;
   left: 1rem;
   z-index: 1;   
   -webkit-user-select: none;
   user-select: none;
 }
 
 #menuToggle a
 {
   text-decoration: none;
   color: rgb(234, 180, 234);
   transition: color 0.3s ease;
   font-size: 1rem;
   font-weight: bold;
 }
 
  
 #menuToggle a:hover
 {

   color: rgb(116, 6, 116);
  }
 
  li:hover,
  li:focus-within {
      background: yello;
      cursor: pointer;
      background-color: rgb(87, 15, 87);
  }

 #menuToggle input
 {
   display: block;
   width: 40px;
   height: 32px;
   position: absolute;
   top: -1.5rem;
   left: -5px;
   cursor: pointer;
   opacity: .0; /* hide this */
   z-index: 2; /* and place it over the hamburger */
   -webkit-touch-callout: none;
 }
 
 /*
  * Just a quick hamburger
  */
 #menuToggle span
 {
  display: block;
  position: relative;
  top: -2.25rem;
  left: .35rem;
  width: 33px;
   height: 4px;
   margin-bottom: 5px;
   background: rgb(240, 160, 240);
   border-radius: 3px;
   z-index: 1;
   transform-origin: 4px 0px;
  
   transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
               background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
               opacity 0.55s ease;
 }
 
 #menuToggle span:first-child
 {
   transform-origin: 0% 0%;
 }
 
 #menuToggle span:nth-last-child(2)
 {
   transform-origin: 0% 100%;
 }
 
 /* 
  * Transform all the slices of hamburger
  * into a crossmark.
  */
 #menuToggle input:checked ~ span
 {
   opacity: 1;
   transform: rotate(45deg) translate(-2px, -1px);
   background: #f80404;
 }
 
 /*
  * But let's hide the middle one.
  */
 #menuToggle input:checked ~ span:nth-last-child(3)
 {
   opacity: 0;
   transform: rotate(0deg) scale(0.2, 0.2);
 }
 
 /*
  * Ohyeah and the last one should go the other direction
  */
 #menuToggle input:checked ~ span:nth-last-child(2)
 {
   transform: rotate(-45deg) translate(0, -1px);
 }
 
 /*
  * Make this absolute positioned
  * at the top left of the screen
  */

  #menu
  {

   position: absolute;
   max-width: 300px;
   margin: -100px 0 0 -50px;
   padding: 5.5rem;
   padding-top: 3.5rem;
   background: rgb(127, 31, 127);
   list-style-type: none;
   -webkit-font-smoothing: antialiased;
   /* to stop flickering of text in safari */
   
   transform-origin: 0% 0%;
   transform: translate(-100%, 0);
   
   transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
 }

 #menuToggle input:not(:checked) ~ #menu
 {
  display: none; 
  visibility: none;
   opacity: 0;
 }


 
 #dropdown-small
  {    
    list-style-type: none;
  }

 #menu li
 {
   padding: 10px 0;
   font-size: 22px;
 }
 
 /*
  * And let's slide it in from the left
  */
 #menuToggle input:checked ~ ul
 {
   transform: none;
 }

 #menu-full,
 #nav-full
 {
  display: none;
 }

 @media (min-width: 700px) 
 {
  
 
  #menuToggle
  {
     display: none;
  }

  .logo
  {
    text-align: left;
    color: white;
  } 
  
#nav-full
{
  display: flex;
  position:  absolute;
  top: 4rem;
}

  #menu-full {
    display: block;  
      position: inherit;
      
     flex-direction: column; 
     font-family: monospace;
      z-index: 10;
    }

    ul {
    float: right;   
    clear: right;
    list-style: none;
      margin: 0;      
  }
  
  #dropdown-full a:hover
  {    
    background-color: rgb(164, 64, 164);
  }


   #dropdown-full  li a{    
    display:  block;
    text-align: center;
    min-width: 9rem;   
    background-color: rgb(139, 54, 139);
    z-index: 2;
}

  li {   
    float: left;
    background-color: rgb(114, 51, 114);
    }

  li a {
    color: #e5e1e1;
    font-size: 1.5rem;
    text-align: center;
    padding-left: 1rem;
    padding-right: 1em;
  }
  
  li:hover,
  li:focus-within {
      background: yello;
      cursor: pointer;
      background-color: rgb(87, 15, 87);
  }
  
  li:focus-within a {
    outline: none;
  }


  ul li ul {
    display: inline-block;
    text-align: center;
    visibility: hidden;
    opacity: 0;
    text-align: center;
      padding-left: .25rem;
      padding-right: .25rem;
      position: absolute;
      transition: all 0.5s ease;
      display: none;
  }
  
  ul li:hover > ul,
  ul li:focus-within > ul,
  ul li ul:hover,
  ul li ul:focus {
     visibility: visible;
     opacity: 1;
     display: block;     
  }
  
  ul li ul li {
      clear: both;
  }


  }