#menuHamburger a {
    background: none;
    text-decoration:none;
    transition: color 0.2s ease;
    color: var(--myWhite);
  }

.menuDark a {
  color: var(--myBlack) !important;
}
  
#menuHamburger a:hover {
    /* color: var(--color-detail-1); */
  }
  
#menuHamburger {
    display: inline-block;
    position: relative;
  
    margin: 0;
    padding: 0;
    /* margin-right: 20px; */
  
    /* top: 0px;
    right: 1rem; */
  
  
    width: var(--nav-height);
    height: var(--nav-height);
  
    
    z-index: 2;
    
    /* -webkit-user-select: none;
    user-select: none; */
    /* background: cornflowerblue; */
    /* background: plum; */
  }
  
#menuHamburger input {
    margin: 0;
    padding: 0;
    /* display: block; */
    width:  100%;
    height: 100%;
    position: absolute;
    
    opacity: 0; /* hide this */
    z-index: 2; /* and place it over the hamburger */
    
    -webkit-touch-callout: none;
    cursor: pointer;
    /* background: red; */
}
  
#menuHamburger span {
    display: block;
    width: var(--nav-height);
    height: 12.5%;
    margin-bottom: 30%;
    position: relative;
    
    background: var(--myWhite);
    border-radius: 3px;  
    z-index: 1;
    
    transform-origin: 2px 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;
}

.menuDark  span {
background: var(--myBlack) !important;
}

/*
* Make this absolute positioned
* at the top left of the screen */


#menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  margin: 0;
  padding-left: 0vw;
  padding-top: 15vh;
  height: 100vh;
  
  background: var(--myDark);
  list-style-type: none;
  /* -webkit-font-smoothing: antialiased; */  
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);

        /* pointer-events: none; */
}

.menuDark #menu {
  background: var(--myGrayLight);
}

#menu li {
  padding: 15px 0;
  font-size: 1.2rem;
  text-align: center;
  position: relative;
  /* background: red; */
  /* font-family: sans-serif; */
  /* font-weight: 100; */
  /* font-size: 2em; */


    /* height: 100%; */
    /* background-color: red; */
    align-self: center;
    /* padding: 0; */
}



/*
 * And let's slide it in from the left
 */
#menuHamburger input:checked ~ #menu {
  transform: none;
 
}

/* #menushadow {
  position: fixed;
  top: 0;
  
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 0;
  background-color: rgba(0,0,0,0.8);
  visibility: hidden;

}

#menuHamburger input:checked ~ #menushadow {
  visibility: visible;
  transition: visibility 0.55s ease;
}   */
  
/* Transform HAMBURGER to CROSS*/
#menuHamburger span:first-child {
  transform-origin: 0% 0%;
}

#menuHamburger span:nth-last-child(2) {
  transform-origin: 0% 100%;
}

#menuHamburger input:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) translate(-0px, -1px) scale(1.33, 1);
  /* background: var(--color-text-1); */

}

#menuHamburger input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

#menuHamburger input:checked ~ span:nth-last-child(2) {
  transform: rotate(-45deg) translate(0, -1px) scale(1.33, 1);
}
/* Transform HAMBURGER to CROSS*/



/* // Medium devices (tablets, 768px and up) eg. 768 x 1024*/
@media (min-width: 768px) {


.menuToggle {
    display: inline;
}

#menuHamburger input, #menuHamburger span { 
  display: none;
}

#menuHamburger a {

  transition: none;
}

#menuHamburger {
  /* position: relative; */
  display: flex;
  align-items: center;

  margin: 0;
  padding: 0;
  width: auto;
  /* height: 1em;   */
  /* z-index: 1; */
  /* background: red; */    
}


#menu {
  color: var(--color-detail-2);
  position: relative;
  top: auto;
  left: auto;
  width: auto;
  margin: 0;
  padding-left: 0;
  padding-top: 0;
  height: auto;
  
  background: none;
  list-style-type: none;
  /* -webkit-font-smoothing: antialiased; */

  
  transform-origin: none;
  transform: none;  
  transition: none;


  display: flex;
  list-style: none;
  /* margin: 0;
  padding: 0; */
  /* font-size: calc(var(--nav-height));
  line-height: var(--nav-height);
  font-family: sans-serif;
  font-weight: normal; */
  /* background: chocolate; */
}

.menuDark #menu {
  background: none;
}

#menu > li {
  padding-left: 20px;
}

}