Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ 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.

Details

Privacy

Go PRO Window blinds lowered to protect code. Code Editor with window blinds (raised) and a light blub turned on.

Keep it secret; keep it safe.

Private Pens are hidden everywhere on CodePen, except to you. You can still share them and other people can see them, they just can't find them through searching or browsing.

Upgrade to PRO

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.

Template

Make Template?

Templates are Pens that can be used to start other Pens quickly from the create menu. The new Pen will copy all the code and settings from the template and make a new Pen (that is not a fork). You can view all of your templates, or learn more in the documentation.

Template URL

Any Pen can act as a template (even if you don't flip the toggle above) with a special URL you can use yourself or share with others. Here's this Pen's template URL:

Screenshot

Screenshot or Custom Thumbnail

Screenshots of Pens are shown in mobile browsers, RSS feeds, to users who chose images instead of iframes, and in social media sharing.

This Pen is using the default Screenshot, generated by CodePen. Upgrade to PRO to upload your own thumbnail that will be displayed on previews of this pen throughout the site and when sharing to social media.

Upgrade to PRO

HTML

              
                <div id="loot">
			<div id="crate_anim_container">
				<img id="crate_anim" src="http://rabondigital.com/client/lootcrate/crate.jpg" border="0"/>
			</div>
			<div id="lighting"></div>
			<div id="crate_particles"></div>
			<svg id="txt_frame1" viewBox="0 0 300 250" width="300" height="250">
				<path class="frame1" fill="#FFFFFF" d="M25.2,22.4l0.6-2h-2.4l1.4-4.3h-2.4l-1.4,4.3h-2.3l1.4-4.3h-2.3l-1.4,4.3h-2.5l-0.6,2h2.4l-1.3,4.1h-2.4
					l-0.6,2h2.4l-1.4,4.2h2.3l1.4-4.2h2.4l-1.4,4.2h2.4l1.4-4.2h2.6l0.6-2h-2.5l1.4-4.1H25.2z M19,26.5h-2.3l1.3-4.1h2.3L19,26.5z"/>
				<path class="frame1" fill="#FFFFFF" d="M34.9,32.8V16.1h-3.1l-5.2,5.3l2,2.1l2.8-2.8v12.1H34.9z"/>
				<path class="frame1" d="M49.5,33c2.4,0,4.3-1,5.7-2.5v-5.1h-6.4v2.5h3.5v1.6c-0.5,0.5-1.6,1-2.8,1c-2.4,0-4.2-1.9-4.2-4.4c0-2.5,1.8-4.4,4.2-4.4
					c1.4,0,2.5,0.8,3.2,1.7l2.3-1.3c-1-1.6-2.7-3-5.5-3c-3.9,0-7.1,2.7-7.1,6.9C42.3,30.3,45.5,33,49.5,33z"/>
				<path class="frame1" d="M66.5,28.2c0-3.1-1.9-5.3-4.8-5.3c-2.9,0-5,2.3-5,5.1c0,3.1,2.2,5.1,5.2,5.1c1.5,0,3-0.5,4-1.3L64.7,30
					C64.1,30.6,63,31,62.1,31c-1.6,0-2.6-1-2.8-2.2h7.2V28.2z M59.3,27c0.1-1,0.8-2.1,2.4-2.1c1.7,0,2.3,1.1,2.4,2.1H59.3z"/>
				<path class="frame1" d="M77.6,28.2c0-3.1-1.9-5.3-4.8-5.3c-2.9,0-5,2.3-5,5.1c0,3.1,2.2,5.1,5.2,5.1c1.5,0,3-0.5,4-1.3L75.8,30
					C75.1,30.6,74,31,73.2,31c-1.6,0-2.6-1-2.8-2.2h7.2V28.2z M70.4,27c0.1-1,0.8-2.1,2.4-2.1c1.7,0,2.3,1.1,2.4,2.1H70.4z"/>
				<path class="frame1" d="M88.9,32.8l-3.9-5.3l3.8-4.4h-3.1L82,27.4v-8h-2.5v13.3H82v-2.5l1.2-1.2l2.6,3.7H88.9z"/>
				<path class="frame1" fill="#FFFFFF" d="M103.5,26.8v-1.6H100v-3.9h-1.7v3.9h-3.6v1.6h3.6v4.1h1.7v-4.1H103.5z"/>
				<path class="frame1" d="M117.1,33c2.4,0,4.3-1,5.7-2.5v-5.1h-6.4v2.5h3.5v1.6c-0.5,0.5-1.6,1-2.8,1c-2.4,0-4.2-1.9-4.2-4.4c0-2.5,1.8-4.4,4.2-4.4
					c1.4,0,2.5,0.8,3.2,1.7l2.3-1.3c-1-1.6-2.7-3-5.5-3c-3.9,0-7.1,2.7-7.1,6.9C109.9,30.3,113.1,33,117.1,33z"/>
				<path class="frame1" d="M129,22.9c-1.5,0-3,0.5-4.2,1.5l1,1.8c0.8-0.7,1.8-1.1,2.8-1.1c1.3,0,2.1,0.6,2.1,1.6v1.2c-0.6-0.8-1.8-1.2-3.1-1.2
					c-1.5,0-3.3,0.8-3.3,3.1c0,2.2,1.8,3.2,3.3,3.2c1.3,0,2.4-0.5,3.1-1.3v1h2.6v-6.2C133.3,23.8,131.3,22.9,129,22.9z M130.7,30.5
					c-0.4,0.6-1.2,0.8-2,0.8c-1,0-1.8-0.5-1.8-1.4c0-0.9,0.8-1.5,1.8-1.5c0.8,0,1.6,0.3,2,0.9V30.5z"/>
				<path class="frame1" d="M150.3,32.8v-7c0-2-1.1-2.9-2.8-2.9c-1.5,0-2.8,0.9-3.3,1.7c-0.3-1.1-1.3-1.7-2.7-1.7c-1.5,0-2.7,0.9-3.2,1.5v-1.2h-2.5v9.7
					h2.5v-6.5c0.4-0.5,1.1-1.1,2-1.1c1,0,1.4,0.6,1.4,1.5v6.1h2.6v-6.5c0.4-0.5,1.1-1.1,2-1.1c1,0,1.4,0.6,1.4,1.5v6.1H150.3z"/>
				<path class="frame1" d="M162.1,28.2c0-3.1-1.9-5.3-4.8-5.3c-2.9,0-5,2.3-5,5.1c0,3.1,2.2,5.1,5.2,5.1c1.5,0,3-0.5,4-1.3l-1.1-1.7
					c-0.6,0.6-1.7,0.9-2.6,0.9c-1.6,0-2.6-1-2.8-2.2h7.2V28.2z M154.9,27c0.1-1,0.8-2.1,2.4-2.1c1.7,0,2.3,1.1,2.4,2.1H154.9z"/>
				<path class="frame1" d="M166.4,32.8v-6.4c0.4-0.6,1.5-1.1,2.4-1.1c0.3,0,0.5,0,0.7,0.1v-2.5c-1.2,0-2.4,0.7-3.1,1.5v-1.3h-2.5v9.7H166.4z"/>
				<path class="frame1" fill="#FFFFFF" d="M190.8,32.8V19.5h-4l-3.2,8.3l-3.2-8.3h-4v13.3h2.8v-9.6l3.8,9.6h1.2l3.8-9.6v9.6H190.8z"/>
				<path class="frame1" fill="#FFFFFF" d="M197.8,22.9c-3.2,0-5.1,2.3-5.1,5.1c0,2.7,1.9,5.1,5.1,5.1c3.2,0,5.1-2.3,5.1-5.1
					C202.9,25.2,201,22.9,197.8,22.9z M197.8,30.8c-1.6,0-2.5-1.3-2.5-2.8c0-1.5,0.9-2.8,2.5-2.8c1.6,0,2.5,1.3,2.5,2.8
					C200.3,29.5,199.4,30.8,197.8,30.8z"/>
				<path class="frame1" fill="#FFFFFF" d="M213.9,32.8V26c0-1.9-1-3.1-3.2-3.1c-1.6,0-2.8,0.8-3.4,1.5v-1.2h-2.5v9.7h2.5v-6.5c0.4-0.6,1.2-1.1,2.2-1.1
					c1.1,0,1.8,0.5,1.8,1.8v5.8H213.9z"/>
				<path class="frame1" fill="#FFFFFF" d="M219.7,33c1.1,0,1.7-0.3,2.1-0.6l-0.5-1.9c-0.1,0.2-0.5,0.3-0.9,0.3c-0.6,0-0.9-0.5-0.9-1.1v-4.3h2v-2.2h-2
					v-2.6h-2.5v2.6h-1.6v2.2h1.6v5C216.9,32.1,217.9,33,219.7,33z"/>
				<path class="frame1" fill="#FFFFFF" d="M232.3,32.8v-6.9c0-1.9-1-3-3.1-3c-1.6,0-2.8,0.8-3.4,1.5v-4.9h-2.6v13.3h2.6v-6.5c0.4-0.6,1.2-1.1,2.2-1.1
					c1.1,0,1.8,0.4,1.8,1.8v5.9H232.3z"/>
				<path class="frame1" fill="#FFFFFF" d="M237.3,32.8V19.5h-2.5v13.3H237.3z"/>
				<path class="frame1" fill="#FFFFFF" d="M239.5,36.6c0.3,0.1,1,0.2,1.2,0.2c1.7,0,2.9-0.5,3.7-2.3l4.5-11.2h-2.7l-2.5,6.7l-2.5-6.7h-2.7l3.9,9.8
					l-0.4,0.8c-0.2,0.5-0.7,0.7-1.3,0.7c-0.2,0-0.6-0.1-0.8-0.2L239.5,36.6z"/>
				<path class="frame1" fill="#FFFFFF" d="M263.9,25.9c1.3-0.3,2.3-1.4,2.3-3.1c0-1.8-1.3-3.4-3.8-3.4h-7v13.3h7.2c2.6,0,3.9-1.6,3.9-3.6
					C266.4,27.5,265.3,26.1,263.9,25.9z M258.1,22h3.6c1,0,1.6,0.6,1.6,1.4c0,0.9-0.6,1.4-1.6,1.4h-3.6V22z M261.8,30.3h-3.7v-3h3.7
					c1.1,0,1.7,0.7,1.7,1.5C263.5,29.7,262.9,30.3,261.8,30.3z"/>
				<path class="frame1" fill="#FFFFFF" d="M273,22.9c-3.2,0-5.1,2.3-5.1,5.1c0,2.7,1.9,5.1,5.1,5.1c3.2,0,5.1-2.3,5.1-5.1
					C278.1,25.2,276.2,22.9,273,22.9z M273,30.8c-1.6,0-2.5-1.3-2.5-2.8c0-1.5,0.9-2.8,2.5-2.8c1.6,0,2.5,1.3,2.5,2.8
					C275.5,29.5,274.6,30.8,273,30.8z"/>
				<path class="frame1" fill="#FFFFFF" d="M288.1,32.8l-3.4-5l3.2-4.7h-2.8l-2,3l-2-3h-2.8l3.2,4.7l-3.4,5h2.8l2.2-3.3l2.2,3.3H288.1z"/>
			</svg>
			<svg id="txt_presents" viewBox="0 0 300 250" width="300" height="250">
				<path class="presents" fill="#FFFFFF" d="M101.4,114.9c-1.4,0-2.7,0.6-3.6,1.8v-1.5h-3v16h3v-5.9c1,1.2,2.2,1.8,3.6,1.8c3,0,5.1-2.2,5.1-6.1
					C106.5,117.1,104.3,114.9,101.4,114.9z M100.4,124.4c-1,0-2.1-0.6-2.6-1.3V119c0.5-0.8,1.6-1.3,2.6-1.3c1.8,0,3,1.4,3,3.4
					C103.3,123,102.1,124.4,100.4,124.4z"/>
				<path class="presents" fill="#FFFFFF" d="M111.8,126.8v-7.7c0.5-0.7,1.8-1.3,2.9-1.3c0.4,0,0.6,0,0.8,0.1v-3c-1.4,0-2.9,0.8-3.7,1.8v-1.6h-3v11.6
					H111.8z"/>
				<path class="presents" fill="#FFFFFF" d="M128.4,121.3c0-3.8-2.3-6.4-5.8-6.4c-3.5,0-6,2.7-6,6.1c0,3.7,2.7,6.1,6.2,6.1c1.8,0,3.6-0.6,4.8-1.6l-1.4-2
					c-0.7,0.7-2.1,1.1-3.1,1.1c-2,0-3.1-1.2-3.3-2.6h8.6V121.3z M119.8,119.9c0.1-1.2,0.9-2.5,2.8-2.5c2,0,2.8,1.4,2.9,2.5H119.8z"/>
				<path class="presents" fill="#FFFFFF" d="M134.8,127.1c3.2,0,5-1.6,5-3.7c0-4.7-6.9-3.2-6.9-4.9c0-0.6,0.7-1.1,1.8-1.1c1.4,0,2.7,0.6,3.4,1.3l1.2-2.2
					c-1.2-0.9-2.7-1.6-4.7-1.6c-3.1,0-4.8,1.7-4.8,3.6c0,4.6,6.9,3,6.9,4.9c0,0.7-0.6,1.2-1.9,1.2c-1.4,0-3.1-0.8-4-1.6l-1.3,2.2
					C130.8,126.4,132.8,127.1,134.8,127.1z"/>
				<path class="presents" fill="#FFFFFF" d="M153.1,121.3c0-3.8-2.3-6.4-5.8-6.4c-3.5,0-6,2.7-6,6.1c0,3.7,2.7,6.1,6.2,6.1c1.8,0,3.6-0.6,4.8-1.6l-1.4-2
					c-0.7,0.7-2.1,1.1-3.1,1.1c-2,0-3.1-1.2-3.3-2.6h8.6V121.3z M144.5,119.9c0.1-1.2,0.9-2.5,2.8-2.5c2,0,2.8,1.4,2.9,2.5H144.5z"/>
				<path class="presents" fill="#FFFFFF" d="M166.2,126.8v-8.2c0-2.3-1.2-3.7-3.8-3.7c-1.9,0-3.3,0.9-4.1,1.8v-1.5h-3v11.6h3V119
					c0.5-0.7,1.4-1.3,2.6-1.3c1.3,0,2.1,0.6,2.1,2.2v7H166.2z"/>
				<path class="presents" fill="#FFFFFF" d="M173.1,127.1c1.3,0,2.1-0.3,2.5-0.7L175,124c-0.2,0.2-0.6,0.4-1.1,0.4c-0.7,0-1.1-0.6-1.1-1.3v-5.2h2.4v-2.7
					h-2.4V112h-3v3.2H168v2.7h1.9v6C169.9,126,171,127.1,173.1,127.1z"/>
				<path class="presents" fill="#FFFFFF" d="M181.5,127.1c3.2,0,5-1.6,5-3.7c0-4.7-6.9-3.2-6.9-4.9c0-0.6,0.7-1.1,1.8-1.1c1.4,0,2.7,0.6,3.4,1.3l1.2-2.2
					c-1.2-0.9-2.7-1.6-4.7-1.6c-3.1,0-4.8,1.7-4.8,3.6c0,4.6,6.9,3,6.9,4.9c0,0.7-0.6,1.2-1.9,1.2c-1.4,0-3.1-0.8-4-1.6l-1.3,2.2
					C177.6,126.4,179.5,127.1,181.5,127.1z"/>
				<path class="presents" fill="#FFFFFF" d="M192.3,125.1c0-1.1-0.9-1.9-1.9-1.9c-1.1,0-1.9,0.9-1.9,1.9c0,1,0.9,1.9,1.9,1.9
					C191.4,127,192.3,126.2,192.3,125.1z"/>
				<path class="presents" fill="#FFFFFF" d="M198.5,125.1c0-1.1-0.9-1.9-1.9-1.9c-1.1,0-1.9,0.9-1.9,1.9c0,1,0.9,1.9,1.9,1.9
					C197.6,127,198.5,126.2,198.5,125.1z"/>
				<path class="presents" fill="#FFFFFF" d="M204.6,125.1c0-1.1-0.9-1.9-1.9-1.9c-1.1,0-1.9,0.9-1.9,1.9c0,1,0.9,1.9,1.9,1.9
					C203.7,127,204.6,126.2,204.6,125.1z"/>
			</svg>
			<svg id="txt_frame2" viewBox="0 0 300 250" width="300" height="250">
				<path class="frame2_top" id="E" d="M59,25.8v-2.8h-7.3v-3.3h7.1V17h-7.1v-3.1H59v-2.8H48.6v14.7H59z"/>
				<path class="frame2_top" d="M71,25.8l-3.8-5.5l3.5-5.2h-3.1l-2.2,3.3l-2.2-3.3h-3.1l3.6,5.2L60,25.8h3.1l2.4-3.6l2.4,3.6H71z"/>
				<path class="frame2_top" d="M76.6,26.1c2.2,0,3.5-1,4.2-1.9L79,22.4c-0.5,0.7-1.3,1.2-2.2,1.2c-1.7,0-2.9-1.3-2.9-3.1c0-1.8,1.2-3.1,2.9-3.1
					c1,0,1.7,0.4,2.2,1.1l1.8-1.7c-0.7-1-2-1.9-4.2-1.9c-3.3,0-5.6,2.3-5.6,5.6C71,23.8,73.4,26.1,76.6,26.1z"/>
				<path class="frame2_top" d="M85.5,25.8V11.1h-2.8v14.7H85.5z"/>
				<path class="frame2_top" d="M98.2,25.8V15.2h-2.8v7.2c-0.5,0.6-1.3,1.2-2.4,1.2c-1.2,0-2-0.5-2-2v-6.4h-2.8v7.5c0,2.1,1.1,3.3,3.4,3.3
					c1.7,0,3-0.8,3.7-1.6v1.3H98.2z"/>
				<path class="frame2_top" d="M104.8,26.1c2.9,0,4.6-1.4,4.6-3.4c0-4.3-6.3-3-6.3-4.5c0-0.6,0.7-1,1.7-1c1.3,0,2.5,0.6,3.1,1.2l1.1-2
					c-1.1-0.8-2.5-1.5-4.3-1.5c-2.8,0-4.4,1.6-4.4,3.3c0,4.2,6.3,2.8,6.3,4.5c0,0.7-0.6,1.1-1.8,1.1c-1.3,0-2.9-0.7-3.7-1.5l-1.2,2
					C101.2,25.4,102.9,26.1,104.8,26.1z"/>
				<path class="frame2_top" d="M112.8,14c0.9,0,1.7-0.7,1.7-1.7c0-0.9-0.7-1.7-1.7-1.7c-0.9,0-1.7,0.7-1.7,1.7C111.2,13.3,111.9,14,112.8,14z M114.3,25.8
					V15.2h-2.8v10.6H114.3z"/>
				<path class="frame2_top" d="M122.8,25.8l4.3-10.6h-3l-2.8,7.4l-2.8-7.4h-3l4.3,10.6H122.8z"/>
				<path class="frame2_top" d="M138.5,20.7c0-3.5-2.1-5.8-5.3-5.8c-3.2,0-5.5,2.5-5.5,5.6c0,3.4,2.4,5.6,5.7,5.6c1.7,0,3.3-0.5,4.4-1.5l-1.3-1.8
					c-0.7,0.7-1.9,1-2.8,1c-1.8,0-2.9-1.1-3.1-2.4h7.9V20.7z M130.5,19.5c0.1-1.1,0.9-2.3,2.6-2.3c1.8,0,2.6,1.3,2.6,2.3H130.5z"/>
				<path class="frame2_top" fill="#FFFFFF" d="M149.3,25.8V11.1h-3.1v14.7H149.3z"/>
				<path class="frame2_top" fill="#FFFFFF" d="M155.7,26.1c1.2,0,1.9-0.3,2.3-0.7l-0.6-2.1c-0.2,0.2-0.6,0.3-1,0.3c-0.6,0-1-0.5-1-1.2v-4.8h2.2v-2.4h-2.2
					v-2.9h-2.8v2.9H151v2.4h1.8v5.5C152.7,25.1,153.8,26.1,155.7,26.1z"/>
				<path class="frame2_top" fill="#FFFFFF" d="M169.7,20.7c0-3.5-2.1-5.8-5.3-5.8c-3.2,0-5.5,2.5-5.5,5.6c0,3.4,2.4,5.6,5.7,5.6c1.7,0,3.3-0.5,4.4-1.5
					l-1.3-1.8c-0.7,0.7-1.9,1-2.8,1c-1.8,0-2.9-1.1-3.1-2.4h7.9V20.7z M161.8,19.5c0.1-1.1,0.9-2.3,2.6-2.3c1.8,0,2.6,1.3,2.6,2.3H161.8
					z"/>
				<path class="frame2_top" fill="#FFFFFF" d="M187.8,25.8v-7.7c0-2.2-1.2-3.2-3.1-3.2c-1.6,0-3,1-3.7,1.9c-0.4-1.2-1.4-1.9-2.9-1.9c-1.6,0-3,1-3.5,1.6
					v-1.4h-2.8v10.6h2.8v-7.2c0.4-0.6,1.2-1.2,2.2-1.2c1.1,0,1.6,0.7,1.6,1.7v6.7h2.8v-7.2c0.4-0.6,1.2-1.2,2.2-1.2
					c1.1,0,1.6,0.7,1.6,1.7v6.7H187.8z"/>
				<path class="frame2_top" fill="#FFFFFF" d="M194.4,26.1c2.9,0,4.6-1.4,4.6-3.4c0-4.3-6.3-3-6.3-4.5c0-0.6,0.7-1,1.7-1c1.3,0,2.5,0.6,3.1,1.2l1.1-2
					c-1.1-0.8-2.5-1.5-4.3-1.5c-2.8,0-4.4,1.6-4.4,3.3c0,4.2,6.3,2.8,6.3,4.5c0,0.7-0.6,1.1-1.8,1.1c-1.3,0-2.9-0.7-3.7-1.5l-1.2,2
					C190.7,25.4,192.5,26.1,194.4,26.1z"/>
				<path class="frame2_top" fill="#FFFFFF" d="M210.1,25.8v-8.2h2.2v-2.4h-2.2v-0.4c0-1,0.5-1.5,1.3-1.5c0.5,0,0.9,0.2,1.2,0.4l1.1-1.7
					c-0.6-0.7-1.7-1-2.8-1c-2.1,0-3.6,1.4-3.6,3.8v0.4h-1.8v2.4h1.8v8.2H210.1z"/>
				<path class="frame2_top" fill="#FFFFFF" d="M216.7,25.8v-7c0.5-0.7,1.7-1.2,2.6-1.2c0.3,0,0.6,0,0.8,0.1v-2.7c-1.3,0-2.6,0.8-3.4,1.7v-1.4h-2.8v10.6
					H216.7z"/>
				<path class="frame2_top" fill="#FFFFFF" d="M226.7,14.9c-3.5,0-5.6,2.6-5.6,5.6s2.1,5.6,5.6,5.6c3.5,0,5.6-2.6,5.6-5.6S230.2,14.9,226.7,14.9z
					 M226.7,23.6c-1.7,0-2.7-1.4-2.7-3.1c0-1.7,1-3.1,2.7-3.1c1.8,0,2.7,1.4,2.7,3.1C229.4,22.1,228.5,23.6,226.7,23.6z"/>
				<path class="frame2_top" fill="#FFFFFF" d="M250.4,25.8v-7.7c0-2.2-1.2-3.2-3.1-3.2c-1.6,0-3,1-3.7,1.9c-0.4-1.2-1.4-1.9-2.9-1.9c-1.6,0-3,1-3.5,1.6
					v-1.4h-2.8v10.6h2.8v-7.2c0.4-0.6,1.2-1.2,2.2-1.2c1.1,0,1.6,0.7,1.6,1.7v6.7h2.8v-7.2c0.4-0.6,1.2-1.2,2.2-1.2
					c1.1,0,1.6,0.7,1.6,1.7v6.7H250.4z"/>
				<path class="frame2_btm" id="M" d="M71.2,44.8V30.1h-4.4l-3.6,9.2l-3.6-9.2h-4.4v14.7h3.1V34.2l4.1,10.6h1.4l4.1-10.6v10.6H71.2z"/>
				<path class="frame2_btm" d="M78.6,33.9c-1.7,0-3.3,0.5-4.6,1.7l1.1,2c0.9-0.8,1.9-1.3,3.1-1.3c1.4,0,2.3,0.7,2.3,1.8v1.3c-0.7-0.8-1.9-1.3-3.4-1.3
					c-1.7,0-3.7,0.9-3.7,3.4c0,2.4,2,3.5,3.7,3.5c1.4,0,2.6-0.5,3.4-1.4v1.1h2.8v-6.9C83.2,34.9,81,33.9,78.6,33.9z M80.4,42.2
					c-0.5,0.6-1.3,0.9-2.2,0.9c-1.1,0-2-0.6-2-1.6c0-1,0.9-1.6,2-1.6c0.9,0,1.8,0.3,2.2,0.9V42.2z"/>
				<path class="frame2_btm" d="M93.3,34.2v1.4c-0.9-1.1-2-1.6-3.3-1.6c-2.7,0-4.7,1.9-4.7,5.4c0,3.5,2,5.4,4.7,5.4c1.3,0,2.5-0.6,3.3-1.7v1
					c0,2.2-1.6,2.7-2.9,2.7c-1.3,0-2.5-0.4-3.3-1.3l-1.3,2c1.3,1.2,2.8,1.6,4.6,1.6c2.6,0,5.7-1,5.7-5v-9.9H93.3z M93.3,41
					c-0.5,0.7-1.5,1.2-2.4,1.2c-1.6,0-2.7-1.1-2.7-2.9s1.1-2.9,2.7-2.9c0.9,0,1.9,0.5,2.4,1.2V41z"/>
				<path class="frame2_btm" d="M100.2,33c0.9,0,1.7-0.7,1.7-1.7c0-0.9-0.7-1.7-1.7-1.7c-0.9,0-1.7,0.7-1.7,1.7C98.6,32.3,99.3,33,100.2,33z M101.7,44.8
					V34.2h-2.8v10.6H101.7z"/>
				<path class="frame2_btm" d="M109.4,45.1c2.2,0,3.5-1,4.2-1.9l-1.8-1.7c-0.5,0.7-1.3,1.2-2.2,1.2c-1.7,0-2.9-1.3-2.9-3.1s1.2-3.1,2.9-3.1
					c1,0,1.7,0.4,2.2,1.1l1.8-1.7c-0.7-1-2-1.9-4.2-1.9c-3.3,0-5.6,2.3-5.6,5.6C103.7,42.8,106.1,45.1,109.4,45.1z"/>
				<path class="frame2_btm" d="M119.9,33.9c-1.7,0-3.3,0.5-4.6,1.7l1.1,2c0.9-0.8,1.9-1.3,3.1-1.3c1.4,0,2.3,0.7,2.3,1.8v1.3c-0.7-0.8-1.9-1.3-3.4-1.3
					c-1.7,0-3.7,0.9-3.7,3.4c0,2.4,2,3.5,3.7,3.5c1.4,0,2.6-0.5,3.4-1.4v1.1h2.8v-6.9C124.6,34.9,122.4,33.9,119.9,33.9z M121.8,42.2
					c-0.5,0.6-1.3,0.9-2.2,0.9c-1.1,0-2-0.6-2-1.6c0-1,0.9-1.6,2-1.6c0.9,0,1.8,0.3,2.2,0.9V42.2z"/>
				<path class="frame2_btm" d="M130.1,44.8V30.1h-2.8v14.7H130.1z"/>
				<path class="frame2_btm" fill="#FFFFFF" d="M142,44.8v-8.2h2.2v-2.4H142v-0.4c0-1,0.5-1.5,1.3-1.5c0.5,0,0.9,0.2,1.2,0.4l1.1-1.7c-0.6-0.7-1.7-1-2.8-1
					c-2.1,0-3.6,1.4-3.6,3.8v0.4h-1.8v2.4h1.8v8.2H142z"/>
				<path class="frame2_btm" fill="#FFFFFF" d="M148.6,44.8v-7c0.5-0.7,1.7-1.2,2.6-1.2c0.3,0,0.6,0,0.8,0.1v-2.7c-1.3,0-2.6,0.8-3.4,1.7v-1.4h-2.8v10.6
					H148.6z"/>
				<path class="frame2_btm" fill="#FFFFFF" d="M158.2,33.9c-1.7,0-3.3,0.5-4.6,1.7l1.1,2c0.9-0.8,1.9-1.3,3.1-1.3c1.4,0,2.3,0.7,2.3,1.8v1.3
					c-0.7-0.8-1.9-1.3-3.4-1.3c-1.7,0-3.7,0.9-3.7,3.4c0,2.4,2,3.5,3.7,3.5c1.4,0,2.6-0.5,3.4-1.4v1.1h2.8v-6.9
					C162.9,34.9,160.7,33.9,158.2,33.9z M160.1,42.2c-0.5,0.6-1.3,0.9-2.2,0.9c-1.1,0-2-0.6-2-1.6c0-1,0.9-1.6,2-1.6
					c0.9,0,1.8,0.3,2.2,0.9V42.2z"/>
				<path class="frame2_btm" fill="#FFFFFF" d="M175.6,44.8v-7.5c0-2.1-1.1-3.4-3.5-3.4c-1.7,0-3,0.8-3.7,1.6v-1.4h-2.8v10.6h2.8v-7.2
					c0.5-0.6,1.3-1.2,2.4-1.2c1.2,0,2,0.5,2,2v6.4H175.6z"/>
				<path class="frame2_btm" fill="#FFFFFF" d="M183.3,45.1c2.2,0,3.5-1,4.2-1.9l-1.8-1.7c-0.5,0.7-1.3,1.2-2.2,1.2c-1.7,0-2.9-1.3-2.9-3.1s1.2-3.1,2.9-3.1
					c1,0,1.7,0.4,2.2,1.1l1.8-1.7c-0.7-1-2-1.9-4.2-1.9c-3.3,0-5.6,2.3-5.6,5.6C177.7,42.8,180.1,45.1,183.3,45.1z"/>
				<path class="frame2_btm" fill="#FFFFFF" d="M199.3,44.8v-7.5c0-2.1-1.1-3.3-3.5-3.3c-1.7,0-3,0.8-3.7,1.6v-5.4h-2.8v14.7h2.8v-7.2
					c0.5-0.6,1.3-1.2,2.4-1.2c1.2,0,2,0.5,2,1.9v6.5H199.3z"/>
				<path class="frame2_btm" fill="#FFFFFF" d="M203.5,33c0.9,0,1.7-0.7,1.7-1.7c0-0.9-0.7-1.7-1.7-1.7c-0.9,0-1.7,0.7-1.7,1.7
					C201.8,32.3,202.6,33,203.5,33z M204.9,44.8V34.2h-2.8v10.6H204.9z"/>
				<path class="frame2_btm" fill="#FFFFFF" d="M211.5,45.1c2.9,0,4.6-1.4,4.6-3.4c0-4.3-6.3-3-6.3-4.5c0-0.6,0.7-1,1.7-1c1.3,0,2.5,0.6,3.1,1.2l1.1-2
					c-1.1-0.8-2.5-1.5-4.3-1.5c-2.8,0-4.4,1.6-4.4,3.3c0,4.2,6.3,2.8,6.3,4.5c0,0.7-0.6,1.1-1.8,1.1c-1.3,0-2.9-0.7-3.7-1.5l-1.2,2
					C207.9,44.4,209.7,45.1,211.5,45.1z"/>
				<path class="frame2_btm" fill="#FFFFFF" d="M228.3,39.7c0-3.5-2.1-5.8-5.3-5.8c-3.2,0-5.5,2.5-5.5,5.6c0,3.4,2.4,5.6,5.7,5.6c1.7,0,3.3-0.5,4.4-1.5
					l-1.3-1.8c-0.7,0.7-1.9,1-2.8,1c-1.8,0-2.9-1.1-3.1-2.4h7.9V39.7z M220.4,38.5c0.1-1.1,0.9-2.3,2.6-2.3c1.8,0,2.6,1.3,2.6,2.3H220.4
					z"/>
				<path class="frame2_btm" fill="#FFFFFF" d="M234.2,45.1c2.9,0,4.6-1.4,4.6-3.4c0-4.3-6.3-3-6.3-4.5c0-0.6,0.7-1,1.7-1c1.3,0,2.5,0.6,3.1,1.2l1.1-2
					c-1.1-0.8-2.5-1.5-4.3-1.5c-2.8,0-4.4,1.6-4.4,3.3c0,4.2,6.3,2.8,6.3,4.5c0,0.7-0.6,1.1-1.8,1.1c-1.3,0-2.9-0.7-3.7-1.5l-1.2,2
					C230.5,44.4,232.3,45.1,234.2,45.1z"/>
				<path class="frame2_btm" fill="#FFFFFF" d="M242.3,45c1,0,1.8-0.8,1.8-1.8c0-1-0.8-1.8-1.8-1.8c-1,0-1.8,0.8-1.8,1.8C240.5,44.2,241.3,45,242.3,45z"/>
			</svg>
			<svg id="txt_strange" viewBox="0 0 300 250" width="300" height="250">
				<path fill="#FFFFFF" d="M95,25.8V11.1h-3.1v14.7H95z M98.4,23.1v-5.5h-1.8v-2.4h1.8v-2.9h2.8v2.9h2.2v2.4h-2.2v4.8
					c0,0.7,0.4,1.2,1,1.2c0.4,0,0.8-0.2,1-0.3l0.6,2.1c-0.4,0.4-1.2,0.7-2.3,0.7C99.4,26.1,98.4,25.1,98.4,23.1z M106.4,17.2l-1.2-1
					c0.7-0.4,1.5-1.3,1.7-2.1c-0.1,0-0.2,0.1-0.4,0.1c-0.8,0-1.5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8v-6.9C163.8,15.9,161.6,14.9,159.2,14.9z M161,23.2c-0.5,0.6-1.3,0.9-2.2,0.9
					c-1.1,0-2-0.6-2-1.6c0-1,0.9-1.6,2-1.6c0.9,0,1.8,0.3,2.2,0.9V23.2z M173.7,25.8v-6.4c0-1.5-0.8-2-2-2c-1.1,0-1.9,0.6-2.4,1.2v7.2
					h-2.8V15.2h2.8v1.4c0.7-0.8,2-1.6,3.7-1.6c2.4,0,3.5,1.3,3.5,3.4v7.5H173.7z M186.6,15.2v1.4c-0.9-1.1-2-1.6-3.3-1.6
					c-2.7,0-4.7,1.9-4.7,5.4c0,3.5,2,5.4,4.7,5.4c1.3,0,2.5-0.6,3.3-1.7v1c0,2.2-1.6,2.7-2.9,2.7c-1.3,0-2.5-0.4-3.3-1.3l-1.3,2
					c1.3,1.2,2.8,1.6,4.6,1.6c2.6,0,5.7-1,5.7-5v-9.9H186.6z M186.6,22c-0.5,0.7-1.5,1.2-2.4,1.2c-1.6,0-2.7-1.1-2.7-2.9
					s1.1-2.9,2.7-2.9c0.9,0,1.9,0.5,2.4,1.2V22z M202.3,20.7c0-3.5-2.1-5.8-5.3-5.8c-3.2,0-5.5,2.5-5.5,5.6c0,3.4,2.4,5.6,5.7,5.6
					c1.7,0,3.3-0.5,4.4-1.5l-1.3-1.8c-0.7,0.7-1.9,1-2.8,1c-1.8,0-2.9-1.1-3.1-2.4h7.9V20.7z M194.4,19.5c0.1-1.1,0.9-2.3,2.6-2.3
					c1.8,0,2.6,1.3,2.6,2.3H194.4z M203.9,24.3c0-1,0.8-1.8,1.8-1.8c1,0,1.8,0.8,1.8,1.8c0,1-0.8,1.8-1.8,1.8
					C204.7,26,203.9,25.2,203.9,24.3z"/>
			</svg>
			<svg id="txt_newt" viewBox="0 0 300 250" width="300" height="250">
				<path fill="#FFFFFF" d="M75.8,25.8V11.1h-3.1v9.2l-6.8-9.2h-3.2v14.7h3.1v-9.6l7,9.6H75.8z M88.8,20.7c0-3.5-2.1-5.8-5.3-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,0.9-2.2,0.9
					c-1.1,0-2-0.6-2-1.6c0-1,0.9-1.6,2-1.6c0.9,0,1.8,0.3,2.2,0.9V23.2z M214.6,24.4l1.2-2c0.8,0.7,2.4,1.5,3.7,1.5
					c1.2,0,1.8-0.5,1.8-1.1c0-1.7-6.3-0.3-6.3-4.5c0-1.8,1.5-3.3,4.4-3.3c1.8,0,3.2,0.6,4.3,1.5l-1.1,2c-0.6-0.7-1.8-1.2-3.1-1.2
					c-1,0-1.7,0.4-1.7,1c0,1.6,6.3,0.2,6.3,4.5c0,2-1.7,3.4-4.6,3.4C217.5,26.1,215.7,25.4,214.6,24.4z M226.6,23.1v-5.5h-1.8v-2.4h1.8
					v-2.9h2.8v2.9h2.2v2.4h-2.2v4.8c0,0.7,0.4,1.2,1,1.2c0.4,0,0.8-0.2,1-0.3l0.6,2.1c-0.4,0.4-1.2,0.7-2.3,0.7
					C227.6,26.1,226.6,25.1,226.6,23.1z M233.1,24.3c0-1,0.8-1.8,1.8-1.8s1.8,0.8,1.8,1.8c0,1-0.8,1.8-1.8,1.8S233.1,25.2,233.1,24.3z"
					/>
			</svg>
			<svg id="txt_endframe" viewBox="0 0 300 250" width="300" height="250">
				<path fill="#FFFFFF" d="M69.6,25.8V13.9h4.3v-2.8H62.1v2.8h4.3v11.9H69.6z M83,25.8v-6.5c0-1.5-0.8-1.9-2-1.9c-1.1,0-2,0.6-2.4,1.2
					v7.2h-2.8V11.1h2.8v5.4c0.7-0.8,2-1.6,3.7-1.6c2.3,0,3.5,1.3,3.5,3.3v7.5H83z M98.7,20.7c0-3.5-2.1-5.8-5.3-5.8
					c-3.2,0-5.5,2.5-5.5,5.6c0,3.4,2.4,5.6,5.7,5.6c1.7,0,3.3-0.5,4.4-1.5l-1.3-1.8c-0.7,0.7-1.9,1-2.8,1c-1.8,0-2.9-1.1-3.1-2.4h7.9
					V20.7z M90.7,19.5c0.1-1.1,0.9-2.3,2.6-2.3c1.8,0,2.6,1.3,2.6,2.3H90.7z M112.4,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0.4-1.7,1c0,1.6,6.3,0.2,6.3,4.5
					c0,2-1.7,3.4-4.6,3.4C157,26.1,155.2,25.4,154.1,24.4z M172.6,25.8v-1.3c-0.7,0.8-2,1.6-3.7,1.6c-2.3,0-3.4-1.3-3.4-3.3v-7.5h2.8
					v6.4c0,1.5,0.8,2,2,2c1.1,0,1.9-0.6,2.4-1.2v-7.2h2.8v10.6H172.6z M178.2,25.8V15.2h2.8v1.4c0.8-0.9,2.1-1.7,3.4-1.7v2.7
					c-0.2,0-0.4-0.1-0.8-0.1c-0.9,0-2.2,0.5-2.6,1.2v7H178.2z M192.2,14.9c-1.3,0-2.5,0.6-3.3,1.6v-1.3h-2.8v14.7h2.8v-5.4
					c0.9,1.1,2,1.6,3.3,1.6c2.7,0,4.7-2,4.7-5.6S194.9,14.9,192.2,14.9z M191.3,23.6c-0.9,0-1.9-0.6-2.4-1.2v-3.7
					c0.5-0.7,1.5-1.2,2.4-1.2c1.6,0,2.7,1.3,2.7,3.1C194,22.3,192.9,23.6,191.3,23.6z M199,25.8V15.2h2.8v1.4c0.8-0.9,2.1-1.7,3.4-1.7
					v2.7c-0.2,0-0.4-0.1-0.8-0.1c-0.9,0-2.2,0.5-2.6,1.2v7H199z M206.6,12.4c0-0.9,0.7-1.7,1.7-1.7c0.9,0,1.7,0.7,1.7,1.7
					c0,0.9-0.7,1.7-1.7,1.7C207.4,14,206.6,13.3,206.6,12.4z M209.7,25.8V15.2h-2.8v10.6H209.7z M211.5,24.4l1.2-2
					c0.8,0.7,2.4,1.5,3.7,1.5c1.2,0,1.8-0.5,1.8-1.1c0-1.7-6.3-0.3-6.3-4.5c0-1.8,1.5-3.3,4.4-3.3c1.8,0,3.2,0.6,4.3,1.5l-1.1,2
					c-0.6-0.7-1.8-1.2-3.1-1.2c-1,0-1.7,0.4-1.7,1c0,1.6,6.3,0.2,6.3,4.5c0,2-1.7,3.4-4.6,3.4C214.4,26.1,212.6,25.4,211.5,24.4z
					 M233.1,20.7c0-3.5-2.1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8,0,2.7,1.4,2.7,3.1C124.9,41.1,123.9,42.6,122.1,42.6z M139.2,44.8l-2.2-7.2l-2.2,7.2h-3l-3.2-10.6h2.9
					l2,7.2l2.3-7.2h2.5l2.3,7.2l2-7.2h2.9l-3.2,10.6H139.2z M152.2,31.4c0-0.9,0.7-1.7,1.7-1.7c0.9,0,1.7,0.7,1.7,1.7
					c0,0.9-0.7,1.7-1.7,1.7C152.9,33,152.2,32.3,152.2,31.4z M155.2,44.8V34.2h-2.8v10.6H155.2z M157.1,43.4l1.2-2
					c0.8,0.7,2.4,1.5,3.7,1.5c1.2,0,1.8-0.5,1.8-1.1c0-1.7-6.3-0.3-6.3-4.5c0-1.8,1.5-3.3,4.4-3.3c1.8,0,3.2,0.6,4.3,1.5l-1.1,2
					c-0.6-0.7-1.8-1.2-3.1-1.2c-1,0-1.7,0.4-1.7,1c0,1.6,6.3,0.2,6.3,4.5c0,2-1.7,3.4-4.6,3.4C160,45.1,158.2,44.4,157.1,43.4z
					 M173.5,39.5c0-3.3,2.4-5.6,5.6-5.6c2.2,0,3.5,0.9,4.2,1.9l-1.8,1.7c-0.5-0.7-1.3-1.1-2.2-1.1c-1.7,0-2.9,1.2-2.9,3.1
					s1.2,3.1,2.9,3.1c1,0,1.7-0.4,2.2-1.2l1.8,1.7c-0.7,1-2,1.9-4.2,1.9C175.8,45.1,173.5,42.8,173.5,39.5z M190.1,33.9
					c-3.5,0-5.6,2.6-5.6,5.6s2.1,5.6,5.6,5.6c3.5,0,5.6-2.6,5.6-5.6S193.6,33.9,190.1,33.9z M190.1,42.6c-1.7,0-2.7-1.4-2.7-3.1
					c0-1.7,1-3.1,2.7-3.1c1.8,0,2.7,1.4,2.7,3.1C192.8,41.1,191.8,42.6,190.1,42.6z M211,44.8v-6.7c0-1-0.4-1.7-1.6-1.7
					c-1,0-1.8,0.7-2.2,1.2v7.2h-2.8v-6.7c0-1-0.4-1.7-1.6-1.7c-1,0-1.8,0.7-2.2,1.2v7.2h-2.8V34.2h2.8v1.4c0.5-0.6,1.8-1.6,3.5-1.6
					c1.6,0,2.6,0.7,2.9,1.9c0.6-0.9,2-1.9,3.7-1.9c2,0,3.1,1,3.1,3.2v7.7H211z M216.3,31.4c0-0.9,0.7-1.7,1.7-1.7c0.9,0,1.7,0.7,1.7,1.7
					c0,0.9-0.7,1.7-1.7,1.7C217,33,216.3,32.3,216.3,31.4z M219.3,44.8V34.2h-2.8v10.6H219.3z M229.3,44.8v-6.4c0-1.5-0.8-2-2-2
					c-1.1,0-1.9,0.6-2.4,1.2v7.2h-2.8V34.2h2.8v1.4c0.7-0.8,2-1.6,3.7-1.6c2.4,0,3.5,1.3,3.5,3.4v7.5H229.3z M242.2,34.2v1.4
					c-0.9-1.1-2-1.6-3.3-1.6c-2.7,0-4.7,1.9-4.7,5.4c0,3.5,2,5.4,4.7,5.4c1.3,0,2.5-0.6,3.3-1.7v1c0,2.2-1.6,2.7-2.9,2.7
					c-1.3,0-2.5-0.4-3.3-1.3l-1.3,2c1.3,1.2,2.8,1.6,4.6,1.6c2.6,0,5.7-1,5.7-5v-9.9H242.2z M242.2,41c-0.5,0.7-1.5,1.2-2.4,1.2
					c-1.6,0-2.7-1.1-2.7-2.9s1.1-2.9,2.7-2.9c0.9,0,1.9,0.5,2.4,1.2V41z M247.4,43.3c0-1,0.8-1.8,1.8-1.8s1.8,0.8,1.8,1.8
					c0,1-0.8,1.8-1.8,1.8S247.4,44.2,247.4,43.3z"/>
			</svg>
			<div id="sparkler_anim">
				<img id="sparkler" src="http://rabondigital.com/client/lootcrate/sparkler.png" border="0"/>
			</div>
			
			<div id="strange"></div>
			<div id="newt"></div>
			<div id="smoke_anim" style="visibility: hidden;">
				<img id="smoke" src="http://rabondigital.com/client/lootcrate/smoke.png" border="0"/>
			</div>
			<div id="logo"></div>
			<div id="cta">
				<svg id="cta_txt" viewBox="0 0 184 36" width="184" height="36">
					<path id="txt_cta" fill="#ff7700" d="M19.3,25.6c4.5,0,6.6-2.5,6.6-6.1v-8.8h-3.2v8.7c0,2-1.2,3.5-3.4,3.5s-3.5-1.4-3.5-3.5v-8.7
						h-3.2v8.8C12.7,23.1,14.9,25.6,19.3,25.6z M36,25.3v-6.4c0-1.5-0.8-2-2-2c-1.1,0-1.9,0.6-2.4,1.2v7.2h-2.8V14.7h2.8v1.4
						c0.7-0.8,2-1.6,3.7-1.6c2.4,0,3.5,1.3,3.5,3.4v7.5H36z M47.6,14.4c-1.3,0-2.4,0.5-3.3,1.6v-5.4h-2.8v14.7h2.8V24
						c0.8,1.1,2,1.6,3.3,1.6c2.7,0,4.7-2,4.7-5.6C52.3,16.5,50.3,14.4,47.6,14.4z M46.8,23.1c-0.9,0-1.9-0.5-2.4-1.2v-3.8
						c0.5-0.7,1.5-1.2,2.4-1.2c1.6,0,2.7,1.3,2.7,3.1C49.4,21.9,48.4,23.1,46.8,23.1z M59.4,14.4c-3.5,0-5.6,2.6-5.6,5.6s2.1,5.6,5.6,5.6
						c3.5,0,5.6-2.6,5.6-5.6S62.9,14.4,59.4,14.4z M59.4,23.1c-1.7,0-2.7-1.4-2.7-3.1c0-1.7,1-3.1,2.7-3.1c1.8,0,2.7,1.4,2.7,3.1
						C62.1,21.7,61.1,23.1,59.4,23.1z M72.9,25.3l-2.4-3.6L68,25.3h-3.1l3.8-5.5l-3.6-5.2h3.1l2.2,3.3l2.2-3.3h3.1l-3.5,5.2l3.8,5.5H72.9
						z M95.9,25.3V14.7l-4.1,10.6h-1.4l-4.1-10.6v10.6h-3.1V10.7h4.4l3.6,9.2l3.6-9.2H99v14.7H95.9z M110,10.7h-3.9l-5.7,14.7h3.5
						l0.9-2.5h6.3l0.9,2.5h3.5L110,10.7z M105.7,20.1l2.3-6.3l2.3,6.3H105.7z M115.5,18c0-4.6,3.5-7.6,7.8-7.6c3,0,5,1.5,6.1,3.3
						l-2.6,1.4c-0.7-1-1.9-1.9-3.5-1.9c-2.7,0-4.6,2-4.6,4.8s1.9,4.8,4.6,4.8c1.3,0,2.5-0.6,3.1-1.1v-1.8h-3.9v-2.7h7v5.6
						c-1.5,1.7-3.6,2.8-6.2,2.8C119.1,25.6,115.5,22.6,115.5,18z M132.1,25.3V10.7h3.1v14.7H132.1z M137.4,18c0-4.5,3.4-7.6,7.8-7.6
						c3.2,0,5.1,1.7,6.1,3.6l-2.7,1.3c-0.6-1.2-1.9-2.1-3.4-2.1c-2.7,0-4.6,2-4.6,4.8s1.9,4.8,4.6,4.8c1.5,0,2.8-0.9,3.4-2.1l2.7,1.3
						c-1,1.8-2.9,3.6-6.1,3.6C140.8,25.6,137.4,22.5,137.4,18z"/>
					<polyline id="arrow" fill="none" stroke="#ff7700" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" points="
						160.6,11 171.3,18 160.6,25 "/>
				</svg>
			</div>
			<div id="loading"></div>
			<div id="border"></div>
			<!--clicktag button-->
			<a id="background_exit" href="javascript:window.open(window.clickTag)"></a>
			<div id="btn_replay" class="hide" style="visibility: hidden;">
				<svg id="replay" viewBox="0 0 20 20" width="20px" height="20px">
				<path fill="#FFFFFF" d="M12.8,1.6l2.8,1.6l-2.8,1.6L10,6.3V4c-4,0-7.2,3.2-7.2,7.1S6,18.2,10,18.2s7.2-3.2,7.2-7.1
					c0-1.9-0.7-3.5-1.9-4.8l1.6-0.9C18.2,7,19,9,19,11.1c0,4.9-4,8.9-9,8.9s-9-4-9-8.9s4-8.9,9-8.9V0L12.8,1.6z"/>
				</svg>
			</div>
		</div>


              
            
!

CSS

              
                #loot { background-color: #ff8700; position: absolute; top: 0px; left: 0px; width: 300px; height: 250px; overflow: hidden;
transform-style: preserve-3d;
perspective: 400;
-webkit-transform-style: preserve-3d;
-webkit-perspective: 400;		
}
#loot svg { position: absolute; overflow: hidden; }
#loot div { display: block; overflow: hidden; position: absolute; background: transparent; }

