Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                
<div id="modal-nav-overlay"></div>

<button id="menu" name="menu"><p>—<br>—<br>—</p></button>
<button id="x-btn" name="x-btn">╳</button>

<div class="modal">
  
    <div class="modal__content">
      
        <ul class="menu-options">
          <li><a href="#"><b>About Ashis</b></a></li>
          <li><a href="#"><b>Projects</b></a></li>
          <li><a href="#"><b>Contact</b></a></li>
      
          
        </ul>
         <img src="https://www.dropbox.com/s/crgmv32uhvxl36q/ash_profile1.png?raw=1" alt="Ashis" class="big-ash">
      
      
    </div>
  
<a id='twitter' href="https://twitter.com/asherwilens" target="_blank"><span class='fa fa-twitter'></span></a>
</div>


<div class="content-area">

  <div class="header shine">
  <h1 class="header__initials">AW</h1>
    
  <div class="header__title split">
    <h2>Asher Willens</h2>
    <p>Animator &amp; Motion Designer</p>
</div>
  </div>
  
</div>

<script src=
  "https://cdnjs.cloudflare.com/ajax/libs/bodymovin/4.13.0/bodymovin.min.js"
</script>
              
            
!

CSS

              
                
 body {
  font-family: "Poppins", sans-serif;
  width: 100%;
  height: 100vh;
  overflow: hidden;

  background: #12c2e9; /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #12c2e9, #c471ed, #f64f59); /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #12c2e9, #c471ed, #f64f59);
  display: flex;
  align-items: center;
  justify-content: center;
}


ul {
    font-family: "Poppins", sans-serif;
  list-style-type: none;
  margin-left: 4.2em;
  padding-top:20px;
  font-size: 2em;
  letter-spacing: 9px;
  line-height: 2.5em;
}

li {
  transition: all .75s ease;
  text-transform: none;
}

li:hover {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

a {
  text-decoration: none;
  color: #f4ac41;
  transition: all 1s ease;
  cursor: pointer;
}


a:hover {
  outline: none;
  color: #2D3132;
}

#modal-nav-overlay {
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
  text-align: center;
  opacity: 1;
  z-index: 2;
}

.content-area {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: -1;
}

.content-area p {
  font-size: 1.25em;
  width: 300px;
}

#menu {
  transition: opacity 0.25s ease 0.25s, color 0.2s, -webkit-transform 0.2s;
  transition: opacity 0.25s ease 0.25s, color 0.2s, transform 0.2s;
  transition: opacity 0.25s ease 0.25s, color 0.2s, transform 0.2s, -webkit-transform 0.2s;
  opacity: 1;
  margin: -19px 13px;
  line-height: .25em;
  font-size: 2em;
  color: #CB4EA6;
  border: none;
  background: none;
  position: fixed;
  top: .0em;
  left: .0em;
  padding: .5em;
  z-index: 1;
}

.open #menu {
  opacity: 0;
}

.close #menu {
  opacity: 1;
}

#x-btn {
  transition: opacity 0.25s ease 0.1s, color 0.2s, -webkit-transform 0.2s;
  transition: opacity 0.25s ease 0.1s, color 0.2s, transform 0.2s;
  transition: opacity 0.25s ease 0.1s, color 0.2s, transform 0.2s, -webkit-transform 0.2s;
  opacity: 0;
  border: none;
  background: none;
  position: fixed;
  top: .5em;
  left: .5em;
  font-size: 1.5em;
  padding: 1em;
  cursor: pointer;
  z-index: 3;
}

.open #x-btn {
  opacity: 1;
}

.close #x-btn {
  opacity: 0;
}

#x-btn:focus {
  outline: none;
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

#x-btn:hover {
  -webkit-transform: scale(1.2);
          transform: scale(1.2);
}

.modal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 2;
}
.modal__content {
  opacity: 0;
  -webkit-transform: scale(0.8) translate3D(0, -20px, 0);
          transform: scale(0.8) translate3D(0, -20px, 0);
  transition: opacity 0.2s, -webkit-transform 0.8s cubic-bezier(0.09, 0.52, 0.25, 1);
  transition: opacity 0.2s, transform 0.8s cubic-bezier(0.09, 0.52, 0.25, 1);
  transition: opacity 0.2s, transform 0.8s cubic-bezier(0.09, 0.52, 0.25, 1), -webkit-transform 0.8s cubic-bezier(0.09, 0.52, 0.25, 1);
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 1em;
}
.modal h1 {
  text-transform: uppercase;
  letter-spacing: 0.4em;
}
.modal p {
  max-width: 25em;
  line-height: 1.9;
}

