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 is required to process package imports. If you need a different preprocessor remove all packages first.

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

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="wrapperBirds">
  <svg id="bird01" class="birds" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 117.75 28.61" width="117.75" height="28.61">
    <g id="layer1" fill="#a3a3a3">
      <path id="bird1fly01" class="birdsFly" d="M.28 12.2c-.94.75.64 1.28 2.32 1.78 3.47 1.07 8.2-.65 11.58-1.1 8.3-1.1 16.94.82 23.9 5.44.75.53 1.63 1.13 2.14 1.93 1.4 2.23.3 5.6 2.37 7.24 1.6 1.2 4 .3 5.7-.7 4.2-2.4 8.1-5.5 11.4-8.9 3.3-3.5 6.4-7.3 10.7-9.2 3.12-1.4 6.8-1.4 10.2-1.2C93.8 8 95.7 10 106.1 15c4.05.5 8.8.85 11.53-2.1-.77-.96-2.08-1.25-3.2-1.58C101.03 8.1 99.35 5.6 86.8.9c-4.38-1.63-9.5-.86-13.94.8-3.6 1.22-6.6 3.64-9.86 5.82-3.46 2.22-7.18 4.2-11.03 5.7-1.04.38-2.08.75-3.1.8-1.84.06-3.45-.98-5-1.82-7.1-3.86-15.17-5.6-23.25-5.3-4.1.12-8.05.82-11.97 2.03-1.9.6-3.8 1.28-5.64 2.16-.1.1-2.4.9-2.7 1.1z" />
      <path id="bird1fly02" class="hidden" d="M3.46 20.5c-.34 1.15 1.26.67 2.92.13 3.46-1.1 5.86-7.16 8.38-9.47 6.18-5.64 16.5 3.07 23.45 7.7.8.52 1.7 1.12 2.2 1.92 1.4 2.22.3 5.6 2.4 7.24 1.7 1.23 4 .32 5.7-.64 4.3-2.42 8.1-5.47 11.5-8.9 3.4-3.45 10.4-5.66 14.9-7.04 3.3-1 6.3-2.77 8.9-.5 4.78 2.32 12.4 5.68 17.6 11.3 2.85 2.95 6.33 6.18 10.33 5.58 0-1.2-.84-2.25-1.5-3.2-8.5-11.1-4.66-6-14.7-15.82-3.4-3.28-9.44-8.55-14-7.36-3.7.86-15 4.43-18.26 6.6-4.85 2.3-9.07 6.18-14.12 6.5-1.8.07-3.42-.97-5-1.8-7.2-3.88-21-15.04-27.5-10.17C13.32 5 11 9.77 8.45 13.02c-1.22 1.58-2.37 3.22-3.4 5-.03.22-1.45 2.16-1.57 2.46z" />
    </g>
  </svg>
  <svg id="bird02" class="birds" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 117.75 28.61"  width="117.75" height="28.61">
    <g id="layer1" fill="#a3a3a3">
      <path id="bird2fly01" class="birdsFly" d="M.28 12.2c-.94.75.64 1.28 2.32 1.78 3.47 1.07 8.2-.65 11.58-1.1 8.3-1.1 16.94.82 23.9 5.44.75.53 1.63 1.13 2.14 1.93 1.4 2.23.3 5.6 2.37 7.24 1.6 1.2 4 .3 5.7-.7 4.2-2.4 8.1-5.5 11.4-8.9 3.3-3.5 6.4-7.3 10.7-9.2 3.12-1.4 6.8-1.4 10.2-1.2C93.8 8 95.7 10 106.1 15c4.05.5 8.8.85 11.53-2.1-.77-.96-2.08-1.25-3.2-1.58C101.03 8.1 99.35 5.6 86.8.9c-4.38-1.63-9.5-.86-13.94.8-3.6 1.22-6.6 3.64-9.86 5.82-3.46 2.22-7.18 4.2-11.03 5.7-1.04.38-2.08.75-3.1.8-1.84.06-3.45-.98-5-1.82-7.1-3.86-15.17-5.6-23.25-5.3-4.1.12-8.05.82-11.97 2.03-1.9.6-3.8 1.28-5.64 2.16-.1.1-2.4.9-2.7 1.1z" />
      <path id="bird2fly02" class="hidden" d="M3.46 20.5c-.34 1.15 1.26.67 2.92.13 3.46-1.1 5.86-7.16 8.38-9.47 6.18-5.64 16.5 3.07 23.45 7.7.8.52 1.7 1.12 2.2 1.92 1.4 2.22.3 5.6 2.4 7.24 1.7 1.23 4 .32 5.7-.64 4.3-2.42 8.1-5.47 11.5-8.9 3.4-3.45 10.4-5.66 14.9-7.04 3.3-1 6.3-2.77 8.9-.5 4.78 2.32 12.4 5.68 17.6 11.3 2.85 2.95 6.33 6.18 10.33 5.58 0-1.2-.84-2.25-1.5-3.2-8.5-11.1-4.66-6-14.7-15.82-3.4-3.28-9.44-8.55-14-7.36-3.7.86-15 4.43-18.26 6.6-4.85 2.3-9.07 6.18-14.12 6.5-1.8.07-3.42-.97-5-1.8-7.2-3.88-21-15.04-27.5-10.17C13.32 5 11 9.77 8.45 13.02c-1.22 1.58-2.37 3.22-3.4 5-.03.22-1.45 2.16-1.57 2.46z" />
    </g>
  </svg>
  <svg id="bird03" class="birds" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 117.75 28.61"  width="117.75" height="28.61">
    <g id="layer1" fill="#a3a3a3">
      <path id="bird3fly01" class="birdsFly" d="M.28 12.2c-.94.75.64 1.28 2.32 1.78 3.47 1.07 8.2-.65 11.58-1.1 8.3-1.1 16.94.82 23.9 5.44.75.53 1.63 1.13 2.14 1.93 1.4 2.23.3 5.6 2.37 7.24 1.6 1.2 4 .3 5.7-.7 4.2-2.4 8.1-5.5 11.4-8.9 3.3-3.5 6.4-7.3 10.7-9.2 3.12-1.4 6.8-1.4 10.2-1.2C93.8 8 95.7 10 106.1 15c4.05.5 8.8.85 11.53-2.1-.77-.96-2.08-1.25-3.2-1.58C101.03 8.1 99.35 5.6 86.8.9c-4.38-1.63-9.5-.86-13.94.8-3.6 1.22-6.6 3.64-9.86 5.82-3.46 2.22-7.18 4.2-11.03 5.7-1.04.38-2.08.75-3.1.8-1.84.06-3.45-.98-5-1.82-7.1-3.86-15.17-5.6-23.25-5.3-4.1.12-8.05.82-11.97 2.03-1.9.6-3.8 1.28-5.64 2.16-.1.1-2.4.9-2.7 1.1z" />
      <path id="bird3fly02" class="hidden" d="M3.46 20.5c-.34 1.15 1.26.67 2.92.13 3.46-1.1 5.86-7.16 8.38-9.47 6.18-5.64 16.5 3.07 23.45 7.7.8.52 1.7 1.12 2.2 1.92 1.4 2.22.3 5.6 2.4 7.24 1.7 1.23 4 .32 5.7-.64 4.3-2.42 8.1-5.47 11.5-8.9 3.4-3.45 10.4-5.66 14.9-7.04 3.3-1 6.3-2.77 8.9-.5 4.78 2.32 12.4 5.68 17.6 11.3 2.85 2.95 6.33 6.18 10.33 5.58 0-1.2-.84-2.25-1.5-3.2-8.5-11.1-4.66-6-14.7-15.82-3.4-3.28-9.44-8.55-14-7.36-3.7.86-15 4.43-18.26 6.6-4.85 2.3-9.07 6.18-14.12 6.5-1.8.07-3.42-.97-5-1.8-7.2-3.88-21-15.04-27.5-10.17C13.32 5 11 9.77 8.45 13.02c-1.22 1.58-2.37 3.22-3.4 5-.03.22-1.45 2.16-1.57 2.46z" />
    </g>
  </svg>