#loot #crate_anim_container { width: 300px; height: 250px; }
#loot #crate_anim_container #crate_anim { width: 3600px; height: 250px; }
#loot #crate_particles { width: 300px; height: 131px; }
#loot .particle { background: #faf7ac; width: 10px; height: 10px; position: absolute; border-radius: 100%; filter: blur(1px); -webkit-filter: blur(1px); }
#loot #logo { background: transparent url('http://rabondigital.com/client/lootcrate/logo.svg') 0 0 no-repeat; width: 300px; height: 250px; }
#loot #sparkler_anim { width: 85px; height: 100px; left: -17px; top: -28px; }
#loot #sparkler_anim #sparkler { width: 1530px; height: 100px; }
#loot #lighting { background: transparent url('http://rabondigital.com/client/lootcrate/lighting.png') 0 0 no-repeat; width: 300px; height: 250px; }
#loot #smoke_anim { width: 300px; height: 250px; }
#loot #smoke_anim #smoke { width: 3900px; height: 250px; }
#loot #strange { background: transparent url('http://rabondigital.com/client/lootcrate/strange.png') 0 0 no-repeat; width: 241px; height: 349px; left: 37px; top: 45px; }
#loot #newt { background: transparent url('http://rabondigital.com/client/lootcrate/newt.png') 0 0 no-repeat; width: 143px; height: 360px; left: 77px; top: 36px; }
#loot #cta { background: #fff; width: 184px; height: 36px; border-radius: 18px; -webkit-border-radius: 18px; left: 58px; bottom: 68px; }

