/*		nav		*/

.burgerButton {
	width: 50px;
	height: 50px;
	position: fixed;
	bottom: auto;
	top: 1.4em;
	right: 1.4em;
	padding: 10px;
	background-color: white;
	z-index: 14;
	cursor:pointer;
}

.burgerButton.open {
	background-color: transparent;
}

.burgerButton>span {
	background-color: var(--col-1);
	display:block;
	width: 100%;
	height: 3px;
	position: absolute;
	width: 60%;
	margin: 15px 20% 0 20%;
	opacity: 1;
	left: 0;
	transform: rotate(0deg);
	transition: .25s ease-in-out;
}

.burgerButton span:nth-child(1) {
	top: 0px;
}

.burgerButton span:nth-child(2),
.burgerButton span:nth-child(3) {
	top: 9px;
}

.burgerButton span:nth-child(4) {
	top: 18px;
}

.burgerButton.open span {
	background-color: white;
}

.burgerButton.open span:nth-child(1) {
	top: 9px;
	width: 0%;
	left: 50%;
	opacity: 0;
}

.burgerButton.open span:nth-child(2) {
	transform: rotate(45deg);
	width: 70%;
	left: -5%;
}

.burgerButton.open span:nth-child(3) {
	transform: rotate(-45deg);
	width: 70%;
	left: -5%;
}

.burgerButton.open span:nth-child(4) {
	top: 9px;
	width: 0%;
	left: 50%;
	opacity: 0;
}


.mobileNav {
	position: fixed;
	bottom: 0;
	z-index: 12;
	background-color: var(--col-1);
	color: white;
	font-size: 1.8em;
	line-height: 1.7;
	text-align: center;
	overflow-y: auto;
	padding: 10vh 0;
	height: 100vh;
	transition: transform 0.2s ease;
	width: 100vw;
	right: 0;
	left: auto;
	top: 0;
	transform: translate(100vw, 0);
}

.mobileNav.open {
	transform: translate(0,0);
}

.mobileNav.open>ul {
	width: 100%;
	margin-bottom: 0;
	position: absolute;
	top: 50%;
	height: auto;
	transform: translate(0,-50%);
}
	
.mobileNav a {
	color: inherit;
}

.mobileNav li .note {
	display:none;
}




/*	 gridnav		*/

.gridNav {
	position: relative;
	margin-bottom: 5em;
}

.gridNav ul {
	margin: 0;
	display:flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-between;
	gap: 5vw;
}

.gridNav li {
	flex-basis: calc(50% - 2.6vw);
	background-color: #8dc977;
	color: var(--col-1);
	aspect-ratio: 1/1;
}


.gridNav li a {
	display:block;
	position: relative;
	width: 100%;
	height: 100%;
	color: inherit;
	padding: 0.8rem;
}

.gridNav li a .title {
	display:block;
	font-size: 1.6em;
	line-height: 1.1;
	margin-bottom: 0.3em;
	margin-left: -0.04em;
}

.gridNav .note {
	display:block;
	font-size: 0.9rem;
	line-height: 1.1;
}


/* tablet & desktop */
@media screen and (min-width: 650px) {
	
	.burgerButton {
		top: 2em;
		right: 2em;
	}
	
	.mobileNav {
		width: 400px;
		transform: translate(400px, 0);
	}

	
	/*	 gridnav		*/
	.gridNav {
		margin: 0;
	}
	
	.gridNav li a .title {
		font-size: 1.4rem;
	}

	
}

/*   desktop   */
@media screen and (min-width: 900px) {
		
	.gridNav ul {
		justify-content: flex-start;
		gap: 1.5rem;
	}

	.gridNav li {
		flex-basis: calc(25% - 1.2rem);
	}
	
	.gridNav li .note {
		font-size: 1.15rem;
	}
	
}

/*   desktop++   */
@media screen and (min-width: 1100px) {
		
	.gridNav ul {
		gap: 2.4rem;
	}
	
	.gridNav li {
		flex-basis: calc(25% - 1.9rem);
	}
	
	.gridNav li a .title {
		font-size: 1.75rem;
	}
	
}