</div>

<div id="hitarea"></div>

<svg id="earth" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 388 197" >
    <path id="path4791" fill="#f8c699" stroke="#2f3336" stroke-width=".2" d="M201.14 23.07c.06 2.67.8-.4.64.36.06-.6-.07-.54-.64-.36zm-.1 0c-.4-.03-1.35.3-.4.32-.6.1-.6.3.08.3-.62 0-.38.3.06.2-.6.3-.35.4.13.4.5-.1.6-.2 1-.3 2.5-.5 6.6-.3 9.7-.9l-.4-2.2c-3.4 1-6.1 2.5-9.2 2.3 0-.7-.3-.5-.8-.4z" stroke-linejoin="round"/>
    <path id="path3953" fill="#005495" d="M0 46.66c114.87-18.98 241.2-20.24 387.68 3.76v146.2H0z"/>
    <path id="beach01"  fill="#d9c593" d="M193.3 44.94c2.03 6.18 9.82 3.07 12.74 8.33 4.77 1.26 25.65-3.88 28.2 1.33 4.8 2.74 13.42-6.1 18.43-3.7 6.24 2.65 14.48 5.86 19.3 8.78 3.8-3.17 4.82.47 9.7.44 4.42-1.17 14.4-4.5 19-3.54 4.13-.2 4.48-3.18 8.58-4.2 3.9-1.5 7.74-.06 10.52 1.56 3.7.68 6.7-1.95 9.9-3.37 4.86.9 16.03 5.32 19.57.75 3.37-2.27 3.43-5.48-3.47-6.76-4.4-2.36-11.87-5.2-15.84-1.45-3.75 2.1-6.54-3.8-10.35-1.9-5.08.7-9.63-.1-14.73-.8-4.7-2.5-10.78-1.2-15.76-2.4-4.6-1.4-7.5 2.1-12.6 1.2-2.3-.3-7.7 1.9-10.1 1.7-3.4-4.3-7.4 5.2-15.1.6-11.4-6.9-17.4-4.5-30.9-5-4.5-1.3-17-4.7-20 1.5-3.7 2.5-3.8 4.3-7.3 7.2z"/>
    <path id="beach02" class="hidden" fill="#d9c593" d="M198.12 45.08c2.04 6.18 9.25-1.96 11.25 4.53 4.77 1.3 23.7-4.2 26.23 1 4.82 2.8 12.9-6.3 17.9-3.9 6.25 2.7 12.76 4 17.58 7 3.8-3.1 6.75 1.4 11.63 1.4 4.5-1.2 13.5-3.5 18.1-2.5 4.1-.2 3.6-1.4 7.7-2.4 3.9-1.5 8.7-1.4 11.5.2 3.7.7 6.6-2.3 9.8-3.7 4.9.9 11.8 8.4 15.4 3.9 3.4-2.24 6.4-2.14-.5-3.42-4.4-2.4-10.4-6.4-14.34-2.7-3.77 2.04-6.7-4.03-10.54-2.16-5.1.63-9.6-1-14.7-1.8-4.73-2.54-10.8-1.2-15.8-2.4-4.5-1.43-7.5 2.05-12.6 1.2-2.3-.34-7.7 1.86-10 1.7-3.4-4.32-7.4 5.2-15.1.55-11.4-6.9-17.33-4.5-30.8-5-4.53-1.3-15.7-5.2-18.76 1z"/>
    <path id="path3957" fill="#005427" d="M194.78 44.7c1.93 5.95 8.67 2.14 12.78 5.97 4.7 1.28 23.1-2.02 27.06 1 4.74 2.7 14.55-5.07 19.5-2.7 6.13 2.63 11.33 7.97 17.83 8.2 3.8-2.97 4.76.52 9.6.57 4.4-1.03 14.32-4.06 18.88-3.05 4.1-.2 2.1-2.4 6.17-3.4 3.9-1.4 9.07.6 13.07 0 3.67.7 6.4-.6 9.6-2 4.78.9 15.8 5.3 19.36 1 3.37-2.1 3.48-5.2-3.35-6.5-4.33-2.3-10.48-3.3-14.93-2.5-3.74 1.9-7.16-2.9-10.96-1.2-5.1.5-9.6-.3-14.6-1.1-4.7-2.5-10.7-1.3-15.6-2.6-4.5-1.46-7.3.1-12.3-.8-2.3-.37-7.4.1-9.8-.1-3.3-4.2-7.2 2.52-14.7-2.08-12.8-1.47-17.8 1.02-31.2.35-4.5-1.3-19.1-4-20.8 1.54-.4 4.37-2.3 6.9-5.9 9.14z"/>
    <path id="path4314" fill="#f8c699" stroke="#2f3336" stroke-width=".2" d="M213.35 33.1c.62 1.43.45 4.6.22 5.32-.15.47.5.42-.06.82-1.9-.32-1.2.15-2.2-.02h-.7c-.5-.08-.3-.15-.5-.5.5-.5 1-.26 1-.26l.9.05c1.4.2.9.1.87-.5-.34-1-.3-3.3-.43-4.8"/>
    <path id="path4302" fill="#f8c699" stroke="#2f3336" stroke-opacity=".99" stroke-width=".2" d="M218.3 18.95c3.22 2.54 3.2 7.03 2.35 10.52-.56 2.32-1.6 4.98-4.57 5.5.28 1.64.52 2.83.33 4.37.8.32.8.92-.4.78-1.5.17.3-.04-2.9.1-.3.02-.4-.12-.3-.47.1-.28.3-.32 1.1-.37 3 .08.9.92.9-4.54-5.9-.06-5.3-3.06-6-5.75-.9-3.4-.3-5.9 3-10.1"/>
    <path id="path4300" fill="#f8c699" stroke="#2f3336" stroke-width=".21" d="M218.48 23.4c-2.5 4.1-5.84 7.06-8.22 9.64-1.16.9-1.63.4-.5-.27-1.08.83-1.37.38-.34-.42-1.3 1.02-1.54-.1-.3-.33-1.07.74-.73-.55-.07-.56l.97-.08c5.42-4.12 6.42-8.13 5.8-8.57" stroke-linecap="round"/>
    <g id="head">
      <path id="path4233" fill="#f8c699" stroke="#0e1111" stroke-opacity=".67" stroke-width=".2" d="M220.04 16.54c2.26-1.75 1-3.77.95-10.02-4.7-2.73-4.9-3.47-12.9-1.63.9 2.5-.1 4.2-1 6.1.7 1.3.3 1.8 0 2.6-.2.3-1.1.7.3.5.9-.2-1.5.5-.2.5 1.7.1-.7 5.1 2.4 2.7.3 3.5 6.1 3.6 8.8 2.3 1-.5.4-2.5 1.4-3.2z" stroke-linecap="round"/>
      <path id="path3945" fill="#f8c699" stroke="#0e1111" stroke-opacity=".67" stroke-width=".2" d="M209.35 5.5c.1.2-1.3 1.08-1.23 1.28.3.97-.37 2.63-.8 3.5-1.18.36-2.07 1.84.3 1.1.78-.23.53-.13 1.2-.18.7-.05 1.17-.72.03-.78" stroke-linecap="round"/>
      <g id="g3940" stroke-width=".3">
        <path id="path4237" fill="#fbefdb" stroke="#2f3336" stroke-width=".17" d="M208.9 7.42c.26.2.97.26 1.6.26.6 0 1.1-.3 1.1-.64 0-.36-.5-.4-1.1-.4-.63 0-1.6.43-1.6.78z"/>
        <path id="path4261" fill="#0f1313" d="M209.94 7.24c0 .13.2.24.45.24.2 0 .4-.1.4-.24 0-.14-.2-.25-.5-.25s-.5.1-.5.2z"/>
      </g>
      <path id="path3164" fill="#f1c009" d="M200.76 12.64c1.52-6.04 4.05-8.96 9.52-11.34 5.38-2.34 13.77-1.8 11.8 3.93 3.98-.08 3.74 3.1 2.23 6.3-.5 1.36-.9 2.57 1.2 2.1-2 .55-7.6 7.86-5.4-2.64.3-2.7-.3-3.4-2.2-.8l-.9.2-1.1-3.2c-7.8-2.3-11.9.7-15 5.3z"/>
      <path id="path3951" fill="none" stroke="#2f3336" stroke-width=".2" d="M208.8 7.75c1 1.4 2.5.5 3.63-.23" stroke-linecap="round"/>
    </g>
    <path id="wave01" fill="none" stroke="#4471f5" stroke-width=".31" d="M190.93 33.33c-2.38 9.44-14.2 19.88-4.15 22.54 6.37 1.7 14.75-1.03 13.1 7.63-1.4 7.44 19.5.7 24.97-1 2.84-.87 9.17-2.18 11.24 1.26 1.7 2.83 3.8 6.07 10.6.14 4.2-3.64 15-3.36 13.2 3.48-1.3 4.5 6.8 4.87 12.9.3 2.7-2.06 9.7-5.8 13.9-2.76 6.3 4.55 10.3 4.44 11 2.96 6.8-13.13 10.7-.15 15.5-3.6 3.6-2.63 9.1-6.66 13.8-3.36 3.4 2.43 7-2.22 9.4.8 3 3.83 5.8-3.9 10.2-5.17 11.2-3.2 9.6-9.03 9.5-8.85" stroke-linecap="round" stroke-linejoin="round"/>
    <path id="wave02" class="hidden" fill="none" stroke="#4471f5" stroke-width=".31" d="M196.17 33.42c-2.23 9.47-12.03 18.27-1.94 20.77 6.4 1.5 10.95-4 9.44 4.7-.66 3.8 6.42 3.1 11.6.2 8.37-4.7 10.22 1 12.9.1 2.82-1 8.83-3.6 10.95-.2 1.74 2.8 3.34-1.6 9.15-4 5.12-2.1 18.32.9 16.55 7.8-1.17 4.5 5.47 4 11.8-.2 2.35-1.6 20.63-7.2 13.5-2.1-6.37 4.5 7.05-2.1 10.6-3 3.47-.98 5.8.9 10.46-2.6 3.58-2.7 13.67 5.4 15.75-.48 1.35-3.8 2.88-3.44 9.63.55 4.22 2.5 4.13-.25 8.67-1.1 5.2-.97 7.8-2.26 8.05-7.4" stroke-linecap="round" stroke-linejoin="round"/>
    <path id="pee" class="hidden" fill="none" stroke="#aa8f00" stroke-dashoffset="9.4" d="M172.1 42.04c6.2-8.47 15.7-17.4 35.8-10.2" stroke-dasharray="2 2"/>
    <path id="shit" class="hidden" fill="#796400" d="M210.33 4.48c.28.52.9.66 1.45.74.9-.84 1.94-.48 3.03.14.5-.16.6-.65.7-1.06-.7-.67.3-1.9.8-3.07 0-.45-.5-.74-.9-.66-1 1.1-1.6-.25-2.1.26-.1 1.88-.8 1.44-1.6 1.52-1.53 1-1.4 1.33-1.1 2.13z"/>
