css布局实现18种不同风格的垂直分页导航切换效果代码

代码语言:html

所属分类:菜单导航

代码描述:css布局实现18种不同风格的垂直分页导航切换效果代码

代码标签: 18种 不同 风格 垂直 分页 导航 切换 效果

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="zh" class="no-js">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>18种垂直分页导航按钮动画特效</title>
	
	<link href="https://fonts.googleapis.com/css?family=Roboto+Mono:400,700|Roboto+Condensed" rel="stylesheet">
<style>
    /* General styles */


*, *::after, *::before { -webkit-box-sizing: border-box; box-sizing: border-box; }

body {
	font-family: "Microsoft YaHei",'Roboto Mono', monospace;
	color: #1b3050;
	background: #f9f0d0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a {
	text-decoration: none;
	color: #8bc34a;
	outline: none;
}

a:hover,
a:focus {
	color: #fff;
}

.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: currentColor;
}
/* Content */
.content {
	padding: 3em 0;
}

.section {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: center;
	align-items: center;
}

.section--nav {
	position: relative;
	overflow: hidden;
	-webkit-flex-direction: row-reverse;
	flex-direction: row-reverse;
}

.section__title {
	font-size: 0.65em;
	font-weight: 700;
	-webkit-flex: none;
	flex: none;
	margin: 3em 0 15em;
	text-indent: 3px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #d1d1d1;
}

.section.section--intro {
	font-size: 1.6em;
	position: relative;
	min-height: 100vh;
	text-align: center;
	color: #fff;
	background: #333;
}

.section--intro p {
	max-width: 1000px;
	margin: 0 auto;
	padding: 1em;
}
.link-copy {
	position: absolute;
	top: 2em;
	right: 2em;
	width: 20px;
	height: 20px;
	z-index: 100;
	cursor: pointer;
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBieSBodHRwczovL2dpdGh1Yi5jb20vaWNvbmljL29wZW4taWNvbmljIC0tPgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjgiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDggOCI+CiAgPHBhdGggZmlsbD0iIzMzMyIgb3BhY2l0eT0iMC41IiBkPSJNNS44OC4wM2MtLjE4LjAxLS4zNi4wMy0uNTMuMDktLjI3LjEtLjUzLjI1LS43NS40N2EuNS41IDAgMSAwIC42OS42OWMuMTEtLjExLjI0LS4xNy4zOC0uMjIuMzUtLjEyLjc4LS4wNyAxLjA2LjIyLjM5LjM5LjM5IDEuMDQgMCAxLjQ0bC0xLjUgMS41Yy0uNDQuNDQtLjguNDgtMS4wNi40Ny0uMjYtLjAxLS40MS0uMTMtLjQxLS4xM2EuNS41IDAgMSAwLS41Ljg4cy4zNC4yMi44NC4yNWMuNS4wMyAxLjItLjE2IDEuODEtLjc4bDEuNS0xLjVjLjc4LS43OC43OC0yLjA0IDAtMi44MS0uMjgtLjI4LS42MS0uNDUtLjk3LS41My0uMTgtLjA0LS4zOC0uMDQtLjU2LS4wM3ptLTIgMi4zMWMtLjUtLjAyLTEuMTkuMTUtMS43OC43NWwtMS41IDEuNWMtLjc4Ljc4LS43OCAyLjA0IDAgMi44MS41Ni41NiAxLjM2LjcyIDIuMDYuNDcuMjctLjEuNTMtLjI1Ljc1LS40N2EuNS41IDAgMSAwLS42OS0uNjljLS4xMS4xMS0uMjQuMTctLjM4LjIyLS4zNS4xMi0uNzguMDctMS4wNi0uMjItLjM5LS4zOS0uMzktMS4wNCAwLTEuNDRsMS41LTEuNWMuNC0uNC43NS0uNDUgMS4wMy0uNDQuMjguMDEuNDcuMDkuNDcuMDlhLjUuNSAwIDEgMCAuNDQtLjg4cy0uMzQtLjItLjg0LS4yMnoiCiAgLz4KPC9zdmc+Cg==) no-repeat center center;
	background-size: cover;
}

.link-copy::after {
	content: 'Click to copy direct link';
	font-family: 'Roboto Condensed', sans-serif;
	text-transform: uppercase;
	letter-spacing: 3px;
	font-size: 0.75em;
	line-height: 1.75;
	font-weight: bold;
	position: absolute;
	right: 100%;
	margin: 0 1em 0 0;
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	color: currentColor;
	-webkit-transform: translate3d(10px, 0, 0);
	transform: translate3d(10px, 0, 0);
	-webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
	transition: transform 0.3s, opacity 0.3s;
}

.link-copy:hover::after {
	opacity: 1;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

.link-copy::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 50px;
	height: 50px;
	margin: -25px 0 0 -25px;
	opacity: 0;
	border-radius: 50%;
	background: currentColor;
}

.link-copy--animate::before {
	-webkit-animation: pulse 0.3s;
	animation: pulse 0.3s;
}

@-webkit-keyframes pulse {
	from {
		opacity: 1;
		-webkit-transform: scale3d(0, 0, 1);
		transform: scale3d(0, 0, 1);
	}

	to {
		opacity: 0;
		-webkit-transform: scale3d(1, 1, 1);
		transform: scale3d(1, 1, 1);
	}

}

@keyframes pulse {
	from {
		opacity: 1;
		-webkit-transform: scale3d(0, 0, 1);
		transform: scale3d(0, 0, 1);
	}

	to {
		opacity: 0;
		transform: scale3d(1, 1, 1);
		webkit-transform: scale3d(1, 1, 1);
	}

}

/* Mockup Slider */
.mockup-slider {
	position: relative;
	width: calc(100% - 12em);
	margin: 0 0 0 2em;
	max-width: 600px;
}

.mockup-slider::before,
.mockup-slider::after {
	content: '';
	width: 100%;
	background: rgba(0,0,0,0.05);
	height: 100px;
	position: absolute;
	top: 0;
}

