#lgBox {
  display: block;
  position: absolute;
  text-transform: uppercase;
  top: 60px;
  right: 20px;
  z-index: 1000;
  font-size: calc(16px + 0.1vw);
  line-height: calc(16px + 0.1vw);
  font-family: 'Spartan', sans-serif;
  font-weight: 700;
}
#lgBox a {
  display: inline-block;
  color: #000;
  text-decoration: none; 
  font-weight: 400;
  transition: all 0.25s ease-in-out;
}
#lgBox a:hover {
  font-weight: 700;
}


#menuToggle input,
#menuToggle span {
  display: none;
  z-index: 1000;
}
#menu {
  width: 100%;
  height: 48px;
  text-align: center;
  list-style: none;
  top: 0;
  left: 0;
  margin-top: -100vh;
  z-index: 1000;
  border-top: 1px #707070 solid;
  border-bottom: 1px #707070 solid;
  background-color: #fbf5e5;
}
#menu li {
  text-align: center;
  height: fit-content;
}
#menu li a {
  color: #000;
  text-decoration: none;
  padding: 1vw 1.5vw;
  transition: ease 1s;
  font-size: 0.7vw;
  font-weight: 500;
}
#menu li:hover > a,
#btnParcel.ONN > a,
#menu li.ON > a {
  color: #fbf5e5;
  /* transition: all ease 0.5s; */
  font-weight: 500;
  background-color: #000;
}

#btnParcel {
  padding-top: 2px;
  padding-bottom: 2px;
  margin-top: auto;
}

#btnParcel #subMenuParcel {
  display: none;
  margin-top: 1px;
}
#btnParcel:hover #subMenuParcel {
  display: flex;
  flex-flow: column wrap;
  width: auto;
}



#subMenuParcel {
  position: relative;
  width: inherit;
  list-style: none;
  border: #000 1px solid;
  border-top: none;
  margin: 2px 0 0 0;
  padding: 0;
  overflow: hidden;
  /* height: 0; */
  /* display: none; */
/* opacity: 0;
  transition: opacity 0.25s ease-in-out; */
  background-color: red solid;
}
#subMenuParcel li {
  width: 100%;
  background-color: #fbf5e5;
}
#subMenuParcel li:first-child {
  padding-top: 0;
}
#subMenuParcel li a {
  color: #fbf5e5;
  width: 100%;
  
}
#subMenuParcel li.ON a,
#subMenuParcel li a:hover {
 background-color: #000;
 color: #fbf5e5;
  
}





/* ? NAV / MENU BURGER */

@media (max-width: 767px) {
  #menu {
    margin-top: -113vh;
  }
}

@media (max-width: 1023px) {
  #Page {
    max-width: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
  }

  
  #lgBox {
    top: 58px;
    right: 2.5vw;
  }
 
  
  #menuToggle {
    display: block;
    position: absolute;
    top: 60px;
    left: 3vw;
    z-index: 1000;
    -webkit-user-select: none;
    user-select: none;
    /* max-width: 100%; */
    /* overflow-x: hidden; */
    width: 40px;
    z-index: 1000;
  }

  #menuToggle a {
    text-decoration: none;
    color: #232323;
    transition: color 0.3s ease;
  }

  #menuToggle a:hover {
    color: #000;
  }

  #menuToggle input {
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    left: -5px;
    cursor: pointer;
    opacity: 0; /* hide this */
    z-index: 2; /* and place it over the hamburger */
    -webkit-touch-callout: none;
    z-index: 1002;
  }

  /*
    * Just a quick hamburger
    */
  #menuToggle span {
    display: block;
    z-index: 1000;
    width: 35px;
    height: 2px;
    margin-bottom: 8px;
    position: relative;
    background: #000;
    /* border-radius: 3px; */
    transform-origin: 4px 0px;
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
      background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
  }
  #menuToggle span:hover {
    color: #fff;
  }

  #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: #fff;
    z-index: 1001;
  }

  /*
    * 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: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    background: #000;
    transform: translate(0, -100vh);
    transition: transform 0.5s ease-in-out;
    padding: 0;
    margin: 0;
  }
  #menu > li {
    padding: 10px 0;
    font-size: 22px;
    width: 100%;
    grid-gap: 0;
    margin: 2vw 0;
  }
  #menu li a {
    font-size: 1.5rem;
    color: #fff;
  }

  #subMenuParcel {
    position: relative;
    padding-top: 2%;
    display: flex;
  }
  #btnParcel #subMenuParcel {
    display: flex;
    flex-flow: column wrap;
}


    #subMenuParcel li,
    #subMenuParcel li a {
    background-color: transparent;
    color: #fbf5e5;
    font-size: calc(16px + 0.75vw);
    line-height: calc(16px + 1vw);
    margin: 1vw 0;
  }


  #menuToggle input:checked ~ ul {
    transform: none;
    margin-top: 0;
    transition: all 0.5s ease-in-out;
  }
  #menu .icon-logo_champagne-plm {
    font-size: 8rem;
    color: #666;
    margin-left: 50%;
    line-height: 8rem;
    text-indent: -9999px;
    display: contents;
    background: transparent url(/img/logo_champagne_paul-louis-martin.svg);
  }
}




@media (min-width: 1024px) {
  #menuToggle {
    position: relative;
  }
  #menuToggle input,
  #menuToggle span {
    display: none;
  }
  #menu {
    width: 100%;
    text-align: center;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 32px 0 0 0;
    padding: 0;
    height: 48px;
    bottom: 0;
    position: absolute;
    z-index: 1000;
  }
  #menu li {
    text-align: center;
    flex-direction: column;
    width: 25%;
  }
  #menu li a {
    color: #000;
    height: 100%;
    text-decoration: none;
    padding: 12px 15px 13px 15px;
    transition: all 0.25s ease-in-out;
    font-size: calc(16px + 0.1vw);
    line-height: calc(16px + 0.1vw);
    font-weight: 500;
    margin: 0 1px;
    display: block;
  }

  #menu .icon-logo_plm {
    display: none;
  }
  #subMenuParcel li {
    width: 100%;
    padding: 1px 2px;
  }
  #subMenuParcel li a {
    margin: 0;
  }
}