</svg>


<svg id="save" xmlns="http://www.w3.org/2000/svg"  viewBox="0 0 214.98 244.48" width="214.98" height="244.94">
    <g id="g3173" fill="#201b51" word-spacing="0">
      <path id="path4490" d="M38.95 42.67c2.65 2.15 4.8 3.63 6.44 4.43 1.6.8 3.3 1.2 5 1.2 2.7 0 5.1-.96 7.2-2.9 2.1-1.92 3.1-4.43 3.1-7.52 0-2.32-.7-4.27-2.1-5.82-1.4-1.54-4.1-3.05-8.1-4.53-7.84-2.97-11.76-7.47-11.76-13.5 0-3.9 1.4-7.2 4.2-9.93C45.8 1.37 49.14 0 53 0c3.2 0 6.48 1.2 9.87 3.56v6.72c-2.13-2-3.9-3.38-5.3-4.12-1.4-.74-2.87-1.1-4.42-1.1-2.6 0-4.78.88-6.5 2.66-1.7 1.78-2.58 3.84-2.58 6.2 0 2.37.77 4.24 2.3 5.6 1.56 1.4 4.36 2.9 8.4 4.56 2.46 1 4.44 2 5.93 3 1.5 1.02 2.76 2.45 3.76 4.3 1 1.86 1.5 3.98 1.5 6.35 0 4.43-1.54 8.15-4.6 11.17-3.08 3.02-6.7 4.53-10.9 4.53-3.68 0-7.5-1.43-11.6-4.27z" style="text-align:center;line-height:98.00000191%;-inkscape-font-specification:'Abadi MT Condensed Light,'" font-size="24" letter-spacing="1.31" text-anchor="middle" font-family="Abadi MT Condensed Light"/>
      <path id="path4492" d="M86.5.85h4.98L105.9 52.6h-5.63L95.9 34.74H82.12L77.8 52.6h-5.54zm2.42 6.3l-5.75 23.38h11.6z" style="text-align:start;line-height:98.00000191%;-inkscape-font-specification:Gill Sans MT" font-size="14" letter-spacing=".02" font-family="Gill Sans MT"/>
      <path id="path4494" d="M105.9.85h5.53l11.46 45.08L133.8.85h5.56l-14.1 51.76h-5z" style="text-align:start;line-height:98.00000191%;-inkscape-font-specification:Gill Sans MT" font-size="14" letter-spacing=".8" font-family="Gill Sans MT"/>
      <path id="path4496" d="M147.13.85h25.1v4.38h-20.1v18.22h19v4.3h-19V48.3h20.1v4.3h-25.1z" style="text-align:start;line-height:98.00000191%;-inkscape-font-specification:Gill Sans MT" font-size="14" letter-spacing=".88" font-family="Gill Sans MT"/>
      <path id="path4498" d="M90.08 67.73c2.3 0 4.15 1.1 5.56 3.32 1.42 2.2 2.13 5.32 2.13 9.32 0 3.6-.73 6.46-2.2 8.62-1.46 2.1-3.32 3.2-5.57 3.2-2.3 0-4.17-1.1-5.6-3.2-1.45-2.1-2.17-5.1-2.17-8.8 0-3.9.7-6.9 2.1-9.1 1.38-2.3 3.3-3.4 5.75-3.4zm.1 2.1c-1.9 0-3.3.98-4.2 2.9-.9 1.94-1.36 4.47-1.36 7.6 0 2.96.47 5.32 1.4 7.1.96 1.75 2.26 2.63 3.93 2.63 1.7 0 3-.9 3.96-2.72 1-1.8 1.5-4.28 1.5-7.4 0-3.4-.5-5.92-1.5-7.6-1-1.66-2.2-2.5-3.6-2.5z" style="text-align:center;line-height:98.00000191%;-inkscape-font-specification:'Abadi MT Condensed Light,'" font-size="11" letter-spacing="0" text-anchor="middle" font-family="Abadi MT Condensed Light"/>
      <path id="path4500" d="M100.7 68.12h2.3V85.2c0 1.53.35 2.74 1.07 3.64.72.9 1.72 1.34 3.02 1.34 1.2 0 2.2-.43 2.9-1.3.7-.85 1.1-2.08 1.1-3.68V68.12h2.3V85.2c0 2.14-.6 3.85-1.8 5.12-1.2 1.26-2.77 1.9-4.7 1.9-2 0-3.56-.68-4.68-2.05-1.14-1.37-1.7-3.2-1.7-5.47z" style="text-align:center;line-height:98.00000191%;-inkscape-font-specification:'Abadi MT Condensed Light,'" font-size="11" letter-spacing="0" text-anchor="middle" font-family="Abadi MT Condensed Light"/>
      <path id="path4502" d="M117.48 68.12h5.7c2.07 0 3.73.48 4.98 1.42 1.26.95 1.88 2.4 1.88 4.33 0 1.46-.4 2.73-1.18 3.8-.8 1.07-2 1.88-3.68 2.43 1.14.3 2 .8 2.54 1.52.55.72.97 1.77 1.25 3.17l1.4 7h-2.47l-.93-5.7c-.3-1.8-.82-3.1-1.54-4-.72-.8-1.76-1.2-3.12-1.2h-2.5v10.9h-2.2zm2.26 2.08v8.88h2.36c1.68 0 3.03-.45 4.07-1.34 1.03-.9 1.54-2.1 1.54-3.6 0-1.33-.3-2.3-1.1-2.96-.7-.66-1.8-.98-3.3-.98z" style="text-align:center;line-height:98.00000191%;-inkscape-font-specification:'Abadi MT Condensed Light,'" font-size="11" letter-spacing="0" text-anchor="middle" font-family="Abadi MT Condensed Light"/>
      <path id="path4504" d="M1.18 104.46h14.3c4.5 0 8.03 1.12 10.6 3.36 2.57 2.24 3.86 5.56 3.86 9.96 0 4.7-1.46 8.36-4.38 10.98-2.92 2.62-6.78 3.93-11.58 3.93h-7.7v23.5h-5.1zm5.1 4.45v19.5h7.6c3.23 0 5.84-.9 7.82-2.7 1.98-1.8 2.97-4.3 2.97-7.5 0-2.9-.82-5.1-2.45-6.8-1.63-1.6-3.9-2.4-6.83-2.4z" style="text-align:start;line-height:98.00000191%;-inkscape-font-specification:Gill Sans MT" font-size="14" letter-spacing=".83" font-family="Gill Sans MT"/>
      <path id="path4506" d="M39.6 104.46h5.1v47.4h19.22v4.36h-24.3z" style="text-align:start;line-height:98.00000191%;-inkscape-font-specification:Gill Sans MT" font-size="14" letter-spacing=".83" font-family="Gill Sans MT"/>
      <path id="path4508" d="M81.38 104.46h4.98l14.43 51.76h-5.7l-4.4-17.9H77l-4.33 17.9h-5.53zm2.42 6.3l-5.75 23.38h11.6z" style="text-align:center;line-height:98.00000191%;-inkscape-font-specification:'Abadi MT Condensed Light,'" font-size="24" letter-spacing="1.39" text-anchor="middle" font-family="Abadi MT Condensed Light"/>
      <path id="path4510" d="M114.84 104.46l15.32 34.47 4 9.1c-.27-9.3-.4-14.12-.4-14.45v-29.12h4.5v51.76h-5.06l-14.84-33.2c-.42-.95-1.2-2.95-2.37-6.02l-1.8-4.56c-.1 1.04-.1 1.64-.1 1.8l.1 4.02V124l-.1 2.3v30h-4.5v-51.8z" style="text-align:center;line-height:98.00000191%;-inkscape-font-specification:'Abadi MT Condensed Light,'" font-size="24" letter-spacing="1.39" text-anchor="middle" font-family="Abadi MT Condensed Light"/>
      <path id="path4512" d="M152.22 104.46h25.12v4.38h-20.1v18.2h18.98v4.32h-19v20.55h20.12v4.4h-25.12z" style="text-align:center;line-height:98.00000191%;-inkscape-font-specification:'Abadi MT Condensed Light,'" font-size="24" letter-spacing="1.39" text-anchor="middle" font-family="Abadi MT Condensed Light"/>
      <path id="path4514" d="M185.93 104.46h29.05v4.38H202.8v47.38h-4.92v-47.38h-11.95z" style="text-align:center;line-height:98.00000191%;-inkscape-font-specification:'Abadi MT Condensed Light,'" font-size="24" letter-spacing="1.39" text-anchor="middle" font-family="Abadi MT Condensed Light"/>
      <path id="path4516" d="M0 193.8h2.1v21.57H0z" style="text-align:center;line-height:98.00000191%;-inkscape-font-specification:'Abadi MT Condensed Light,'" font-size="10" letter-spacing=".12" text-anchor="middle" font-family="Abadi MT Condensed Light"/>
      <path id="path4518" d="M4.94 193.8h12.1v1.83h-5.07v19.74H9.92v-19.74H4.94z" style="text-align:center;line-height:98.00000191%;-inkscape-font-specification:'Abadi MT Condensed Light,'" font-size="10" letter-spacing=".12" text-anchor="middle" font-family="Abadi MT Condensed Light"/>
      <path id="path4520" d="M23.6 194h2.3l-3.3 4.52h-1.3z" style="text-align:center;line-height:98.00000191%;-inkscape-font-specification:'Abadi MT Condensed Light,'" font-size="10" letter-spacing=".12" text-anchor="middle" font-family="Abadi MT Condensed Light"/>
      <path id="path4522" d="M29.7 211.23c1.1.9 2 1.5 2.67 1.84.7.34 1.4.5 2.1.5 1.12 0 2.12-.4 3-1.2.9-.8 1.33-1.85 1.33-3.14 0-.97-.3-1.78-.87-2.43-.6-.63-1.7-1.26-3.35-1.88-3.27-1.24-4.9-3.1-4.9-5.63 0-1.7.58-3 1.74-4.2 1.16-1.2 2.54-1.7 4.16-1.7 1.33 0 2.7.5 4.1 1.4v2.8c-.88-.86-1.62-1.4-2.2-1.7-.6-.3-1.2-.5-1.85-.5-1.08 0-1.98.37-2.7 1.1-.72.76-1.07 1.62-1.07 2.6s.32 1.77.96 2.34c.65.55 1.8 1.2 3.5 1.87 1.02.4 1.85.84 2.47 1.26.6.4 1.1 1 1.5 1.8.4.75.6 1.63.6 2.62 0 1.82-.7 3.4-1.9 4.63-1.3 1.25-2.8 1.9-4.6 1.9-1.56 0-3.17-.6-4.86-1.8z" style="text-align:center;line-height:98.00000191%;-inkscape-font-specification:'Abadi MT Condensed Light,'" font-size="10" letter-spacing=".12" text-anchor="middle" font-family="Abadi MT Condensed Light"/>
      <path id="path4524" d="M50.3 193.8h12.1v1.83h-5.06v19.74h-2.06v-19.74H50.3z" style="text-align:center;line-height:98.00000191%;-inkscape-font-specification:'Abadi MT Condensed Light,'" font-size="10" letter-spacing=".12" text-anchor="middle" font-family="Abadi MT Condensed Light"/>
      <path id="path4526" d="M65.17 193.8h2.08v9.37h7.6v-9.37h2.1v21.57h-2.1V205h-7.6v10.37h-2.08z" style="text-align:center;line-height:98.00000191%;-inkscape-font-specification:'Abadi MT Condensed Light,'" font-size="10" letter-spacing=".12" text-anchor="middle" font-family="Abadi MT Condensed Light"/>
      <path id="path4528" d="M81.4 193.8h10.46v1.83h-8.38v7.6h7.9V205h-7.9v8.58h8.38v1.8H81.4z" style="text-align:center;line-height:98.00000191%;-inkscape-font-specification:'Abadi MT Condensed Light,'" font-size="10" letter-spacing=".12" text-anchor="middle" font-family="Abadi MT Condensed Light"/>
      <path id="path4530" d="M109.4 193.45c2.07 0 3.76 1 5.04 3 1.3 2.02 1.94 4.85 1.94 8.48 0 3.27-.67 5.88-2 7.84s-3.02 2.94-5.07 2.94c-2 0-3.7-.9-5.1-2.9-1.3-1.9-1.9-4.6-1.9-8 0-3.5.7-6.2 1.9-8.3 1.3-2 3-3 5.3-3zm.08 1.92c-1.73 0-3 .87-3.82 2.63-.82 1.76-1.23 4.06-1.23 6.9 0 2.7.43 4.84 1.28 6.44.9 1.6 2.1 2.4 3.6 2.4 1.6 0 2.8-.82 3.6-2.47.9-1.65 1.3-3.9 1.3-6.72 0-3.08-.4-5.38-1.3-6.9-.9-1.52-2-2.28-3.3-2.28z" style="text-align:center;line-height:98.00000191%;-inkscape-font-specification:'Abadi MT Condensed Light,'" font-size="10" letter-spacing=".12" text-anchor="middle" font-family="Abadi MT Condensed Light"/>
      <path id="path4532" d="M121.84 193.8l6.4 14.36 1.66 3.8c-.12-3.88-.17-5.9-.17-6.02V193.8h1.87v21.57h-2.1l-6.2-13.84c-.16-.4-.5-1.22-.98-2.5l-.74-1.9-.05.75.08 1.67.1 2.4v13.43h-1.83V193.8z" style="text-align:center;line-height:98.00000191%;-inkscape-font-specification:'Abadi MT Condensed Light,'" font-size="10" letter-spacing=".12" text-anchor="middle" font-family="Abadi MT Condensed Light"/>
      <path id="path4534" d="M136.04 193.8h2.12v19.76h8v1.8h-10.12z" style="text-align:center;line-height:98.00000191%;-inkscape-font-specification:'Abadi MT Condensed Light,'" font-size="10" letter-spacing=".12" text-anchor="middle" font-family="Abadi MT Condensed Light"/>
      <path id="path4536" d="M147 193.8h2.46l3.95 9.54 3.8-9.54h2.4l-5.1 11.7v9.87h-2.1v-9.88z" style="text-align:center;line-height:98.00000191%;-inkscape-font-specification:'Abadi MT Condensed Light,'" font-size="10" letter-spacing=".12" text-anchor="middle" font-family="Abadi MT Condensed Light"/>
      <path id="path4538" d="M175.9 193.45c2.1 0 3.77 1 5.06 3 1.3 2.02 1.94 4.85 1.94 8.48 0 3.27-.67 5.88-2 7.84s-3.02 2.94-5.07 2.94c-2.1 0-3.8-.9-5.1-2.9-1.3-1.9-1.96-4.6-1.96-8 0-3.5.63-6.2 1.9-8.3 1.26-2 3-3 5.24-3zm.1 1.92c-1.73 0-3 .87-3.83 2.63-.8 1.76-1.22 4.06-1.22 6.9 0 2.7.42 4.84 1.28 6.44.85 1.6 2.04 2.4 3.55 2.4 1.54 0 2.74-.82 3.6-2.47.87-1.65 1.3-3.9 1.3-6.72 0-3.08-.45-5.38-1.36-6.9-.92-1.52-2.02-2.28-3.32-2.28z" style="text-align:center;line-height:98.00000191%;-inkscape-font-specification:'Abadi MT Condensed Light,'" font-size="10" letter-spacing=".12" text-anchor="middle" font-family="Abadi MT Condensed Light"/>
      <path id="path4540" d="M188.36 193.8l6.4 14.36 1.66 3.8-.18-6.02V193.8h1.88v21.57h-2.1l-6.2-13.84c-.17-.4-.5-1.22-.98-2.5l-.74-1.9-.05.75.08 1.67v2.4l-.03.93v12.5h-1.87V193.8z" style="text-align:center;line-height:98.00000191%;-inkscape-font-specification:'Abadi MT Condensed Light,'" font-size="10" letter-spacing=".12" text-anchor="middle" font-family="Abadi MT Condensed Light"/>
      <path id="path4542" d="M202.48 193.8h10.47v1.83h-8.38v7.6h7.92V205h-8v8.58h8.4v1.8h-10.5z" style="text-align:center;line-height:98.00000191%;-inkscape-font-specification:'Abadi MT Condensed Light,'" font-size="10" letter-spacing=".12" text-anchor="middle" font-family="Abadi MT Condensed Light"/>
      <path id="path4544" d="M61.13 223.38h2.16l-4 21.56h-2L55 230.58l-.5-4.05c-.33 2.67-.62 4.73-.85 6.17l-2 12.24h-2l-3.96-21.56H48l2 13.1.33 2.65c.05.5.16 1.28.32 2.38l.52-3.9c.05-.6.1-1.1.2-1.4l2-12.7h2.04l2.2 13.1.8 5.07.7-5.03z" style="text-align:center;line-height:98.00000191%;-inkscape-font-specification:'Abadi MT Condensed Light,'" font-size="10" letter-spacing=".12" text-anchor="middle" font-family="Abadi MT Condensed Light"/>
      <path id="path4546" d="M65.84 223.38h2.1v21.56h-2.1z" style="text-align:center;line-height:98.00000191%;-inkscape-font-specification:'Abadi MT Condensed Light,'" font-size="10" letter-spacing=".12" text-anchor="middle" font-family="Abadi MT Condensed Light"/>
      <path id="path4548" d="M70.78 223.38h12.1v1.82H77.8v19.74h-2.04V225.2h-4.98z" style="text-align:center;line-height:98.00000191%;-inkscape-font-specification:'Abadi MT Condensed Light,'" font-size="10" letter-spacing=".12" text-anchor="middle" font-family="Abadi MT Condensed Light"/>
      <path id="path4550" d="M85.64 223.38h2.1v9.37h7.6v-9.37h2.1v21.56h-2.1v-10.37h-7.6v10.37h-2.1z" style="text-align:center;line-height:98.00000191%;-inkscape-font-specification:'Abadi MT Condensed Light,'" font-size="10" letter-spacing=".12" text-anchor="middle" font-family="Abadi MT Condensed Light"/>
      <path id="path4552" d="M109.4 223.38h5.7c1.7 0 3.04.4 4.05 1.24 1.02.83 1.52 2.08 1.52 3.75 0 1.2-.3 2.22-.9 3.06-.6.85-1.5 1.52-2.7 2.03 1.7.15 2.98.66 3.83 1.54.85.87 1.27 2.1 1.27 3.68 0 1.22-.25 2.26-.75 3.13-.5.9-1.26 1.7-2.27 2.3-1 .6-2.22.9-3.64.9h-6.1zm2.08 1.82v7.56h2.35c1.46 0 2.6-.36 3.44-1.08.83-.72 1.24-1.76 1.24-3.1 0-1.13-.3-1.97-1-2.53-.6-.57-1.7-.85-3-.85zm0 9.37v8.56h3.48c1.6 0 2.84-.4 3.7-1.23.88-.83 1.32-1.94 1.32-3.34s-.47-2.42-1.4-3.05c-.95-.6-2.4-.9-4.35-.9z" style="text-align:center;line-height:98.00000191%;-inkscape-font-specification:'Abadi MT Condensed Light,'" font-size="10" letter-spacing=".12" text-anchor="middle" font-family="Abadi MT Condensed Light"/>
      <path id="path4554" d="M125.38 223.38h10.47v1.82h-8.38v7.6h7.92v1.8h-8v8.55h8.4v1.8h-10.5z" style="text-align:center;line-height:98.00000191%;-inkscape-font-specification:'Abadi MT Condensed Light,'" font-size="10" letter-spacing=".12" text-anchor="middle" font-family="Abadi MT Condensed Light"/>
      <path id="path4556" d="M139.6 223.38h10.48v1.82h-8.38v7.6h7.92v1.8h-7.92v8.55h8.38v1.8H139.6z" style="text-align:center;line-height:98.00000191%;-inkscape-font-specification:'Abadi MT Condensed Light,'" font-size="10" letter-spacing=".12" text-anchor="middle" font-family="Abadi MT Condensed Light"/>
      <path id="path4558" d="M153.92 223.38h5.2c1.87 0 3.38.43 4.52 1.3 1.14.85 1.7 2.16 1.7 3.92 0 1.33-.35 2.48-1.07 3.46-.7.97-1.83 1.7-3.34 2.2 1.04.27 1.8.73 2.3 1.4.5.64.9 1.6 1.14 2.87l1.27 6.4h-2.24l-.85-5.18c-.28-1.65-.75-2.84-1.4-3.57-.65-.73-1.6-1.1-2.84-1.1H156v9.86h-2.06zm2.06 1.88v8.07h2.15c1.52 0 2.75-.4 3.7-1.2.93-.82 1.4-1.9 1.4-3.3 0-1.2-.34-2.08-1-2.68-.68-.6-1.68-.9-3.02-.9z" style="text-align:center;line-height:98.00000191%;-inkscape-font-specification:'Abadi MT Condensed Light,'" font-size="10" letter-spacing=".12" text-anchor="middle" font-family="Abadi MT Condensed Light"/>
  </g>
