*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body{
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	background: linear-gradient(45deg,#8460ed,#ff1252);
}
.menu{
	position: relative;
	width: 200px;
	height: 200px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.menu li{
	position: absolute;
	list-style: none;
	left: 0;
	transform-origin: 100px;
	transition: .5s;
	transition-delay: calc(0.1s * var(--i));
	transform: rotate(0deg) translateX(80px);
}
.menu.active li{
	transform: rotate(calc(360deg / 8 * var(--i)));
}
.toggle{
	position: absolute;
	width: 60px;
	height: 60px;
	background: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 10000;
	border-radius: 50%;
	cursor: pointer;
	box-shadow: 0 0 4px rgba(0,0,0,0.15);
	font-size: 2em;
	transition: transform 1.25s;
}
.menu.active .toggle{
	transform: rotate(315deg);
}
.menu li a:hover{
	color: red;
}
.menu li a{
	background: #fff;
	box-shadow: 0 0 4px rgba(0,0,0,0.15);
	width: 40px;
	color: #111;
	transition: .5s;
	height: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	transform: rotate(calc(360deg / -8 * var(--i)));
}