* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  width: 100%;
  height: 100vh;
  background-color: #10131c;
  display: flex;
  justify-content: center;
  align-items: center;
}
.navigation {
  position: relative;
  background-color: #212532;
  width: 70px;
  height: 70px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s linear;
  cursor: pointer;
  transition-delay: calc(0.03s * 8);
}
.navigation.active {
  width: 200px;
  height: 200px;
  transition-delay: 0s;
}
.navigation.active span {
  width: 45px;
  height: 45px;
  background-color: #333849;
  transform: translate(calc(60px * var(--x)), calc(60px * var(--y)));
}
.navigation.active span ion-icon {
  font-size: 2rem;
}
.navigation span {
  position: absolute;
  width: 7px;
  height: 7px;
  background-color: #fff;
  border-radius: 50%;
  transform: translate(calc(12px * var(--x)), calc(12px * var(--y)));
  display: flex;
  justify-content: center;
  align-items: center;
  transition: width 0.5s, height 0.5s, transform 0.5s, background-color 0.5s;
  transition-delay: calc(0.04s * var(--i));
}
.navigation span ion-icon {
  font-size: 0 rem;
  color: #fff;
  transition: font-size 0.5s;
}