.open .modal__content {
  opacity: 1;
  -webkit-transform: scale(1) translate3D(0, 0, 0);
          transform: scale(1) translate3D(0, 0, 0);
}


.header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  
  
}
.header__initials {
  display: inline-block;
  font-size: 85vh;
  line-height: 1em;
  color: #e2e6ee;
  background: url("https://static1.squarespace.com/static/585a923a2e69cf2bd5501067/t/5a1488240d9297443db86591/1511295266420/Spaceman-City-low-res.gif");
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-size: contain;
  background-position: center;
/*   -webkit-mask-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/9674/splatter-mask_1.png);
	mask-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/9674/splatter-mask_1.png);  */
}

.header__title {
  position: absolute;
  text-align: center;
  color: #f4ac41;
/*     background: url("https://static1.squarespace.com/static/585a923a2e69cf2bd5501067/t/5a1488240d9297443db86591/1511295266420/Spaceman-City-low-res.gif"); 
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  */
text-shadow: 2px 2px 2px rgba(0,0,0,0.3),
                 0px -5px 35px rgba(255,255,255,0.9);
  
}
.header__title h2 {
  font-size: 48px;
  letter-spacing: 1.2px;
  margin-bottom: 0;
  
}
.header__title p {
  font-size: 14px;
  letter-spacing: 0.7px;
  margin-top: 0px;
  text-transform: uppercase;
}

.shine {
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
background: linear-gradient(90deg, rgba(0,0,0,.4) 0%,rgba(0,0,0,.2) 60%);
z-index: 0;
}

#twitter{
  position:absolute;
  bottom:15px;
  right:20px;
  font-size: 1.23em;
}

.big-ash{
  
  position:absolute;
  left:-120px;
  top: 120px;
  z-index: -1;
  
  
  
}



              
            
!

JS

              
                // Declare the animation container and parameter to be used in the animation
