.sidebar {
  background-color: #0018F9;
  width: 6rem;
  height: 100vh;
  line-height: 0;
  height: 100%;
}

.sidebar-element,
.sidebar-items {
  position: relative;
}

.sidebar-items-container {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 100px;
}

.sidebar-element:hover > .sidebar-items-container,
.sidebar-item:hover > .sidebar-items-container {
  display: block;
}