3D Navigation with text

HTML
<nav> <div class="clear"> </div> <div class="nav-main"> <span id="flash"> <div class="logo">Text-Logo</div> </span> <span id="flash"> <ul> <li> Home </li> <li>©Vishal</li> <li>Menu 3</li> <li>Menu 4</li> </ul> </span> </nav> <div id="box"> <p id="flashlight"> <span id="flash">©Vishal</span> <span id="light">Shukla</span> </p> </div> </div> </section> </div>
CSS
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,700); * { box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; } body { padding: 0; margin: 0; font-family: 'Open Sans', Arial, sans-serif; color: #333; background: hsl(210, 30%, 0%) radial-gradient( hsl(210, 30%, 20%), hsl(210, 30%, 0%)); } p { line-height: .75; } section { padding: 40px; } .content { margin-top: 80px; } a:-webkit-any-link { color: black; text-decoration: none; cursor: auto; } .flash a { text-decoration: none; } .contained { width: 36em; margin: 0 auto; } @media (max-width: 41em) { .contained { width: 100%; } } .clear { clear: both; } nav { position: fixed; top: 0; left: 0; width: 100%; background-color: #efeeea; } nav .nav-main { padding: 10px 20px; } nav .nav-actions { padding: 10px 20px; background-color: #222; } nav .logo { float: left; line-height: 50px; font-size: 2.5em; font-weight: bold; text-transform: uppercase; margin-left: -590px; } nav ul { float: right; list-style: none; margin: 0; padding: 0; margin-right: -500px; font-size: medium; } nav ul li { display: inline-block; line-height: 50px; padding: 0 10px; text-decoration: none; } nav .nav-actions li { font-size: 12px; color: #8f8e8c; line-height: 20px; } /* Global ------------------------------------------------------ */ html { overflow: hidden; /*FF fix*/ height: 100%; font-family: Geneva, sans-serif; background: hsl(210, 30%, 0%) radial-gradient( hsl(210, 30%, 20%), hsl(210, 30%, 0%)); } body { margin: 0; width: 100%; height: 100%; text-align: center; display: flex; justify-content: center; align-items: center; } p { margin: 0; } /* box ------------------------------------------------------ */ #box { text-align: center; font-size: 3em; font-weight: bold; -webkit-backface-visibility: hidden; /* fixes flashing */ } /* flashlight ------------------------------------------------------ */ #flashlight { color: hsla(0,0%,0%,0); perspective: 80px; outline: none; } /* flash ------------------------------------------------------ */ #flash { display: inline-block; text-shadow: #bbb 0 0 1px, #fff 0 -1px 2px, #fff 0 -3px 2px, rgba(0,0,0,0.8) 0 30px 25px; transition: margin-left 0.3s cubic-bezier(0, 1, 0, 1); } #box:hover #flash { text-shadow: #111 0 0 1px, rgba(255,255,255,0.1) 0 1px 3px; margin-left: 20px; transition: margin-left 1s cubic-bezier(0, 0.75, 0, 1); } /* light ------------------------------------------------------ */ #light { display: inline-block; text-shadow: #111 0 0 1px, rgba(255,255,255,0.1) 0 1px 3px; } #box:hover #light { text-shadow: #fff 0 0 4px, #fcffbb 0 0 20px; transform: rotateY(-60deg); transition: transform 0.3s cubic-bezier(0, 0.75, 0, 1), text-shadow 0.1s ease-out; }
JAVASCRIPT
Expand for more options Login