

.hidden {
	position: absolute;
	overflow: hidden;
	width: 0;
	height: 0;
	pointer-events: none;
}
/* Icons */
.icon {
	display: block;
	width: 1.5em;
	height: 1.5em;
	margin: 0 auto;
	fill: #ffffff;
}

.action {
	background: none;
	border: 0;
	color: #fff;
	cursor: pointer;
	padding: 0;
	background: #19964a;
	padding: 1rem;
	border-radius: 50%;
	width: 5rem;
	height: 5rem;
}

.action--menu {
	pointer-events: auto;
	position: absolute;
	top: 1rem;
	right: 1.5rem;
	z-index: 100000;
}

.menu--open .action--menu {
	pointer-events: none;
}

.action--close {
	position: absolute;
	top: 1rem;
	right: 1.5rem;
	z-index: 100000;
	opacity: 0;
	padding: 0 0.5rem;
}

.icon--menu {
	width: 4rem;
}

.icon--close {
	width: 4rem;
}

.menu {
	text-align: center;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 20000;
	display: grid;
	grid-template-columns: 100%;
	grid-template-rows: repeat(3,33.33%);
	pointer-events: none;
}

.menu--open {
	pointer-events: auto;
	background: #fff;
	z-index: 100000;
}

.menu__item {
	width: 100%;
	position: relative;
	overflow: hidden;
}

.menu__item-inner {
	overflow: hidden;
	transform: translate3d(101%,0,0);
	height: 100%;
	width: 100%;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.menu__item--1 .menu__item-inner {
	background: #000000;
}
.menu__item--2 .menu__item-inner {
	background: #19964a;
}
.menu__item--3 .menu__item-inner {
	background: #000000;
}
.menu__item--4 .menu__item-inner {
	background: #19964a;
}
.menu__item--5 .menu__item-inner {
	background: #ececec;
}

.menu__item--4, 
.menu__item--5 {
	display: none;
}

.label {
	display: none;
}

.mainmenu__item {
	opacity: 0;
}

.mainmenu__item,
.sidemenu__item {
	position: relative;
	overflow: hidden;
	transition: color 0.1s;
	margin: 0.25rem 0;
	display: block;
}

.sidemenu__item-inner {
	display: block;
	transform: translate3d(0,100%,0);
}

.menu__item-map {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: url(../assets/img/mappa.jpg) ;
	background-size: contain;
	transition: transform 0.8s cubic-bezier(0.2,1,0.8,1);
	opacity: 1;
	background-blend-mode: multiply;
	background-color: #19964a;
}

.menu__item-inner:hover .menu__item-map {
	transform: scale3d(1.1,1.1,1);
}

.menu__item-hoverlink {
	font-weight: bold;
	text-transform: capitalize;
	position: relative;
	z-index: 1000;
	display: block;
	color: #fff;
}

.menu__item-hoverlink a{
	color: #fff;
	text-decoration: underline;
}

.menu__item-hoverlink a:hover{
	color: #000;
	text-decoration: underline;
}


.quote {
	font-size: 2rem;
	padding: 1rem;
	text-align: center;
	max-width: 70%;
	color: #000000;
	font-family: "sabbath-black",serif;
}

.menu__item-link {
	text-align: left;
	align-self: flex-start;
	justify-self: start;
	font-size: 1.5rem;
	width: 100%;
	line-height: 1;
	padding: 1rem ;
	margin: 1.5rem 0 auto;
	display: flex;
	flex-direction: column;
	height: calc(100% - 1.5rem);
	text-transform: uppercase;
}

.menu__item-link::after {
	content: '\27F6';
	display: block;
	margin-top: auto;
	font-size: 0.95rem;
}

.menu__item-inner h6{
	color: #fff;
	font-size: 1vw;
}

.menu__item-inner h6 a{
	color: #fff;
}

.menu__item-inner h6 a:hover{
	color: #000;
}

@media screen and (min-width: 53em) {

	.menu {
		width: 100%;
		height: 100vh;
		overflow: hidden;
		position: fixed;
		top: 0;
		left: 0;
		grid-template-columns: 20% 30% 50%;
		grid-template-rows: 60% 40%;
		grid-template-areas: 
            "item3 item2 item1"
            "item4 item5 item1";
	}
	.menu__item {
		height: 100%;
	}
	.menu__item--1 {
		grid-area: item1;
	}
	.menu__item--2 {
		grid-area: item2;
	}
	.menu__item--3 {
		grid-area: item3;
	}
	.menu__item--4 {
		grid-area: item4;
	}
	.menu__item--5 {
		grid-area: item5;
	}
	.menu__item--4, 
	.menu__item--5 {
		display: block;
	}
	.menu__item-inner {
		align-items: center;
	}
	.label {
		display: block;
		color: #fff;
		position: absolute;
		z-index: 1000;
		font-size: 0.85vw;
		font-weight: 300;
		margin: 0;
		white-space: nowrap;
	}
	.label--topleft {
		top: 2rem;
		left: 2rem;
	}
	.label--vert,
	.label--vert-mirror {
		-webkit-writing-mode: vertical-rl;
		writing-mode: vertical-rl;
	}
	.label--vert-mirror {
		transform: rotate(180deg);
	}
	.label--bottomright {
		bottom: 2rem;
		right: 2rem;
	}
	.label::before {
		content: '------------- ';
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		letter-spacing: -1px;
		margin: 0 0.75rem 0 0;
	}
	.label--vert::before,
	.label--vert-mirror::before {
		margin: 0.75rem 0;
	}
	.mainmenu,
	.sidemenu {
		width: 100%;
		height: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	.mainmenu {
		counter-reset: menuitem;
	}
	.mainmenu__item {
		font-size: 2vw;
		overflow: visible;
		position: relative;
		transition: color 0.3s;
		color: #fff;
		
		line-height: 1;
		margin-bottom: 1em;
	}
	.mainmenu__item:hover {
		color: #19964a;
	}
	.mainmenu__item::before {
		counter-increment: menuitem;
		content: counters(menuitem, "", decimal-leading-zero);
		position: absolute;
	    font-size: .66vw;	
		bottom: .5em;
		top: auto;
	    left: -2.5rem;
		color: #fff;
		font-weight: 300;
	}
	.mainmenu__item::after {
		
		width: 100%;
		top: 58%;
		height: 6px;
		background: #000000;
		position: absolute;
		left: 0;
		opacity: 0;
		transform: scale3d(0,1,1);
		transition: transform 0.3s, opacity 0.3s;
		transform-origin: 100% 50%;
	}
	.mainmenu__item:hover::after {
		opacity: 1;
		transform: scale3d(1,1,1);
	}
	.sidemenu__item {
		text-transform: uppercase;
		letter-spacing: 0.15rem;
		font-size: 1vw;
		text-transform: uppercase;
		color: #fff;
		font-weight: 300;
		margin-bottom: 1em;
	}
	.menu__item-hoverlink {
		font-size: 1vw;
		opacity: 0;
		transition: opacity 0.3s;
		font-weight: 300;
		margin-bottom: 2em;
		color: #fff;
	}
	.menu__item-hoverlink strong{
		display: inline-block;
		margin-bottom: 1em;
		font-weight: 700;
	}
	.menu__item-inner:hover .menu__item-hoverlink {
		opacity: 1;
	}
}
