*
{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body
{ 

	display: flex;

	min-height: 100vh;
	position: relative;
	width: 100%;
	height: 100vh;
	background: url(01.jpg);
	background-size: cover;
	background-attachment: fixed;
}

.menu
{
	position: absolute;
	width: 200px;
	height: 200px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.menu li
{
	position: absolute;
	left: 0;
	list-style: none;
	transform-origin: 100px;
	transition: 1s;
	transition-delay: calc(0.1s * var(--i));
	transform: rotate(0deg) translate(80px);
}

.menu.active li
{
	transform: rotate(calc(360deg / 8 * var(--i)));	
}
.menu li a
{
	display: flex;
	justify-content: center;
	align-items: center;
	background: white;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	transform: rotate(calc(360deg / -8 * var(--i)));		
	box-shadow: 0 3px 4px rgba(0,0,0,1);
	color: #111;
	transition: 1s;
}
.menu li a:hover
{
	color: gold;
	background: black;
}
.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 3px 4px rgba(0,0,0,1);
	font-size: 2em;
	transition: transform 2s;
}
.menu.active .toggle
{
	transform: rotate(315deg);
	
}


section .wave
{
	position: absolute;
	width: 100%;
	height: 143px;
	bottom: 0;
	left: 0;
	opacity: 0.8;
	background: url(wave.png);
	animation: animate 10s linear infinite;
}
section .wave:after
{
	content: '';
	width: 100%;
	height: 143px;
	background: url(wave.png);
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0.6;
	animation-delay: -5s;
	animation: animate 20s linear infinite;
}

section .wave:before
{
	content: '';
	width: 100%;
	height: 143px;
	background: url(wave.png);
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0.4;

	animation: animate-reverse 10s linear infinite;
}



@keyframes animate
{
	0%
	{
			background-position: 0;
	}
	100%
	{
			background-position: 1360px;
	}
}
@keyframes animate-reverse
{
	0%
	{
			background-position: 1360px;
	}
	100%
	{
			background-position: 0;
	}
}