</svg>
              
            
!

CSS

              
                html{
  height: 100%;
  width: 100%;
}

body {
  height: 100%;
  width: 100%;
  background: #367bf9;
  margin:0;
  overflow:hidden;
}
.hidden{visibility: hidden;}

#hitarea{
  position:absolute;
  top:48%;
  left:55%;
  width: 30px;
  height:50px;
}
#earth{
  position: absolute;
  width: 103%;
  min-width:500px;
  margin-top: 65vh;
  z-index:10;
}
#wrapperBirds{
  position: absolute;
  width: 100%;
  height: 58%;
  top: 5%;
  left: 0;
}
.birds {
  position: absolute;
  top: 40%;
  left: 50%;
  width: 220px;
  z-index:100;
}
#save{
  position: absolute;
  top: 10%;
  left: 100px;
  width:auto;
  height:40%;
  min-height:200px;
  z-index:1;
  visibility:hidden;
}







              
            
!

JS

              
                console.clear();

// The claim =======================================
var isAnimating = false;

var HeDidIt = new TimelineMax({paused:true, onComplete: claimRaising})
.set('#pee',{autoAlpha:1})
.to('#pee',0.3,{strokeDashoffset:"+=12", repeat:30, repeatDelay:0.1, ease:Linear.easeNone})
.to('#beach01',10,{morphSVG: '#beach02'},1)
.to('#pee',0.5,{autoAlpha:0})

