*
{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body 
{
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	background: #161a23;
}
.main 
{
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 170px;
	height: 170px;
}
.main .navigation 
{
	position: relative;
	width: 40px;
	height: 40px;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: 0.5s;
}
.main .navigation span 
{
	position: absolute;
	width: 7px;
	height: 7px;
	background: #fff;
	transform: translate(calc(14px * var(--x)),calc(14px * var(--y)));
	transition: transform 0.5s, width 0.5s,height 0.5s, background 0.5s;
	transition-delay: calc(0.1s * var(--i));
	display: flex;
	justify-content: center;
	align-items: center;
}
.main .navigation.active span
{
	width: 45px;
	height: 45px;
	background: #1f2536;
	transform: translate(calc(60px * var(--x)),calc(60px * var(--y)));
}

.main .navigation span ion-icon 
{
	transition: 0.5s;
	font-size: 0em;
	color: #fff;
}
.main .navigation.active span ion-icon  
{
	font-size: 1.35em;
}
.main .navigation.active span:hover ion-icon 
{
	color: #2dfc52;
	filter: drop-shadow(0 0 2px #2dfc52) drop-shadow(0 0 5px #2dfc52) drop-shadow(0 0 15px #2dfc52);
}
.close
{
	position: absolute;
	width: 7px;
	height: 7px;
	background: #fff;
	transition: 0.5s;
	transition-delay: 0.4s;
	pointer-events: none;
	display: flex;
	justify-content: center;
	align-items: center;
}

.main .navigation.active ~ .close
{
	width: 40px;
	height: 40px;
	pointer-events: initial;
	transition-delay: 0.8s;
	background: #2dfc52;
}
.main .navigation ~ .close ion-icon
 {
	font-size: 2em;
	scale: 0;
	color: #10131c;
	transition: 0.5s;
}
.main .navigation.active ~ .close ion-icon
{
	scale: 1;
	transition-delay: 1s;
}