#menu-toggle-checkbox {
	display: none;
}
#menu-toggle-checkbox:checked ~ .menu-layout {
	visibility: visible;
	right: 0;
}


/* menu button */
.menu-button {
	display: block;
	width: 35px;
	height: 15px;
	position: relative;
	cursor: pointer;
}

.menu-button > span,
.menu-button > span::before,
.menu-button > span::after {
	display: block;
	position: absolute;
	width: 100%;
	top: 7px;
	height: 3px;
	background-color: var(--primary-color);
}
.menu-button > span::before {
	content: '';
	top: -6px;
}
.menu-button > span::after {
	content: '';
	top: 6px;
}
.menu-button.__close > span {
	background-color: inherit;
}
.menu-button.__close > span::before {
	top: 0;
	transform: rotate(20deg);
}
.menu-button.__close > span::after {
	top: 0;
	transform: rotate(-20deg);
}

  
.menu-layout {
	position: fixed;
	visibility: hidden;
	top: 0;
	right: -120%;
	width: 100vw;
	height: 100vh;
	transition-duration: .2s;
	z-index: 10;
	background-color: white;
}

.__mobile-nav {
	display: flex;
	flex-direction: column;

	padding: 9px 24px;
	gap: 15px;
	height: 100%;
	box-sizing: border-box;
	position: relative;
}
.__mobile-nav .background-wrapper {
	z-index: -1;
}

.__mobile-nav > .mobile-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	
}