#lateral-panel {
  z-index: 9999;
  position: fixed;
  top: 80px;
  left: 0px;
  width: 20em;
  min-height: 85vh;
  transform: translateX(-100%);
  
  
  
}
#lateral-panel-input {
  position: absolute;
  left: -999em;
}
#lateral-panel-bloc {
  z-index: 0;
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  border-right: 1px solid #CCC;
  background: #000;
  transition: transform .5s;
}
#lateral-panel-label {
  z-index: 1;
  position: absolute;
  top: .5em;
  left: 100%;
  width: 3em;
  height: 5em;
  border: 1px solid #CCC;
  border-width: 1px 1px 1px 0;
  border-radius: 0 .5em .5em 0;
  font-size: inherit;
  background: #FFF;
  transition: all .5s;
  cursor: pointer;
}
#lateral-panel-content {
  padding: .5em;
  overflow: auto;
  max-height: 100%;
  box-sizing: border-box;
  background: #000;
  
}
/*-- déplacement du bloc --*/
#lateral-panel-input:checked ~ #lateral-panel-bloc {
  transform: translateX(100%);
  background: #000;
}
#lateral-panel-label:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  box-sizing: border-box;
  width: 1em;
  height: 1em;
  border: .5em solid currentColor;
  border-width: .5em .5em 0 0;
  color: #888;
  transition: all .5s;
  transform: translate(-50%, -50%) rotate(45deg);
  
}
/*-- rotation de la languette --*/
#lateral-panel-input:checked ~ #lateral-panel-bloc #lateral-panel-label:before {
  transform: translate(-50%, -50%) rotate(-135deg);
}