var claim = new TimelineMax({paused:true, onComplete: animating})
  .set('#save',{autoAlpha:1})
  .fromTo('#save',12,{yPercent:150},{yPercent:0, ease:Power2.easeOut})
  .to('#save',1.5,{autoAlpha:0})
                                     
function claimRaising (){
  claim.restart(0);
}
function animating (){
  isAnimating = false;
}
// waves =======================================
var wave = new TimelineMax()
  .to("#wave01",4.2, {morphSVG:"#wave02", repeat:-1, yoyo:true, ease:Linear.easeNone})

// Animation of the birds =======================================         
var Bird01 = $("#bird01"),
    Bird02 = $("#bird02"),
    Bird03 = $("#bird03");

// Lets save some values we'll use later on
Bird01.data("width", Bird01.width());
Bird02.data("width", Bird02.width());
Bird03.data("width", Bird03.width());

var timeFly = random(0.4, 0.8),
    birdsFly = $('.birdsFly')

TweenMax.staggerTo(birdsFly, timeFly, {
  cycle:{morphSVG: ["#bird1fly02", "#bird2fly02", "#bird3fly02"]},
  repeat: -1,
  yoyo: true,
  repeatDelay: 0.07,
  ease: Power3.easeOut
},0.3);


var width = $("#wrapperBirds").width();
var height = $("#wrapperBirds").height();

