.menu__item {
	position: relative;
	display:inline-block;
	outline: none;
	padding: 6px 20px; 
}

.menu__item-name,
.menu__item-label {
	position: relative;
	display: inline-block;
}

.menu--ama {
	counter-reset: itemCounter; text-align: center;
}

.menu--ama .menu__item {
	font-size: 13px;
	font-weight: 300;
	margin-bottom: 1em;
	padding-left: 0.5em;
	color: #32343c; 
}

.menu--ama .menu__item:first-child {
	--menu-item-color:#9437ff;
}

.menu--ama .menu__item:nth-child(2) {
	--menu-item-color:#ff84fd;
}

.menu--ama .menu__item:nth-child(3) {
	--menu-item-color:#6cccff;
}

.menu--ama .menu__item:nth-child(4) {
	--menu-item-color:#3dd2c1;
}

.menu--ama .menu__item:nth-child(5) {
	--menu-item-color:#c00;
}

.menu--ama .menu__item:nth-child(6) {
	--menu-item-color:#fb8521;
}

.menu--ama .menu__item:nth-child(7) {
	--menu-item-color:#daa96f;
}

.menu--ama .menu__item:hover::before,
.menu--ama .menu__item:focus::before {
	color: var(--menu-item-color);
}
.menu--ama .menu__item::before {
	content: counter(itemCounter,decimal-leading-zero);
	font-size: 1em;
	font-weight: bold;
	top: 82%;
	position: absolute;
	right: 100%;
	bottom: calc(100% - 0.35em);
	counter-increment: itemCounter;
	color: transparent;
}
.menu--ama .menu__item-name {
	font-size: 1.4em;
	font-weight: 300;
	display: flex;
	flex-wrap: wrap;
	padding: 0.5em 0 0 0;
	white-space: pre;
	text-transform:uppercase;
}

.menu--ama .menu__item-name::before,
.menu--ama .menu__item-name::after {
	content: '';
	position: absolute;
	top: 120%;
	left: 0;
	width: 100%;
	height: 4px;
	background: #f1f1f1;
}

.menu--ama .menu__item-name::after {
	background: var(--menu-item-color);
	transform: scale3d(0,1,1);
	transform-origin: 0% 50%;
	transition: transform 0.5s;
}

.menu--ama .menu__item:hover .menu__item-name::after,
.menu--ama .menu__item:focus .menu__item-name::after,
.menu--ama .menu__item:active .menu__item-name::after  {
	transform: scale3d(1,1,1);
}

.menu--ama .menu__item-name span {
	display: inline-block;
}
