body {
  display: flex;
  min-height: 100vh;
  background: linear-gradient(to top, red, blue, green);
  padding: 10px;
}
.navigation {
  position: relative;
  width: 70px;
  height: 70px;
  background: #171b21;
  border-radius: 15px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s;
  transition-delay: 0.8s;
}
.navigation.active {
  width: 200px;
  height: 200px;
  transition-delay: 0s;
  border-radius: 15px;
}
.navigation span {
  position: absolute;
  width: 7px;
  height: 7px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 50%;
  transform: translate(calc(12px * var(--x)), calc(12px * var(--y)));
  transition: transform 0.3s, width 0.3s, height 0.3s, background 0.3s;
  transition-delay: calc(0.1s * var(--i));
}
.navigation.active span {
  width: 45px;
  height: 45px;
  background: #333849;
  transform: translate(calc(60px * var(--x)), calc(60px * var(--y)));
}
.navigation span ion-icon {
  transition: 0.5s;
  font-size: 0em;
}
.navigation.active span ion-icon {
  font-size: 1.35em;
  color: #fff;
}
.navigation.active span:hover ion-icon {
  color: red;
  filter: drop-shadow(0 0 2px red) drop-shadow(0 0 5px red)
    drop-shadow(0 0 15px red);
}

.container {
  align-self: top left;
}

.main title {
  align-self: center;
}