var animContainer = document.getElementById('modal-nav-overlay');
// The animation data exported from Adobe After Effects
var animationData = {"v":"5.1.5","fr":30,"ip":0,"op":30,"w":1200,"h":1200,"nm":"Menu Overlay","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"Blob 4","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[600,0,0],"ix":2},"a":{"a":0,"k":[-1.146,-602.521,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.532,"y":0.437},"o":{"x":0.749,"y":0},"n":"0p532_0p437_0p749_0","t":9,"s":[{"i":[[0,0],[0,0],[173.035,-0.597],[167.837,-0.432],[0,0],[0,0]],"o":[[0,0],[0,0],[-173.035,0.597],[-167.837,0.432],[0,0],[0,0]],"v":[[600.146,-102.5],[600.146,-101],[207.035,-101.097],[-231.663,-101.432],[-599.854,-100.5],[-599.854,-102.5]],"c":true}],"e":[{"i":[[0,0],[0,0],[310.791,56.115],[279.093,-62.289],[0,0],[0,0]],"o":[[0,0],[0,0],[-246.742,-44.551],[-244.533,54.575],[0,0],[0,0]],"v":[[600,-100],[599.708,0.719],[230.216,230.935],[-201.511,-16.446],[-600.561,-96],[-600,-100]],"c":true}]},{"i":{"x":0.659,"y":0.637},"o":{"x":0.391,"y":0.471},"n":"0p659_0p637_0p391_0p471","t":14,"s":[{"i":[[0,0],[0,0],[310.791,56.115],[279.093,-62.289],[0,0],[0,0]],"o":[[0,0],[0,0],[-246.742,-44.551],[-244.533,54.575],[0,0],[0,0]],"v":[[600,-100],[599.708,0.719],[230.216,230.935],[-201.511,-16.446],[-600.561,-96],[-600,-100]],"c":true}],"e":[{"i":[[0,0],[0,0],[280.995,-15.389],[269.667,-41.413],[0,0],[0,0]],"o":[[0,0],[0,0],[-226.734,12.417],[-272.797,41.894],[0,0],[0,0]],"v":[[600,-100],[599.109,991.331],[278.582,586.942],[-236.555,872.495],[-600.891,1079.029],[-600,-100]],"c":true}]},{"i":{"x":0.157,"y":1},"o":{"x":0.339,"y":0.362},"n":"0p157_1_0p339_0p362","t":21,"s":[{"i":[[0,0],[0,0],[280.995,-15.389],[269.667,-41.413],[0,0],[0,0]],"o":[[0,0],[0,0],[-226.734,12.417],[-272.797,41.894],[0,0],[0,0]],"v":[[600,-100],[599.109,991.331],[278.582,586.942],[-236.555,872.495],[-600.891,1079.029],[-600,-100]],"c":true}],"e":[{"i":[[0,0],[0,0],[146.902,0.025],[150.503,-0.059],[0,0],[0,0]],"o":[[0,0],[0,0],[-146.902,-0.025],[-150.503,0.059],[0,0],[0,0]],"v":[[600,-100],[599.812,1100.122],[208.402,1100.025],[-231.997,1099.941],[-600.188,1100.122],[-600,-100]],"c":true}]},{"t":29}],"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 4","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-1.146,-502.521],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 1","np":3,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":9,"op":39,"st":9,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Blob 3","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[600,0,0],"ix":2},"a":{"a":0,"k":[-1.146,-602.521,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.532,"y":0.437},"o":{"x":0.749,"y":0},"n":"0p532_0p437_0p749_0","t":6,"s":[{"i":[[0,0],[0,0],[173.035,-0.597],[167.837,-0.432],[0,0],[0,0]],"o":[[0,0],[0,0],[-173.035,0.597],[-167.837,0.432],[0,0],[0,0]],"v":[[600.146,-102.5],[600.146,-101],[207.035,-101.097],[-231.663,-101.432],[-599.854,-100.5],[-599.854,-102.5]],"c":true}],"e":[{"i":[[0,0],[0,0],[310.791,56.115],[279.093,-62.289],[0,0],[0,0]],"o":[[0,0],[0,0],[-246.742,-44.551],[-244.533,54.575],[0,0],[0,0]],"v":[[600,-100],[599.708,0.719],[230.216,230.935],[-201.511,-16.446],[-600.561,-96],[-600,-100]],"c":true}]},{"i":{"x":0.659,"y":0.637},"o":{"x":0.391,"y":0.471},"n":"0p659_0p637_0p391_0p471","t":11,"s":[{"i":[[0,0],[0,0],[310.791,56.115],[279.093,-62.289],[0,0],[0,0]],"o":[[0,0],[0,0],[-246.742,-44.551],[-244.533,54.575],[0,0],[0,0]],"v":[[600,-100],[599.708,0.719],[230.216,230.935],[-201.511,-16.446],[-600.561,-96],[-600,-100]],"c":true}],"e":[{"i":[[0,0],[0,0],[280.995,-15.389],[269.667,-41.413],[0,0],[0,0]],"o":[[0,0],[0,0],[-226.734,12.417],[-272.797,41.894],[0,0],[0,0]],"v":[[600,-100],[599.109,991.331],[278.582,586.942],[-236.555,872.495],[-600.891,1079.029],[-600,-100]],"c":true}]},{"i":{"x":0.157,"y":1},"o":{"x":0.339,"y":0.362},"n":"0p157_1_0p339_0p362","t":18,"s":[{"i":[[0,0],[0,0],[280.995,-15.389],[269.667,-41.413],[0,0],[0,0]],"o":[[0,0],[0,0],[-226.734,12.417],[-272.797,41.894],[0,0],[0,0]],"v":[[600,-100],[599.109,991.331],[278.582,586.942],[-236.555,872.495],[-600.891,1079.029],[-600,-100]],"c":true}],"e":[{"i":[[0,0],[0,0],[146.902,0.025],[150.503,-0.059],[0,0],[0,0]],"o":[[0,0],[0,0],[-146.902,-0.025],[-150.503,0.059],[0,0],[0,0]],"v":[[600,-100],[599.812,1100.122],[208.402,1100.025],[-231.997,1099.941],[-600.188,1100.122],[-600,-100]],"c":true}]},{"t":26}],"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,0.876148897059,0.963334147135,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 3","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-1.146,-502.521],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 1","np":3,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":6,"op":36,"st":6,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"Blob 2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[600,0,0],"ix":2},"a":{"a":0,"k":[-1.146,-602.521,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.532,"y":0.437},"o":{"x":0.749,"y":0},"n":"0p532_0p437_0p749_0","t":3,"s":[{"i":[[0,0],[0,0],[173.035,-0.597],[167.837,-0.432],[0,0],[0,0]],"o":[[0,0],[0,0],[-173.035,0.597],[-167.837,0.432],[0,0],[0,0]],"v":[[600.146,-102.5],[600.146,-101],[207.035,-101.097],[-231.663,-101.432],[-599.854,-100.5],[-599.854,-102.5]],"c":true}],"e":[{"i":[[0,0],[0,0],[310.791,56.115],[279.093,-62.289],[0,0],[0,0]],"o":[[0,0],[0,0],[-246.742,-44.551],[-244.533,54.575],[0,0],[0,0]],"v":[[600,-100],[599.708,0.719],[230.216,230.935],[-201.511,-16.446],[-600.561,-96],[-600,-100]],"c":true}]},{"i":{"x":0.659,"y":0.637},"o":{"x":0.391,"y":0.471},"n":"0p659_0p637_0p391_0p471","t":8,"s":[{"i":[[0,0],[0,0],[310.791,56.115],[279.093,-62.289],[0,0],[0,0]],"o":[[0,0],[0,0],[-246.742,-44.551],[-244.533,54.575],[0,0],[0,0]],"v":[[600,-100],[599.708,0.719],[230.216,230.935],[-201.511,-16.446],[-600.561,-96],[-600,-100]],"c":true}],"e":[{"i":[[0,0],[0,0],[280.995,-15.389],[269.667,-41.413],[0,0],[0,0]],"o":[[0,0],[0,0],[-226.734,12.417],[-272.797,41.894],[0,0],[0,0]],"v":[[600,-100],[599.109,991.331],[278.582,586.942],[-236.555,872.495],[-600.891,1079.029],[-600,-100]],"c":true}]},{"i":{"x":0.157,"y":1},"o":{"x":0.339,"y":0.362},"n":"0p157_1_0p339_0p362","t":15,"s":[{"i":[[0,0],[0,0],[280.995,-15.389],[269.667,-41.413],[0,0],[0,0]],"o":[[0,0],[0,0],[-226.734,12.417],[-272.797,41.894],[0,0],[0,0]],"v":[[600,-100],[599.109,991.331],[278.582,586.942],[-236.555,872.495],[-600.891,1079.029],[-600,-100]],"c":true}],"e":[{"i":[[0,0],[0,0],[146.902,0.025],[150.503,-0.059],[0,0],[0,0]],"o":[[0,0],[0,0],[-146.902,-0.025],[-150.503,0.059],[0,0],[0,0]],"v":[[600,-100],[599.812,1100.122],[208.402,1100.025],[-231.997,1099.941],[-600.188,1100.122],[-600,-100]],"c":true}]},{"t":23}],"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,0.578170955882,0.734185731177,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 2","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-1.146,-502.521],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 1","np":3,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":3,"op":33,"st":3,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"Blob 1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[600,0,0],"ix":2},"a":{"a":0,"k":[-1.146,-602.521,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":1,"k":[{"i":{"x":0.532,"y":0.437},"o":{"x":0.749,"y":0},"n":"0p532_0p437_0p749_0","t":0,"s":[{"i":[[0,0],[0,0],[173.035,-0.597],[167.837,-0.432],[0,0],[0,0]],"o":[[0,0],[0,0],[-173.035,0.597],[-167.837,0.432],[0,0],[0,0]],"v":[[600.146,-102.5],[600.146,-101],[207.035,-101.097],[-231.663,-101.432],[-599.854,-100.5],[-599.854,-102.5]],"c":true}],"e":[{"i":[[0,0],[0,0],[310.791,56.115],[279.093,-62.289],[0,0],[0,0]],"o":[[0,0],[0,0],[-246.742,-44.551],[-244.533,54.575],[0,0],[0,0]],"v":[[600,-100],[599.708,0.719],[230.216,230.935],[-201.511,-16.446],[-600.561,-96],[-600,-100]],"c":true}]},{"i":{"x":0.659,"y":0.637},"o":{"x":0.391,"y":0.471},"n":"0p659_0p637_0p391_0p471","t":5,"s":[{"i":[[0,0],[0,0],[310.791,56.115],[279.093,-62.289],[0,0],[0,0]],"o":[[0,0],[0,0],[-246.742,-44.551],[-244.533,54.575],[0,0],[0,0]],"v":[[600,-100],[599.708,0.719],[230.216,230.935],[-201.511,-16.446],[-600.561,-96],[-600,-100]],"c":true}],"e":[{"i":[[0,0],[0,0],[280.995,-15.389],[269.667,-41.413],[0,0],[0,0]],"o":[[0,0],[0,0],[-226.734,12.417],[-272.797,41.894],[0,0],[0,0]],"v":[[600,-100],[599.109,991.331],[278.582,586.942],[-236.555,872.495],[-600.891,1079.029],[-600,-100]],"c":true}]},{"i":{"x":0.157,"y":1},"o":{"x":0.339,"y":0.362},"n":"0p157_1_0p339_0p362","t":12,"s":[{"i":[[0,0],[0,0],[280.995,-15.389],[269.667,-41.413],[0,0],[0,0]],"o":[[0,0],[0,0],[-226.734,12.417],[-272.797,41.894],[0,0],[0,0]],"v":[[600,-100],[599.109,991.331],[278.582,586.942],[-236.555,872.495],[-600.891,1079.029],[-600,-100]],"c":true}],"e":[{"i":[[0,0],[0,0],[146.902,0.025],[150.503,-0.059],[0,0],[0,0]],"o":[[0,0],[0,0],[-146.902,-0.025],[-150.503,0.059],[0,0],[0,0]],"v":[[600,-100],[599.812,1100.122],[208.402,1100.025],[-231.997,1099.941],[-600.188,1100.122],[-600,-100]],"c":true}]},{"t":20}],"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.909911151961,0.531771132525,0.799701526118,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[-1.146,-502.521],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Rectangle 1","np":3,"cix":2,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":30,"st":0,"bm":0}],"markers":[]};
var params = {
    container: animContainer,
    renderer: 'svg',
    loop: false,
    autoplay: false,
    prerender: false,
    animationData: animationData,
    rendererSettings: { 
        progressiveLoad: false,
        preserveAspectRatio:'none',
    }
};