#loot #btn_replay { width: 20px; height: 20px; right: 5px; top: 5px; cursor: pointer; transform-origin: 50% 55%; -webkit-transform-origin: 50% 55%; }

/*--------------------- IE/Utilities ---------------------*/
#loot #border { background: transparent; border: 1px solid #000; width: 298px; height: 248px; position: absolute; top: 0; left: 0; }
#loot #background_exit { display: block; overflow: hidden; background: transparent; width: 100%; height: 100%; position: absolute;  }
#loot #loading { background: #ff8700; width: 100%; height: 100%; }
#loot .hide { display: none; }
              
            
!

JS

              
                var ad,
banner_end = false,
clicktag,
btn_replay,
rotating = false,
main_tl = new TimelineMax(),
crate_tl = new TimelineMax()
;

pre_init = function() {
	var img = new Image();
	img.onload = function() {
		init();
	}
	img.src = 'http://rabondigital.com/client/lootcrate/crate.jpg';
}

init = function(){
	clicktag = document.getElementById('background_exit');
	btn_replay = document.getElementById('btn_replay');
	
	/* Animation */
	function intro_anim() {
		var intro_tl = new TimelineMax();
		intro_tl
			.add('start','+=.2')
			//.from('#sparkler_anim',.3,{autoAlpha:0,scale:.5,ease:Power4.easOut},'start')
			.to('#sparkler',.5,{repeat:2,x:-1445,ease:SteppedEase.config(17)},'start')
			.to('#sparkler_anim',1.5,{x:258,ease:Power2.easeOut},'start')
			.staggerFrom('.frame1',.7,{autoAlpha:0,ease:Power4.easeOut},.04,'start')
			.to('#sparkler_anim',.1,{autoAlpha:0,scale:.5,ease:Power2.easeIn},'start+=1.2')
			.set('#sparkler',{x:0},'start+=1.5')
			.set('#sparkler_anim',{x:70,y:95,scale:1,autoAlpha:1},'start+=1.5')
			.to('#sparkler',.5,{repeat:1,x:-1445,ease:SteppedEase.config(17)},'start+=1.5')
			.staggerFrom('.presents',1.2,{autoAlpha:0,ease:Power4.easeOut},.04,'start+=1.5')
			.to('#sparkler_anim',1,{x:180,ease:Power2.easeOut},'start+=1.5')
			.to('#sparkler_anim',.2,{autoAlpha:0,scale:.5,ease:Power2.easeIn},'start+=2')
			.to(['#txt_frame1','#txt_presents'],.5,{autoAlpha:0,ease:Power4.easeOut},'start+=4')
			.set('#sparkler',{x:0},'start+=4.7')
			.set('#sparkler_anim',{x:25,y:3,scale:1.3,autoAlpha:1},'start+=4.7')
			.to('#sparkler',.5,{repeat:2,x:-1445,ease:SteppedEase.config(17)},'start+=4.7')
			.to('#sparkler_anim',1.5,{x:220,ease:Power2.easeOut},'start+=4.7')
			.staggerFrom('.frame2_top',.7,{autoAlpha:0,ease:Power4.easOut},.04,'start+=4.7')
			.staggerFrom('.frame2_btm',.7,{autoAlpha:0,ease:Power4.easOut},.04,'start+=4.7')
			.to('#sparkler_anim',.1,{autoAlpha:0,scale:.5,ease:Power2.easeIn},'start+=5.8')
			.to('#txt_frame2',.5,{autoAlpha:0,ease:Power4.easeOut},'start+=10')
			.from('#txt_strange',1,{autoAlpha:0,scale:.7,transformOrigin:'50% 10%',ease:Power4.easOut},'start+=10')
			.from('#strange',1.3,{autoAlpha:0,scale:.3,y:-50,transformOrigin:'50% 30%',ease:Power4.easOut},'start+=10')
			.to('#smoke',1.5,{repeat:0,x:-3900,ease:SteppedEase.config(13),onStart:function(){document.getElementById('smoke_anim').style.visibility='visible';},onComplete:function(){document.getElementById('smoke_anim').style.visibility='hidden';}},'start+=10')
			.set('#smoke',{x:0},'start+=11.5')
			.to(['#strange','#txt_strange'],.1,{autoAlpha:0},'start+=13')
			.from('#txt_newt',1.3,{autoAlpha:0,scale:.7,transformOrigin:'50% 10%',ease:Power4.easOut},'start+=13')
			.from('#newt',1,{autoAlpha:0,scale:.3,y:-50,transformOrigin:'50% 30%',ease:Power4.easOut},'start+=13')
			.to('#smoke',1.5,{repeat:0,x:-3900,ease:SteppedEase.config(13),onStart:function(){document.getElementById('smoke_anim').style.visibility='visible';},onComplete:function(){document.getElementById('smoke_anim').style.visibility='hidden';}},'start+=13')
			.set('#smoke',{x:0},'start+=15.5')
			.to(['#newt','#txt_newt'],.1,{autoAlpha:0},'start+=16')
			.from('#txt_endframe',1.3,{autoAlpha:0,scale:.7,transformOrigin:'50% 10%',ease:Power4.easOut},'start+=16')
			.from('#cta',.7,{autoAlpha:0,ease:Power4.easOut},'start+=18')
			.to('#smoke',1.5,{repeat:0,x:-3900,ease:SteppedEase.config(13),onStart:function(){document.getElementById('smoke_anim').style.visibility='visible';},onComplete:function(){document.getElementById('smoke_anim').style.visibility='hidden';}},'start+=16')
			.from(btn_replay,.5,{autoAlpha:0,ease:Power1.easeOut})
			.addCallback(bannerDone);
		;
		return intro_tl;
	};
	
	function crate_anim() {
		crate_tl = new TimelineMax();
		crate_tl
			.add('start','+=.2')
			.to('#crate_anim',1,{repeat:0,x:-3300,ease:SteppedEase.config(11)},'start')
			.from('#lighting',.7,{autoAlpha:0,scale:1.4,rotation:12,ease:Power4.easOut},'start+=.5')
		;
		return crate_tl;
	};
	
	function bannerDone() {
		//crate_tl.reverse();
    banner_end = true;
	}
	
	function animate() {
		main_tl
			.addLabel('start')
			.to('#loading', .2, {opacity:0, ease:Power1.easeOut}, 'start')
			.add(intro_anim(),'start')
			.add(crate_anim(),'start+=4')
		;
		//main_tl.seek(17);
		main_tl.timeScale(1.3);
	};
	
	/* MOUSE ACTIONS */
    function addlisteners(){
	    clicktag.addEventListener('click', function() {
		    //console.log('background exit click');
	    });
    	clicktag.addEventListener('mouseover', function() {
	    	if(banner_end){
            	TweenMax.to('#cta',.4,{backgroundColor:'#000',ease:Power1.easeOut});
            	TweenMax.to('#txt_cta',.4,{fill:'#fff',ease:Power1.easeOut});
            	TweenMax.to('#arrow',.4,{stroke:'#fff',ease:Power1.easeOut});
            	crate_tl.play();
         }
    	});
        clicktag.addEventListener('mouseout', function() {
            if(banner_end){
	            TweenMax.to('#cta',.4,{backgroundColor:'#fff',ease:Power1.easeOut});
	            TweenMax.to('#txt_cta',.4,{fill:'#ff7700',ease:Power1.easeOut});
	            TweenMax.to('#arrow',.4,{stroke:'#ff7700',ease:Power1.easeOut});
	            crate_tl.reverse(0);
           }
   	 	});
   	 	btn_replay.addEventListener('mouseover', function() {
	    	if(!rotating){
		    	rotating = true;
		    	TweenMax.set(btn_replay,{rotation:0});
            	TweenMax.to(btn_replay,.5,{rotation:360,ease:Power1.easeOut,onComplete:function(){rotating = false;}});
            }
    	});
    	btn_replay.addEventListener('click', function() {
	    	main_tl.restart();
    	});
    };
    
    animate();
    addlisteners();
    var magic_to = setTimeout(function(){
	    start_magic();
	    clearTimeout(magic_to);
    }, 2400);
    var close_to = setTimeout(function(){
	    crate_tl.reverse(0);
	    clearTimeout(close_to);
    }, 13000);
}