.mockup-slider::after {
	top: auto;
	bottom: 0;
}

.mockup-slider img {
	position: relative;
	display: block;
	max-width: 100%;
	margin: 150px 0;
	box-shadow: 0 10px 20px -4px rgba(0,0,0,0.6);
}

.mockup-slider__title {
	position: absolute;
	font-size: 3em;
	bottom: 30%;
	left: -0.5em;
	font-weight: normal;
	margin: 0;
}

.mockup-slider__subtitle {
	position: absolute;
	top: 70%;
	left: -1em;
	background: #1b3050;
	margin: 0;
	color: #fff;
	font-size: 1.05em;
	padding: 0.25em 0.5em;
	z-index: 100;
}
/* Individual section colors */

/* Xusni */
.section#Xusni {
	 background: #3f51b5;
	 color: #212956;
}

/* Magool */
.section#Magool {
	 background: #b5bf4b;
	 color: #fff;
}

.section#Magool .mockup-slider__subtitle {
	background: #f44336;
}

.section#Magool .mockup-slider__subtitle a {
	color: #ddd;
	font-weight: bold;
}

/* Ubax */
.section#Ubax {
	 background: #e9eae5;
	 color: #31312f;
}

/* Zahi */
.section#Zahi {
	 background: #f44336;
	 color: #fff;
}

/* Timiro */
.section#Timiro {
	 background: #eae096;
	 color: #ff5722;
}

/* Shamso */
.section#Shamso {
	 background: #93b1c5;
	 color: #ff98bb;
}

/* Maxamed */
.section#Maxamed {
	 background: #78b395;
	 color: #fff;
}

/* Beca */
.section#Beca {
	 background: #a7a7a7;
	 color: #ffeb3b;
	 min-height: 510px;
}

.section#Beca .mockup-slider {
	margin: 0 0 0 -9em;
	min-height: 510px;
}

/* Etefu */
.section#Etefu {
	 background: #62ea80;
	 color: #fff;
}

/* Meklit */
.section#Meklit {
	background: #27272b;
	color: #ff4d3b;
	min-height: 510px;
}

.section#Meklit .mockup-slider {
	margin: 0 0 0 -9em;
	min-height: 510px;
}

/* Mariame */

.section#Mariame {
	background: #a9a9d4;
	color: #5050b9;
}

/* Desta */
.section#Desta {
	background: #1e1b2c;
	color: #f39468;
}

.section#Desta .mockup-slider__title:first-letter {
	color: #fff;
}

/* Hagos */
.section#Hagos {
	background: #92d9c7;
	color: #fff;
}

/* Berta */
.section#Berta {
	background: #ff6666;
	color: #ffe7db;
	min-height: 510px;
}

.section#Berta .mockup-slider {
	min-height: 510px;
}

/* Aman */
.section#Aman {
	background: #f7f5ed;
	color: #d6856d;
}

/* Kafa */
.section#Kafa {
	background: #d2f1ca;
	color: #e54f4f;
}

/* Kafa */
.section#Totit {
	background: #3992fd;
	color: #fff;
}

/* Ayana */
.section#Ayana {
	background: #738aa0;
	color: #fffefd;
}


@media screen and (max-width: 50em) {
	.section.section--intro {
		font-size: 1em;
	}
	.section--nav {
		padding: 4em 0;
	}
	.section--nav::before {
		content: attr(id);
		position: absolute;
		top: 1em;
		right: 1em;
	}
	.mockup-slider {
		display: none;
	}
	.nav {
		-webkit-flex: none;
		flex: none;
		margin: 0 auto;
	}
	.nav.nav--berta {
		width: 100%;
	}
}
.nav {
	position: relative;
	width: 8em;
	margin: 0 0 0 3em;
}

.nav__item {
	line-height: 1;
	position: relative;
	display: block;
	margin: 0;
	padding: 0;
	letter-spacing: 0;
	color: currentColor;
	border: 0;
	background: none;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

.nav__item:focus {
	outline: none;
}

/* Individual styles */

/*** Timiro ***/

.nav--timiro .nav__item {
	overflow: hidden;
	width: 1.5em;
	height: 1.5em;
	margin: 0.5em 0;
	border-radius: 50%;
	background: #fff;
	-webkit-transform: scale3d(0.5,0.5,1);
	transform: scale3d(0.5,0.5,1);
	-webkit-transition: -webkit-transform 0.5s;
	transition: transform 0.5s;
	-webkit-transition-timing-function: cubic-bezier(0.2,1,0.3,1);
	transition-timing-function: cubic-bezier(0.2,1,0.3,1);
}

.nav--timiro .nav__item--current,
.nav--timiro .nav__item:not(.nav__item--current):focus,
.nav--timiro .nav__item:not(.nav__item--current):hover {
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
}

.nav--timiro .nav__item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #ff5722;
	-webkit-transform: translate3d(0,100%,0);
	transform: translate3d(0,100%,0);
	-webkit-transition: -webkit-transform 0.5s;
	transition: transform 0.5s;
	-webkit-transition-timing-function: cubic-bezier(0.2,1,0.3,1);
	transition-timing-function: cubic-bezier(0.2,1,0.3,1);
}