// load animation and set variables
var anim = bodymovin.loadAnimation(params);
var body = document.body;
var close = document.getElementById('x-btn');
var open = document.getElementById('menu');

//set initial animation direction
anim.setDirection(-1);

//add click listener to the button
close.addEventListener("click", function() {

// if the menu is closed, play the animation and open it
  if (anim.playDirection == -1){
    anim.setDirection(1);
    anim.play();
    anim.addEventListener("complete", function() {
      body.classList.remove("close")
      body.classList.add("open")
    });
  }

//otherwise, make sure it's closed and animate accordingly
  else {
    body.classList.remove("open")
    body.classList.add("close")
    anim.setDirection(-1);
    anim.play();
    anim.addEventListener("complete", function() {
      body.classList.remove("open")
      body.classList.add("close")
    });
  }
});

var titleWrap = document.getElementsByClassName('header__initials');
			document.body.addEventListener('mousemove', cursorPositionHandler);

			function cursorPositionHandler(e) {
				var decimalX = e.clientX / window.innerWidth - 0.5;
				var decimalY = e.clientY / window.innerHeight - 0.5;
				TweenMax.to(titleWrap, 0.5, { rotationY: 12 * decimalX, rotationX: 12 * decimalY, ease: Quad.easeOut, transformPerspective: 700, transformOrigin: "center" });
			}