window.onload = pre_init();

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

function removeElement(node) {
    node.parentNode.removeChild(node);
}

function start_magic() {
	/* MAGIC */
	var magic_timeout;
	var magic_tl;
	
	function insert_magic(num) {
		for(i=0;i<10;i++) {
			magic_timeout = setTimeout(move_magic, Math.random()*num+'e'+num);
		}
	}
	function move_magic() {
		console.log('crate magic!');
		var p = document.createElement('DIV');
		var container = document.getElementById('crate_particles');
		var container_height = container.offsetHeight;
		p.className = 'particle';
		p.style.opacity = 0;
		p.style.left = getRandom(80,210)+'px';
		p.style.bottom = '-20px';
		container.appendChild(p);
		magic_tl = new TimelineLite();
		magic_tl
			.set(p,{opacity:getRandom(.8,1), scale:getRandom(.1,.4)})
			.to(p,getRandom(2,5),{bezier:{type:'soft',values:[{x:getRandom(-50,50)},{x:getRandom(-50,50)}],autoRotate:false},autoAlpha:0,bottom:container_height-15,ease:Power0.easeNone,onComplete:hide_magic,onCompleteParams:['{self}']})
		;
	}
	var magic_interval = setInterval(insert_magic, 500,3);
	var stop_magic = setTimeout(function() { console.log('stop magic'); clearInterval(magic_interval); clearTimeout(magic_timeout); clearTimeout(stop_magic) }, 6000);	
	
	function hide_magic(magic) {
		var to_remove = magic.target;
		removeElement(to_remove);
	}
	/* END MAGIC */
}
              
            
!
999px
If you get tired, be like an AJAX request and REST.

Console