.nav--timiro .nav__item--current::before {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

/*** Shamso ***/

.nav--shamso .nav__item {
	width: 2.25em;
	height: 2.25em;
}

.nav--shamso .nav__item::before,
.nav--shamso .nav__item::after {
	content: '';
	position: absolute;
	border-radius: 50%;
}

.nav--shamso .nav__item::before {
	top: 25%;
	left: 25%;
	width: 50%;
	height: 50%;
	background: #5e798b;
	-webkit-transition: -webkit-transform 0.5s;
	transition: transform 0.5s;
	-webkit-transition-timing-function: cubic-bezier(0.2,1,0.3,1);
	transition-timing-function: cubic-bezier(0.2,1,0.3,1);
}

.nav--shamso .nav__item:not(.nav__item--current):focus::before,
.nav--shamso .nav__item:not(.nav__item--current):hover::before {
	-webkit-transform: scale3d(1.35,1.35,1);
	transform: scale3d(1.35,1.35,1);
}

.nav--shamso .nav__item--current::before {
	-webkit-transform: scale3d(0.35,0.35,1);
	transform: scale3d(0.35,0.35,1);
}

.nav--shamso .nav__item::after {
	top: 10%;
	left: 10%;
	width: 80%;
	height: 80%;
	opacity: 0;
	box-shadow: inset 0 0 0 3px #5e798b;
	-webkit-transform: scale3d(0.35,0.35,1);
	transform: scale3d(0.35,0.35,1);
	-webkit-transition: -webkit-transform 0.5s, box-shadow 0.5s, opacity 0.5s;
	transition: transform 0.5s, box-shadow 0.5s, opacity 0.5s;
	-webkit-transition-timing-function: cubic-bezier(0.2,1,0.3,1);
	transition-timing-function: cubic-bezier(0.2,1,0.3,1);
}

.nav--shamso .nav__item--current::after {
	opacity: 1;
	box-shadow: inset 0 0 0 3px #c1dff9;
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
}

.nav--shamso .nav__item-title {
	font-weight: bold;
	line-height: 1.5;
	display: block;
	margin: 0 0 0 2.5em;
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	color: #c1dff9;
	-webkit-transform: scale3d(0.1,0.1,1);
	transform: scale3d(0.1,0.1,1);
	-webkit-transform-origin: 50% 50%;
	transform-origin: 50% 50%;
	-webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
	transition: opacity 0.5s, transform 0.5s;
	-webkit-transition-timing-function: cubic-bezier(0.2,1,0.3,1);
	transition-timing-function: cubic-bezier(0.2,1,0.3,1);
}

.nav--shamso .nav__item--current .nav__item-title {
	opacity: 1;
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
	-webkit-transition-delay: 0.1s;
	transition-delay: 0.1s;
}

/*** Maxamed ***/

.nav--maxamed .nav__item {
	width: 2.25em;
	height: 2.25em;
}

.nav--maxamed .nav__item::before {
	content: '';
	position: absolute;
	top: 0.75em;
	right: 0;
	width: 1em;
	height: 1em;
	box-shadow: inset 0 0 0 6px #609279;
	border-radius: 50%;
	-webkit-transition: -webkit-transform 0.3s, box-shadow 0.3s;
	transition: transform 0.3s, box-shadow 0.3s;
}

.nav--maxamed .nav__item:not(.nav__item--current):focus::before,
.nav--maxamed .nav__item:not(.nav__item--current):hover::before {
	box-shadow: inset 0 0 0 6px #4b7560;
}

.nav--maxamed .nav__item--current::before {
	-webkit-transform: scale3d(1.75,1.75,1);
	transform: scale3d(1.75,1.75,1);
	box-shadow: inset 0 0 0 1px #609279;
}

.nav--maxamed .nav__item-title {
	position: absolute;
	left: 3.5em;
	top: 0;
	pointer-events: none;
	padding: 0.75em 0;
	font-weight: bold;
	white-space: nowrap;
	-webkit-transform-origin: 0 50%;
	transform-origin: 0 50%;
	opacity: 0;
	-webkit-transform: scale3d(0.5,0.5,1);
	transform: scale3d(0.5,0.5,1);
	-webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
	transition: opacity 0.5s, transform 0.5s;
	-webkit-transition-timing-function: cubic-bezier(0.2,1,0.3,1);
	transition-timing-function: cubic-bezier(0.2,1,0.3,1);
}

.nav--maxamed .nav__item--current .nav__item-title {
	opacity: 1;
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
}

/*** Xusni ***/

.nav--xusni .nav__item {
	width: 3em;
	height: 1.25em;
	margin: 0.5em 0;
}

.nav--xusni .nav__item::after {
	content: '';
	position: absolute;
	top: 35%;
	left: 0;
	width: 100%;
	height: 30%;
	background: #3c4a9a;
	-webkit-transform-origin: 0 0;
	transform-origin: 0 0;
	-webkit-transition: -webkit-transform 0.5s, background-color 0.5s;
	transition: transform 0.5s, background-color 0.5s;
	-webkit-transition-timing-function: cubic-bezier(0.7,0,0.3,1);
	transition-timing-function: cubic-bezier(0.7,0,0.3,1);
}

.nav--xusni .nav__item:not(.nav__item--current):hover::after,
.nav--xusni .nav__item:not(.nav__item--current):focus::after {
	background: #212956;
	-webkit-transition: background-color 0.3s;
	transition: background-color 0.3s;
}

.nav--xusni .nav__item--current::after {
	background: #212956;
	-webkit-transform: scale3d(0.2,1,1);
	transform: scale3d(0.2,1,1);
}

.nav--xusni .nav__item-title {
	margin: 0 0 0 1em;
	opacity: 0;
	display: block;
	-webkit-transform: translate3d(2em,0,0);
	transform: translate3d(2em,0,0);
	-webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
	transition: opacity 0.5s, transform 0.5s;
	-webkit-transition-timing-function: cubic-bezier(0.7,0,0.3,1);
	transition-timing-function: cubic-bezier(0.7,0,0.3,1);
}

.nav--xusni .nav__item--current .nav__item-title {
	-webkit-transition-delay: 0.1s;
	transition-delay: 0.1s;
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

/*** Magool ***/

.nav--magool .nav__item {
	width: 1.5em;
	height: 1.25em;
}

.nav--magool .nav__item::after {
	content: '';
	position: absolute;
	top: 45%;
	left: 0;
	width: 100%;
	height: 10%;
	background: #949a52;
	-webkit-transform-origin: 0 0;
	transform-origin: 0 0;
	-webkit-transition: -webkit-transform 0.5s, background-color 0.5s;
	transition: transform 0.5s, background-color 0.5s;
	-webkit-transition-timing-function: cubic-bezier(0.2,1,0.3,1);
	transition-timing-function: cubic-bezier(0.2,1,0.3,1);
}

.nav--magool .nav__item:not(.nav__item--current):focus::after,
.nav--magool .nav__item:not(.nav__item--current):hover::after {
	background: #707539;
}

.nav--magool .nav__item:not(.nav__item--current):hover::after {
	-webkit-transform: scale3d(2,1,1);
	transform: scale3d(2,1,1);
}

.nav--magool .nav__item--current::after {
	background: #333;
	-webkit-transform: scale3d(2,1,1);
	transform: scale3d(2,1,1);
}

/*** Ubax ***/

.nav--ubax .nav__item {
	width: 1.5em;
	height: 1.5em;
}

.nav--ubax .nav__item::after {
	content: '';
	position: absolute;
	top: 2px;
	left: 2px;
	width: calc(100% - 4px);
	height: calc(100% - 4px);
	border: 2px solid transparent;
	background: #ddddda;
}

.nav--ubax .nav__item--current::after {
	z-index: 10;
	border-color: #31312f;
	background: #e9eae5;
	-webkit-transform: scale3d(1.5,1.5,1);
	transform: scale3d(1.5,1.5,1);
	-webkit-transition: -webkit-transform 0.3s, background-color 0.3s, border-color 0.3s;
	transition: transform 0.3s, background-color 0.3s, border-color 0.3s;
}

.nav--ubax .nav__item:not(.nav__item--current):focus::after,
.nav--ubax .nav__item:not(.nav__item--current):hover::after {
	background: #31312f;
	-webkit-transition: -webkit-transform 0.3s, background-color 0.3s;
	transition: transform 0.3s, background-color 0.3s;
}

.nav--ubax .nav__item-title {
	line-height: 1.5;
	display: block;
	padding: 0 0 0 2.5em;
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	-webkit-transform: translate3d(-20px,0,0);
	transform: translate3d(-20px,0,0);
	-webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
	transition: transform 0.3s, opacity 0.3s;
}

.nav--ubax .nav__item:not(.nav__item--current):focus .nav__item-title,
.nav--ubax .nav__item:not(.nav__item--current):hover .nav__item-title {
	opacity: 0.25;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

.nav--ubax .nav__item--current .nav__item-title {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

/*** Zahi ***/

.nav--zahi .nav__item {
	width: 2em;
	height: 2em;
}

.nav--zahi .nav__item::before,
.nav--zahi .nav__item::after {
	content: '';
	position: absolute;
}

.nav--zahi .nav__item:not(:last-child)::before {
	top: calc(2em - 9px);
	left: 5px;
	width: 2px;
	height: calc(2em - 12px);
	background: #98322a;
}

.nav--zahi .nav__item::after {
	top: 50%;
	left: 0;
	width: 12px;
	height: 12px;
	margin: -5px 0 0 0;
	border: 2px solid #98322a;
	border-radius: 50%;
	background: #f44336;
	-webkit-transition: -webkit-transform 0.3s, border-color 0.3s, border-width 0.3s, background 0.3s;
	transition: transform 0.3s, border-color 0.3s, border-width 0.3s, background 0.3s;
}

.nav--zahi .nav__item--current::after {
	border-width: 1px;
	border-color: #fff;
	-webkit-transform: scale3d(1.6,1.6,1);
	transform: scale3d(1.6,1.6,1);
}

.nav--zahi .nav__item:not(.nav__item--current):focus::after,
.nav--zahi .nav__item:not(.nav__item--current):hover::after {
	border-color: #fff;
	background: #fff;
}

.nav--zahi .nav__item-title {
	font-family: 'Roboto Condensed', sans-serif;
	line-height: 1.5;
	display: block;
	position: relative;
	padding: 0 0 0 2.5em;
	white-space: nowrap;
	opacity: 0.3;
	color: #98322a;
	-webkit-transition: opacity 0.3s, color 0.3s;
	transition: opacity 0.3s, color 0.3s;
}

.nav--zahi .nav__item:not(.nav__item--current):focus .nav__item-title,
.nav--zahi .nav__item:not(.nav__item--current):hover .nav__item-title {
	opacity: 0.5;
}

.nav--zahi .nav__item--current .nav__item-title {
	opacity: 1;
	color: #fff;
}

/*** Beca ***/

.nav--beca {
	position: absolute;
	top: 50%;
	left: 0;
	margin: 0;
	-webkit-transform: translate3d(0,-50%,0);
	transform: translate3d(0,-50%,0);
}

.nav--beca .nav__item {
	width: 5em;
	height: 1.5em;
}

.nav--beca .nav__item::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	width: 50%;
	height: 2px;
	margin: -1px 0 0 0;
	opacity: 0.5;
	background: #fff;
	-webkit-transform: scale3d(0.5,1,1);
	transform: scale3d(0.5,1,1);
	-webkit-transform-origin: 0% 50%;
	transform-origin: 0% 50%;
	-webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
	transition: transform 0.5s, opacity 0.5s;
	-webkit-transition-timing-function: cubic-bezier(0.2,1,0.3,1);
	transition-timing-function: cubic-bezier(0.2,1,0.3,1);
}

.nav--beca .nav__item:not(.nav__item--current):focus::before,
.nav--beca .nav__item:not(.nav__item--current):hover::before {
	opacity: 1;
	-webkit-transform: scale3d(0.75,1,1);
	transform: scale3d(0.75,1,1);
}

.nav--beca .nav__item--current::before {
	opacity: 1;
	-webkit-transform: scale3d(2,1,1);
	transform: scale3d(2,1,1);
}

.nav--beca .nav__item-title {
	font-size: 1.25em;
	font-weight: bold;
	display: block;
	overflow: hidden;
	margin: -1.15em 0 0 1.6em;
	text-align: left;
	white-space: nowrap;
	pointer-events: none;
}

.nav--beca .nav__item-title span {
	display: block;
	-webkit-transform: translate3d(0,100%,0);
	transform: translate3d(0,100%,0);
	-webkit-transition: -webkit-transform 0.5s;
	transition: transform 0.5s;
	-webkit-transition-timing-function: cubic-bezier(0.2,1,0.3,1);
	transition-timing-function: cubic-bezier(0.2,1,0.3,1);
}

.nav--beca .nav__item--current .nav__item-title span {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

/*** Etefu ***/

.nav--etefu .nav__item {
	width: 2.5em;
	height: 3em;
	margin: 1em 0;
}

.nav--etefu .nav__item-inner {
	position: relative;
	display: block;
	overflow: hidden;
	width: 0.25em;
	height: 100%;
	margin: 0 0 0 1em;
	background: #4fc369;
	opacity: 0.7;
	-webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

.nav--etefu .nav__item:not(.nav__item--current):focus .nav__item-inner,
.nav--etefu .nav__item:not(.nav__item--current):hover .nav__item-inner{
	opacity: 1;
}

.nav--etefu .nav__item-inner::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #326b3f;
	-webkit-transform: translate3d(0,100%,0);
	transform: translate3d(0,100%,0);
	-webkit-transition: -webkit-transform 0.5s;
	transition: transform 0.5s;
	-webkit-transition-timing-function: cubic-bezier(0.2,1,0.3,1);
	transition-timing-function: cubic-bezier(0.2,1,0.3,1);
}

.nav--etefu .nav__item--current .nav__item-inner::before {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

.nav--etefu .nav__item-title {
	font-weight: bold;
	position: absolute;
	top: 0;
	left: 115%;
	width: 2em;
	font-size: 1.5em;
	opacity: 0;
	color: #4fc369;
	font-family: 'Roboto Condensed', sans-serif;
	-webkit-transform: rotate3d(0,0,1,90deg) translate3d(1em,0,0);
	transform: rotate3d(0,0,1,90deg) translate3d(1em,0,0);
	-webkit-transform-origin: 0 0;
	transform-origin: 0 0;
	-webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
	transition: transform 0.5s, opacity 0.5s;
	-webkit-transition-timing-function: cubic-bezier(0.2,1,0.3,1);
	transition-timing-function: cubic-bezier(0.2,1,0.3,1);
}

.nav--etefu .nav__item--current .nav__item-title {
	opacity: 1;
	-webkit-transform: rotate3d(0,0,1,90deg);
	transform: rotate3d(0,0,1,90deg);
}

/*** Meklit ***/

.nav--meklit {
	position: absolute;
	top: 0;
	left: 0;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-align-content: stretch;
	align-content: stretch;
	height: 100%;
	margin: 0;
}

.nav--meklit .nav__item {
	-webkit-flex: 1;
	flex: 1;
	width: 6em;
	height: 1.5em;
}

.nav--meklit .nav__item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0.5	;
	background: #141417;
	-webkit-transform: scale3d(0.2,1,1);
	transform: scale3d(0.2,1,1);
	-webkit-transform-origin: 0% 50%;
	transform-origin: 0% 50%;
	-webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
	transition: transform 0.5s, opacity 0.5s;
	-webkit-transition-timing-function: cubic-bezier(0.2,1,0.3,1);
	transition-timing-function: cubic-bezier(0.2,1,0.3,1);
}

.nav--meklit .nav__item:nth-child(odd)::before {
	background: #0a0a0c;
}

.nav--meklit .nav__item:not(.nav__item--current):focus::before,
.nav--meklit .nav__item:not(.nav__item--current):hover::before {
	opacity: 1;
	-webkit-transform: scale3d(0.35,1,1);
	transform: scale3d(0.35,1,1);
}

.nav--meklit .nav__item--current::before {
	opacity: 1;
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
}

.nav--meklit .nav__item-title {
	font-size: 1.25em;
	font-weight: bold;
	display: block;
	overflow: hidden;
	text-align: center;
	white-space: nowrap;
	pointer-events: none;
	-webkit-transform: rotate3d(0,0,1,-90deg);
	transform: rotate3d(0,0,1,-90deg);
}

.nav--meklit .nav__item-title span {
	display: block;
	-webkit-transform: translate3d(0,100%,0);
	transform: translate3d(0,100%,0);
	-webkit-transition: -webkit-transform 0.5s;
	transition: transform 0.5s;
	-webkit-transition-timing-function: cubic-bezier(0.2,1,0.3,1);
	transition-timing-function: cubic-bezier(0.2,1,0.3,1);
}

.nav--meklit .nav__item--current .nav__item-title span {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

/*** Mariame ***/

.nav--mariame .nav__item {
	height: 2.25em;
	margin: 0 0 1em 0;
	-webkit-perspective: 500px;
	perspective: 500px;
}

.nav--mariame .nav__item::before,
.nav--mariame .nav__item::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 1.75em;
	height: 2.25em;
	border: 2px solid #5050b9;
	background: #a9a9d4;
}

.nav--mariame .nav__item::before {
	-webkit-transition: background-color 0s 0.2s;
	transition: background-color 0s 0.2s;
}

.nav--mariame .nav__item--current::before {
	background: #f3f3f3;
	-webkit-transition: none;
	transition: none;
}

.nav--mariame .nav__item::after {
	box-shadow: 0px 0 9px -4px rgba(0,0,0,0);
	-webkit-transform-origin: 1px 50%;
	transform-origin: 1px 50%;
	-webkit-transition: -webkit-transform 0.5s, background-color 0s 0.15s, box-shadow 0.5s;
	transition: transform 0.5s, background-color 0s 0.15s, box-shadow 0.5s;
}

.nav--mariame .nav__item:not(.nav__item--current):hover::after,
.nav--mariame .nav__item:not(.nav__item--current):focus::after {
	box-shadow: 6px 0 9px -4px rgba(0,0,0,0.2);
	-webkit-transform: rotate3d(0,1,0,-15deg);
	transform: rotate3d(0,1,0,-15deg);
}

.nav--mariame .nav__item--current::after {
	background-color: #f3f3f3;
	box-shadow: 6px 0 9px -4px rgba(0,0,0,0.2);
	-webkit-transform: rotate3d(0,1,0,-145deg);
	transform: rotate3d(0,1,0,-145deg);
}

.nav--mariame .nav__item-title {
	font-size: 0.75em;
	font-weight: bold;
	margin: 0 0 0 3.5em;
	white-space: nowrap;
	display: block;
	opacity: 0.2;
	color: #5050b9;
	-webkit-transition: opacity 0.5s;
	transition: opacity 0.5s;
	-webkit-transition-timing-function: cubic-bezier(0.2,1,0.3,1);
	transition-timing-function: cubic-bezier(0.2,1,0.3,1);
}

.nav--mariame .nav__item:not(.nav__item--current):focus .nav__item-title,
.nav--mariame .nav__item:not(.nav__item--current):hover .nav__item-title {
	opacity: 0.5;
}

.nav--mariame .nav__item--current .nav__item-title {
	opacity: 1;
}

/*** Desta ***/

.nav--desta .nav__item {
	width: 5em;
	height: 3.5em;
}

.nav--desta .nav__icon {
	position: absolute;
	top: 1em;
	left: 0;
	width: 1.5em;
	height: 1.5em;
	-webkit-transform: rotate3d(0,0,1,-90deg);
	transform: rotate3d(0,0,1,-90deg);
	-webkit-transition: -webkit-transform 0.5s, fill 0.5s;
	transition: transform 0.5s, fill 0.5s;
	-webkit-transition-timing-function: cubic-bezier(0.2,1,0.3,1);
	transition-timing-function: cubic-bezier(0.2,1,0.3,1);
	fill: currentColor;
}

.nav--desta .nav__item:not(.nav__item--current):focus .nav__icon,
.nav--desta .nav__item:not(.nav__item--current):hover .nav__icon {
	fill: #fff;
}

.nav--desta .nav__item--current .nav__icon {
	-webkit-transform: rotate3d(0,0,1,0deg);
	transform: rotate3d(0,0,1,0deg);
	fill: #fff;
}

.nav--desta .nav__item-title {
	font-family: 'Roboto Condensed', sans-serif;
	line-height: 2;
	display: block;
	margin: 0 0 0 2.25em;
	white-space: nowrap;
	letter-spacing: 2px;
	text-transform: uppercase;
	opacity: 0;
	color: #f39468;
	-webkit-transform: translate3d(-10px,-10px,0);
	transform: translate3d(-10px,-10px,0);
	-webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
	transition: transform 0.5s, opacity 0.5s;
	-webkit-transition-timing-function: cubic-bezier(0.2,1,0.3,1);
	transition-timing-function: cubic-bezier(0.2,1,0.3,1);
}

.nav--desta .nav__item-title:first-letter {
	color: #fff;
}

.nav--desta .nav__item--current .nav__item-title {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

/*** Hagos ***/

.nav--hagos .nav__item {
	width: 2em;
	height: 2em;
}

.nav--hagos .nav__item::before {
	content: '';
	position: absolute;
	top: 25%;
	left: 0;
	width: 50%;
	height: 50%;
	border-radius: 50%;
	background: #7cb9a6;
	-webkit-transition: background 0.5s;
	transition: background 0.5s;
	-webkit-transition-timing-function: cubic-bezier(0.2,1,0.3,1);
	transition-timing-function: cubic-bezier(0.2,1,0.3,1);
}

.nav--hagos .nav__item--current::before,
.nav--hagos .nav__item:not(.nav__item--current):focus::before,
.nav--hagos .nav__item:not(.nav__item--current):hover::before {
	background: #9c7e64;
}

.nav--hagos .nav__icon {
	position: absolute;
	top: -85%;
	left: 65%;
	width: 225%;
	height: 125%;
	pointer-events: none;
	opacity: 0;
	-webkit-transform: scale3d(0,0,1);
	transform: scale3d(0,0,1);
	-webkit-transform-origin: 0 100%;
	transform-origin: 0 100%;
	-webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
	transition: opacity 0.5s, transform 0.5s;
	-webkit-transition-timing-function: cubic-bezier(0.2,1,0.3,1);
	transition-timing-function: cubic-bezier(0.2,1,0.3,1);
	fill: #9c7e64;
}

.nav--hagos .nav__item--current .nav__icon {
	opacity: 1;
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
}

.nav--hagos .nav__item-title {
	font-weight: bold;
	position: absolute;
	top: -55%;
	left: 65%;
	width: 225%;
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	color: #9c7e64;
	-webkit-transform: scale3d(0,0,1);
	transform: scale3d(0,0,1);
	-webkit-transform-origin: 0 100%;
	transform-origin: 0 100%;
	-webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
	transition: transform 0.5s, opacity 0.5s;
	-webkit-transition-timing-function: cubic-bezier(0.2,1,0.3,1);
	transition-timing-function: cubic-bezier(0.2,1,0.3,1);
}

.nav--hagos .nav__item--current .nav__item-title {
	opacity: 1;
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
}

/*** Berta ***/
.nav--berta {
	width: 12em;
	margin: 0;
}

.nav--berta .nav__item {
	width: 100%;
	height: 2em;
}

.nav--berta .nav__item::before {
	content: '';
	position: absolute;
	top: 50%;
	right: 0;
	width: 100%;
	height: 4px;
	margin: -3px 0 0 0;
	pointer-events: none;
	opacity: 0.5;
	background: #e53e30;
	-webkit-transform: scale3d(0.2,1,1);
	transform: scale3d(0.2,1,1);
	-webkit-transform-origin: 0% 50%;
	transform-origin: 0% 50%;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
}

.nav--berta .nav__item:not(.nav__item--current):focus::before,
.nav--berta .nav__item:not(.nav__item--current):hover::before {
	opacity: 1;
}

.nav--berta .nav__item--current::before {
	opacity: 1;
	-webkit-animation: moveScale 0.5s ease-in forwards;
	animation: moveScale 0.5s ease-in forwards;
}

@-webkit-keyframes moveScale {
	50% {
		right: auto;
		left: 0;
		-webkit-transform: scale3d(1,1,1);
		transform: scale3d(1,1,1);
		-webkit-transform-origin: 0% 50%;
		transform-origin: 0% 50%;
	}
	51% {
		right: 0;
		left: auto;
		-webkit-transform: scale3d(1,1,1);
		transform: scale3d(1,1,1);
		-webkit-transform-origin: 100% 50%;
		transform-origin: 100% 50%;
		-webkit-animation-timing-function: cubic-bezier(0.2,1,0.3,1);
		animation-timing-function: cubic-bezier(0.2,1,0.3,1);
	}
	100% {
		right: 0;
		left: auto;
		-webkit-transform: scale3d(0.2,1,1);
		transform: scale3d(0.2,1,1);
		-webkit-transform-origin: 100% 50%;
		transform-origin: 100% 50%;
	}
}

@keyframes moveScale {
	50% {
		right: auto;
		left: 0;
		-webkit-transform: scale3d(1,1,1);
		transform: scale3d(1,1,1);
		-webkit-transform-origin: 0% 50%;
		transform-origin: 0% 50%;
	}
	51% {
		right: 0;
		left: auto;
		-webkit-transform: scale3d(1,1,1);
		transform: scale3d(1,1,1);
		-webkit-transform-origin: 100% 50%;
		transform-origin: 100% 50%;
		-webkit-animation-timing-function: cubic-bezier(0.2,1,0.3,1);
		animation-timing-function: cubic-bezier(0.2,1,0.3,1);
	}
	100% {
		right: 0;
		left: auto;
		-webkit-transform: scale3d(0.2,1,1);
		transform: scale3d(0.2,1,1);
		-webkit-transform-origin: 100% 50%;
		transform-origin: 100% 50%;
	}
}

.nav--berta .nav__item-title {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: bold;
	display: block;
	padding: 0 0 0 0.75em;
	text-align: left;
	white-space: nowrap;
	letter-spacing: 2px;
	text-transform: uppercase;
	pointer-events: none;
	opacity: 0;
	color: #ffe7db;
	-webkit-transform: translate3d(-100px,0,0);
	transform: translate3d(-100px,0,0);
}

.nav--berta .nav__item--current .nav__item-title {
	-webkit-animation: moveToRight 0.5s 0.2s forwards;
	animation: moveToRight 0.5s 0.2s forwards;
}

@-webkit-keyframes moveToRight {
	100% {
		opacity: 1;
		-webkit-transform: translate3d(0,0,0);
		transform: translate3d(0,0,0);
		-webkit-animation-timing-function: cubic-bezier(0.2,1,0.3,1);
		animation-timing-function: cubic-bezier(0.2,1,0.3,1);
	}
}

@keyframes moveToRight {
	100% {
		opacity: 1;
		-webkit-transform: translate3d(0,0,0);
		transform: translate3d(0,0,0);
		-webkit-animation-timing-function: cubic-bezier(0.2,1,0.3,1);
		animation-timing-function: cubic-bezier(0.2,1,0.3,1);
	}
}

/* Aman */
.nav--aman {
	font-size: 1.5em;
	margin: 0 0 0 1em;
	padding: 0 0 0 1em;
}

.nav--aman .nav__item {
	width: 2em;
	height: 2em;
	opacity: 0.8;
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBJY29uIGJ5IEZyZWVwaWs6IGh0dHA6Ly93d3cuZmxhdGljb24uY29tL2ZyZWUtaWNvbi9pbWFnZV8xMjQxMDIjdGVybT1waG90byZwYWdlPTEmcG9zaXRpb249NTYgLS0+CjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMC4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB3aWR0aD0iMjRweCIgaGVpZ2h0PSIzMnB4IiB2aWV3Qm94PSIwIDAgMjQgMzIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDI0IDMyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGw6I0JBQjM4ODt9Cgkuc3Qxe2ZpbGw6I0U1OTc4NDt9Cgkuc3Qye2ZpbGw6I0UxQkFCNTt9Cgkuc3Qze2ZpbGw6I0I2Q0NERjt9Cgkuc3Q0e2ZpbGw6I0E5QTY5QTt9Cgkuc3Q1e2ZpbGw6I0UzRTFEMDt9Cjwvc3R5bGU+CjxnPgoJPHBhdGggY2xhc3M9InN0MCIgZD0iTTEzLjEsMTNjMSwwLDEuOCwwLjgsMS44LDEuOHMtMC44LDEuOC0xLjgsMS44cy0xLjgtMC44LTEuOC0xLjhTMTIuMiwxMywxMy4xLDEzeiIvPgoJPHBvbHlnb24gY2xhc3M9InN0MSIgcG9pbnRzPSIyMCwyMS43IDIwLDI2LjYgMTQuMiwyNi42IDExLjEsMjEuOSAxNi40LDE3LjcgCSIvPgoJPHBvbHlnb24gY2xhc3M9InN0MiIgcG9pbnRzPSIxMS4xLDIxLjkgMTQuMiwyNi42IDQsMjYuNiA0LDIyLjYgOC4zLDE3LjQgCSIvPgoJPHBhdGggY2xhc3M9InN0MyIgZD0iTTIwLDExLjF2MTAuNmwtMy42LTRsLTUuMyw0LjFsLTIuOS00LjRMNCwyMi42VjExLjFIMjB6IE0xNC45LDE0LjhjMC0xLTAuOC0xLjgtMS44LTEuOHMtMS44LDAuOC0xLjgsMS44CgkJczAuOCwxLjgsMS44LDEuOFMxNC45LDE1LjgsMTQuOSwxNC44eiIvPgoJPHBvbHlnb24gY2xhc3M9InN0NCIgcG9pbnRzPSIyMy41LDcuOCAxNy4zLDcuOCAxNy4zLDEuNiAJIi8+Cgk8cGF0aCBjbGFzcz0ic3Q1IiBkPSJNMjMuNSw3Ljh2MjIuNWgtMjNWMS42aDE2Ljh2Ni4ySDIzLjV6IE0yMCwyNi42di00LjlWMTEuMUg0djExLjV2NGgxMC4xSDIweiIvPgo8L2c+Cjwvc3ZnPgo=) no-repeat 50% 50%;
	background-size: auto 50%;
	-webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
	transition: transform 0.5s, opacity 0.5s;
	-webkit-animation-timing-function: cubic-bezier(0.2,1,0.3,1);
	animation-timing-function: cubic-bezier(0.2,1,0.3,1);
}

.nav--aman .nav__item:not(.nav__item--current):focus,
.nav--aman .nav__item:not(.nav__item--current):hover {
	opacity: 1;
	-webkit-transform: scale3d(1.25,1.25,1);
	transform: scale3d(1.25,1.25,1);
}

.nav--aman .nav__item--current {
	pointer-events: none;
	opacity: 1;
	-webkit-transform: scale3d(1.85,1.85,1);
	transform: scale3d(1.85,1.85,1);
}

.nav--aman .nav__pointer {
	position: absolute;
	top: 0;
	left: 0;
	width: 2em;
	height: 2em;
	margin: 0.45em 0 0 1.25em;
	-webkit-transition: -webkit-transform 0.5s;
	transition: transform 0.5s;
	-webkit-animation-timing-function: cubic-bezier(0.2,1,0.3,1);
	animation-timing-function: cubic-bezier(0.2,1,0.3,1);
}

.nav--aman .nav__item--current:nth-child(2) ~ .nav__pointer {
	-webkit-transform: translate3d(0,100%,0);
	transform: translate3d(0,100%,0);
}

.nav--aman .nav__item--current:nth-child(3) ~ .nav__pointer {
	-webkit-transform: translate3d(0,200%,0);
	transform: translate3d(0,200%,0);
}

.nav--aman .nav__item--current:nth-child(4) ~ .nav__pointer {
	-webkit-transform: translate3d(0,300%,0);
	transform: translate3d(0,300%,0);
}

.nav--aman .nav__item--current:nth-child(5) ~ .nav__pointer {
	-webkit-transform: translate3d(0,400%,0);
	transform: translate3d(0,400%,0);
}

.nav--aman .nav__icon {
	display: block;
	width: 90%;
	height: 90%;
	fill: #94938a;
}

/* Kafa */

.nav--kafa .nav__item {
	margin: 0.5em 0;
}

.nav--kafa .nav__item--current {
	pointer-events: none;
}

.nav--kafa .nav__item-inner {
	display: block;
	overflow: hidden;
	width: 2.85em;
	height: 2.85em;
	opacity: 0.6;
	border-radius: 50%;
	background: #b5daab;
	-webkit-transform: scale3d(0.65,0.65,1);
	transform: scale3d(0.65,0.65,1);
	-webkit-transition: -webkit-transform 0.5s, opacity 0.3s;
	transition: transform 0.5s, opacity 0.3s;
	-webkit-animation-timing-function: cubic-bezier(0.2,1,0.3,1);
	animation-timing-function: cubic-bezier(0.2,1,0.3,1);
}

.nav--kafa .nav__item:not(.nav__item--current):focus .nav__item-inner,
.nav--kafa .nav__item:not(.nav__item--current):hover .nav__item-inner {
	opacity: 1;
}

.nav--kafa .nav__item--current .nav__item-inner {
	opacity: 1;
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
}

.nav--kafa .nav__item-img {
	display: block;
	width: 2.5em;
	margin: 0.5em auto 0;
	-webkit-transform: translate3d(0,100%,0);
	transform: translate3d(0,100%,0);
	-webkit-transition: -webkit-transform 0.5s;
	transition: transform 0.5s;
	-webkit-animation-timing-function: cubic-bezier(0.2,1,0.3,1);
	animation-timing-function: cubic-bezier(0.2,1,0.3,1);
}

.nav--kafa .nav__item--current .nav__item-img {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

.nav--kafa .nav__item-title {
	font-weight: bold;
	line-height: 2.85em;
	position: absolute;
	top: 0;
	left: 3.75em;
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	-webkit-transform: translate3d(-15px,0,0);
	transform: translate3d(-15px,0,0);
	-webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
	transition: transform 0.5s, opacity 0.5s;
	-webkit-animation-timing-function: cubic-bezier(0.2,1,0.3,1);
	animation-timing-function: cubic-bezier(0.2,1,0.3,1);
}

.nav--kafa .nav__item--current .nav__item-title {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

/* Totit */

.nav--totit .nav__item {
	width: 2.5em;
	height: 2.5em;
	margin: 0.5em 0;
}

.nav--totit .nav__item::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0.65em;
	height: 0.65em;
	margin: -0.325em 0 0 -0.325em;
	border-radius: 50%;
	background: #fff;
	-webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
	transition: transform 0.3s, opacity 0.3s;
	-webkit-animation-timing-function: cubic-bezier(0.2,1,0.3,1);
	animation-timing-function: cubic-bezier(0.2,1,0.3,1);
}

.nav--totit .nav__item:not(.nav__item--current):focus::before,
.nav--totit .nav__item:not(.nav__item--current):hover::before {
	opacity: 0.6;
}

.nav--totit .nav__item--current::before {
	opacity: 0;
	-webkit-transform: translate3d(0,1.5em,0) scale3d(0,0,1);
	transform: translate3d(0,1.5em,0) scale3d(0,0,1);
}

.nav--totit .nav__icon {
	z-index: 100;
	display: block;
	width: 100%;
	height: 100%;
	margin: 0 auto;
	opacity: 0;
	-webkit-transform: scale3d(0,0,1);
	transform: scale3d(0,0,1);
	-webkit-transform-origin: 50% 100%;
	transform-origin: 50% 100%;
	-webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
	transition: transform 0.3s, opacity 0.3s;
	-webkit-animation-timing-function: cubic-bezier(0.2,1,0.3,1);
	animation-timing-function: cubic-bezier(0..........完整代码请登录后点击上方下载按钮下载查看

网友评论0