.menu-item {
  height: 45px;
  display: flex;
  cursor: pointer;
  border-radius: 5px;
  margin: 5px 0px;
  color: #afb2ba;

  &:hover, &.matched {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
  }

  &.open > div:nth-of-type(4) > i {
    transform: rotateZ(-180deg);
  }

  & > div:nth-of-type(1) {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-basis: 45px;
  }

  & > div:nth-of-type(2) {
    display: flex;
    align-items: center;
    flex: 1;
  }

  & > div:nth-of-type(3) {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-basis: 30px;
  }

  & > div:nth-of-type(4) {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-basis: 30px;

    & > i {
      transition-duration: 0.5s;
    }
  }
}

.sub-menu {
  overflow: hidden;
  transition-duration: 0.5s;
}