TweenLite.set([Bird01, Bird02, Bird03], {
  xPercent: -50,
  yPercent: -50
});

// x/y values for how far away from the center they can move
var dx = width  * 0.4;
var dy = height * 0.5;

// Animate our properties individually
tweenProperty(Bird01, "scale", 0.2, 0.8);
tweenProperty(Bird01, "x", -dx, dx);
tweenProperty(Bird01, "y", -dy, dy);

tweenProperty(Bird02, "scale", 0.5, 1);
tweenProperty(Bird02, "x", -dx, dx);
tweenProperty(Bird02, "y", -dy, dy);

tweenProperty(Bird03, "scale", 0.4, 0.9);
tweenProperty(Bird03, "x", -dx, dx);
tweenProperty(Bird03, "y", -dy, dy);

function tweenProperty(target, prop, min, max) {
  
  TweenLite.to(target, random(3,6), {
    [prop]: random(min, max), 
    ease: Sine.easeInOut,
    onComplete: tweenProperty,
    onCompleteParams: [target, prop, min, max],
    onUpdate:SomeGullsDoIt
  });

// x % chance   I mean risk !!! ======================
  if (risk(5) && !isAnimating ) {    // 
    isAnimating = true;
    HeDidIt.restart(0);
  }
// == hitTest ======================
var gullClose = bird03._gsTransform.scaleX;

function SomeGullsDoIt() {
  if (Draggable.hitTest(bird03, "#hitarea") && gullClose > 0.75){
    TweenMax.to("#shit", 0.1, {autoAlpha:1});
  }
}  
  //console.log(chance(5));
  //console.log(gullClose);
}

// ==================================================================
function random(min, max) {
  if (max == null) { max = min; min = 0; }
  return Math.random() * (max - min) + min;
}

function risk (chance) {
  if (chance == null) { chance = 50; }
  return chance > 0 && Math.random() * 100 <= chance;
}

function randomChoice(choice1, choice2) {
  return Math.random() < 0.5 ? choice1 : choice2;
}

              
            
!
999px

Console