(function(){
var text = $(".split");

var split = new SplitText(text);

function random(min, max){
	return (Math.random() * (max - min)) + min;
}

$(split.chars).each(function(i){
	TweenMax.from($(this), 5.5, {
		opacity: 0,
		x: random(-200, 200),
		y: random(-200, 200),
		z: random(-200, 200),
		scale: .1,
		delay: i * .02,
		yoyo: true,
		repeat: -1,
		repeatDelay: 3.5
	});
});
})();



var $poster = $('#card-container'),
  $shine = $('.shine'),
  w = $(window).width(),
  h = $(window).height();

$(window).on('mousemove', function(e) {
  var offsetX = 0.5 - e.pageX / w,
    offsetY = 0.5 - e.pageY / h,
    dy = e.pageY - h / 2,
    dx = e.pageX - w / 2,
    theta = Math.atan2(dy, dx),
    angle = theta * 180 / Math.PI - 90,
    offsetPoster = $poster.data('offset'),
    transformPoster = 'translateY(' + -offsetX * offsetPoster + 'px) rotateX(' + (-offsetY * offsetPoster) + 'deg) rotateY(' + (offsetX * (offsetPoster * 2)) + 'deg)';

 
  $shine.css('background', 'linear-gradient(' + angle + 'deg, rgba(214,197,200,' + (e.pageY / h /5)  + ') 0%,rgba(0,8,0,.25) 80%)');

});



              
            
!
999px

Console