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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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 class="document-body">
  <div class="container">
    <div class="text"><p>Page not found.</p></div>

    <div class="text404">
      <div class="four fleft">4</div>
      <div class="robot">
        <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
           viewBox="0 0 508 508">
          <rect class="neck" x="206" y="156" style="fill:#E8E3E3;" width="100" height="28" stroke="black" stroke-width="7"/>

          <g class="body">
            <path style="fill:#33A5D2;" d="M150,316c0,7.6,5.6,14,13.2,14h184c7.6,0,14.8-6.4,14.8-14v-10H150V316z"/>

            <path style="fill:#E8E3E3;" d="M347.2,182H346v74c0,1.2-1.6,2-2.8,2h-2H308c-0.4,0-1.2-0.4-1.6-0.8c-0.4-0.4-0.4-0.8-0.4-1.6l0.4-2
            c0.4-2.8,0.4-4.4,0.4-6.8c0-27.6-22.4-50.4-49.6-50.4s-49.6,22.4-49.6,50c0,2.4,0.4,4.4,0.4,7.6v1.2c0,0.4,0,1.2-0.4,1.6
            s-0.8,0.8-1.6,0.8h-38.8c-1.2,0-1.2-0.8-1.2-2V182h-2.8c-7.6,0-13.2,6.4-13.2,14v4v20v86h212v-84v-2v-18v-2v-2v-2
            C362,188.4,354.8,182,347.2,182z M257.2,283.6c-20.8,0-37.6-16.8-37.6-37.6s16.8-37.6,37.6-37.6s37.6,16.8,37.6,37.6
            S277.6,283.6,257.2,283.6z"/>
            <path style="fill:#33A5D2;" d="M204,254c-0.4-2.8-0.4-4.8-0.4-7.2c0-30,24-54,53.6-54s53.6,24.4,53.6,54.4c0,2.4,0,4-0.4,6.8H342
            v-72H170v72L204,254L204,254z"/>
            <path d="M348,336H164c-11.2,0-20-8.8-20-20V196c0-11.2,8.8-20,20-20h184c11.2,0,20,8.8,20,20v120C368,327.2,359.2,336,348,336z
           M164,184c-6.8,0-12,5.2-12,12v120c0,6.8,5.2,12,12,12h184c6.8,0,12-5.2,12-12V196c0-6.8-5.2-12-12-12H164z"/>
            <circle class="button" cx="257" cy="246" r="34" stroke="black" stroke-width="8" fill="#FFC52F" />

            <path d="M344,260h-36c-1.2,0-2.4-0.4-2.8-1.2s-1.2-2-1.2-3.2v-2c0.4-2.8,0.4-4.4,0.4-6.4c0-26.8-21.2-48.4-47.6-48.4
              s-47.6,21.6-47.6,48c0,2.4,0,4,0.4,7.2v1.2c0,1.2-0.4,2.4-1.2,3.2c-0.8,0.8-2,1.2-2.8,1.2h-38c-2.4,0-4-1.6-4-4V182c0-2.4,1.6-4,4-4
              s4,1.6,4,4v70h29.6c0-1.6-0.4-3.2-0.4-5.2c0-30.8,24.8-56,55.6-56S312,216,312,247.2c0,1.6,0,3.2-0.4,4.8h27.6v-70c0-2.4,1.6-4,4-4
              s4,1.6,4,4v74C348,258.4,346.4,260,344,260z"/>
            <path d="M314,308H150c-2.4,0-4-1.6-4-4s1.6-4,4-4h164c2.4,0,4,1.6,4,4S316.4,308,314,308z"/>
            <path d="M362,308h-16c-2.4,0-4-1.6-4-4s1.6-4,4-4h16c2.4,0,4,1.6,4,4S364.4,308,362,308z"/>
          </g>


      <g class="left-leg">
          <rect class="leftleg" x="181" y="333" style="fill:#e8e3e3;" stroke="black" stroke-width="8" width="20" height="93" />
          <circle class="leftknee" cx="191" cy="380" r="14" stroke="black" stroke-width="8" fill="#aeb1b4" />
          <g class="leftfeet"> 
            <rect x="174" y="426" style="fill:#33A5D2;" width="32" height="32" stroke="black" stroke-width="7"/>
            <path style="fill:#E8E3E3;" d="M150,474.4V486h80v-11.6c0-8-5.2-12.4-12.8-12.4h-52C157.6,462,150,466.8,150,474.4z"/>
            <path d="M232,508h-84c-2.4,0-4-1.6-4-4v-29.6c0-11.6,10.8-18.4,21.2-18.4h52c11.2,0,18.8,7.6,18.8,18.4V504
            C236,506.4,234.4,508,232,508z M152,500h76v-25.6c0-6.4-4-10.4-10.8-10.4h-52c-6.4,0-13.2,3.6-13.2,10.4V500z"/>
            <path d="M194,488h-44c-2.4,0-4-1.6-4-4s1.6-4,4-4h44c2.4,0,4,1.6,4,4S196.4,488,194,488z"/>
            <path d="M230,488h-8c-2.4,0-4-1.6-4-4s1.6-4,4-4h8c2.4,0,4,1.6,4,4S232.4,488,230,488z"/>
          </g>
         </g>

         <g class="right-leg">
          <rect class="rightleg" x="313" y="333" style="fill:#e8e3e3;" stroke="black" stroke-width="8" width="20" height="93" />
          <circle class="rightknee" cx="323" cy="380" r="14" stroke="black" stroke-width="8" fill="#aeb1b4" />
          <g class="rightfeet">  
            <rect x="306" y="426" style="fill:#33A5D2;" width="32" height="32" stroke="black" stroke-width="7"/>
            <path style="fill:#E8E3E3;" d="M282,474.4V486h80v-11.6c0-8-5.2-12.4-12.8-12.4h-52C289.6,462,282,466.8,282,474.4z"/>
            <path d="M364,508h-84c-2.4,0-4-1.6-4-4v-29.6c0-11.6,10.8-18.4,21.2-18.4h52c11.2,0,18.8,7.2,18.8,18.4V504
            C368,506.4,366.4,508,364,508z M284,500h76v-25.6c0-6.4-4-10.4-10.8-10.4h-52c-6.4,0-13.2,4-13.2,10.4V500z"/>
            <path d="M326,488h-44c-2.4,0-4-1.6-4-4s1.6-4,4-4h44c2.4,0,4,1.6,4,4S328.4,488,326,488z"/>
            <path d="M362,488h-8c-2.4,0-4-1.6-4-4s1.6-4,4-4h8c2.4,0,4,1.6,4,4S364.4,488,362,488z"/>
          </g>
         </g>

       <g class="left-arm">
          <rect class="leftarmtop" x="117" y="217" style="fill:#e8e3e3;" stroke="black" stroke-width="7" width="16" height="84" />
          <rect class="leftarmbottom" x="117" y="308" style="fill:#aeb1b4;" stroke="black" stroke-width="7" width="16" height="80" />
          <circle class="leftelbow" cx="125.2" cy="310" r="12" stroke="black" stroke-width="8" fill="#e8e3e3"/>
          <path class="leftshoulder" style="fill:#AEB1B4;" stroke="black" stroke-width="8" d="M107.6,209.6c0,4.4,4.8,8.4,7.6,8.4H146v-16h-30.8C112.4,202,107.6,205.6,107.6,209.6z"/>
          <rect class="leftpalm" x="112" y="375" style="fill:#33A5D2;" stroke="black" stroke-width="7" width="26" height="26" />
       </g>

       <g class="right-arm">
          <rect class="rightarmtop" x="379" y="217" style="fill:#e8e3e3;" stroke="black" stroke-width="7" width="16" height="84" />
          <rect class="rightarmbottom" x="379" y="308" style="fill:#aeb1b4;" stroke="black" stroke-width="7" width="16" height="80" />
          <circle class="rightelbow" cx="387" cy="310" r="12" stroke="black" stroke-width="8" fill="#e8e3e3"/>
          <path class="rightshoulder" style="fill:#AEB1B4;" d="M395.2,218c2.8,0,7.6-4,7.6-8.4s-4.8-7.6-7.6-7.6H366v16H395.2z" stroke="black" stroke-width="8" />
          <rect class="rightpalm" x="375" y="375" style="fill:#33A5D2;" stroke="black" stroke-width="7" width="26" height="26" />
        </g>
          <g class="head">
            <path style="fill:#AEB1B4;" d="M162.4,38c-3.6,0-8.4,1.6-8.4,5.2v69.6c0,4,4.4,9.2,8.4,9.2h3.6V38L162.4,38L162.4,38z"/>
            <path style="fill:#AEB1B4;" d="M337.2,126h-4H170v14c0,7.6,5.6,14,13.2,14h144c7.6,0,14.8-6.4,14.8-14v-14H337.2z"/>
            <path style="fill:#E8E3E3;" d="M327.2,6h-2h-142c-7.6,0-13.2,6.4-13.2,14v106h172V22v-2C342,12.4,334.8,6,327.2,6z M217.2,88.4
          c-10,0-18-8-18-18s8-18,18-18s18,8,18,18S227.2,88.4,217.2,88.4z M297.6,88.4c-10,0-18-8-18-18s8-18,18-18s18,8,18,18
          S307.6,88.4,297.6,88.4z"/>
            <path style="fill:#AEB1B4;" d="M358,112.8V43.2c0-4-2-5.2-6-5.2h-6v84h6C356,122,358,116,358,112.8z"/>
            <circle cx="215" cy="70" r="16" stroke="#E8E3E3" stroke-width="8" fill="#E8E3E3" />
            <circle class="lefteye" cx="215" cy="70" r="16" stroke="black" stroke-width="8" fill="#FFC52F" />
            <circle class="lefteyedot" cx="218" cy="70" r="4" stroke="black" stroke-width="4" fill="black" />
            <circle cx="300" cy="70" r="16" stroke="#E8E3E3" stroke-width="8" fill="##E8E3E3" />
            <circle class="righteye" cx="300" cy="70" r="16" stroke="black" stroke-width="8" fill="#FFC52F" />
            <circle class="righteyedot" cx="303" cy="70" r="4" stroke="black" stroke-width="4" fill="black" />
            <path d="M328,160H184c-11.2,0-20-8.8-20-20V20c0-11.2,8.8-20,20-20h144c11.2,0,20,8.8,20,20v120C348,151.2,339.2,160,328,160z
           M184,8c-6.8,0-12,5.2-12,12v120c0,6.8,5.2,12,12,12h144c6.8,0,12-5.2,12-12V20c0-6.8-5.2-12-12-12H184z"/>
            <path class="leftear" d="M170,128h-7.6c-7.2,0-14.4-7.6-14.4-15.2V43.2c0-6.8,6-11.2,14.4-11.2h3.6c2.4,0,4,1.6,4,4s-1.6,4-4,4h-3.6
          c-1.6,0-6.4,0.8-6.4,3.2v69.6c0,3.2,3.6,7.2,6.4,7.2h7.6c2.4,0,4,1.6,4,4S172.4,128,170,128z"/>
            <path class="rightear" d="M352,128h-6c-2.4,0-4-1.6-4-4s1.6-4,4-4h6c2.4,0,4-3.6,4-7.2V43.2c0-2.4-0.4-3.2-4-3.2h-6c-2.4,0-4-1.6-4-4s1.6-4,4-4h6
          c7.6,0,12,4.4,12,11.2v69.6C364,120.4,359.6,128,352,128z"/>
            <path d="M306,128H170c-2.4,0-4-1.6-4-4s1.6-4,4-4h136c2.4,0,4,1.6,4,4S308.4,128,306,128z"/>
            <path d="M346,128h-12c-2.4,0-4-1.6-4-4s1.6-4,4-4h12c2.4,0,4,1.6,4,4S348.4,128,346,128z"/>
          </g>

        </svg>
      </div>

      <div class="four fright">4</div>
      <div class="zero">0</div>
    </div>

    <div class="home">
      <a href="#">HOME</a>
    </div>

  </div>
</div>
              
            
!

CSS

              
                *{
  box-sizing: border-box;
  color: #e8e3e3;
  font-family: Helvetica;
  margin: 0;
  padding: 0;
}
html{
  background-color: black;
}
.document-body{
  background: #aeb1b4;
  height: 95vh;
  max-height: 95vh;
  min-width: 320px;
  width:100%;
}
.container{
  margin: 0 auto;
  max-width: 864px;
  width: 100%;
}
.text404{
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  overflow:hidden;
  position: relative;
  width:100%;
}
.text{
  display:flex;
  flex:3;
  height: 6.2em;
  justify-content: center;
  margin-bottom: 4em;
  padding-top: 4em;
  min-width:100%;
}
.text p{
  border-right: 0.15em solid transparent; 
  font-family: monospace;
  font-size: 30px;
  letter-spacing: .15em;
  margin: 0 auto;
  overflow:hidden;
  text-align: center;
  white-space: nowrap; 
  max-width: 0;
}
.four{
  flex:1;
  font-size: 21.4em;
  opacity: 0;
  text-align: center;
  text-shadow: 0 0 5px black;
}
.zero{
  font-size: 21.4em;
  opacity: 0;
  position:absolute;
  text-align: center;
  text-shadow: 0 0 5px black;
  top:0;
  left: calc(60% - 0.5em);
}
.robot{
  flex:1;
  min-width: 130px;
}
.robot svg{
  box-sizing: content-box;
  overflow:visible;
  padding: 0 20px;
  width: 100%;
}

.home{
  margin-top: 2em;
  opacity:0;
  text-align: center;
}
.home a{
  color: #FFC52F;
  text-decoration: none;
}

/* ================== Head: =================== */
@keyframes headmove{
  0%{transform: translateX(0px)}
  25%{transform: translateX(7px)}
  50%{transform: translateX(0px)}
  75%{transform: translateX(-7px)}
  100%{transform: translateX(0)}
}
.head{
  animation: headmove 2.2s 2 linear;
}

@keyframes leftearmove{
  0%{transform: translateX(0px)}
  25%{transform: translateX(-5px)}
  50%{transform: translateX(0px)}
  75%{transform: translateX(2px)}
  100%{transform: translateX(0px)}
}

.leftear{
  animation: leftearmove 2.2s 2 linear;
}

@keyframes rightearmove{
  0%{transform: translateX(0px)}
  25%{transform: translateX(-2px)}
  50%{transform: translateX(0px)}
  75%{transform: translateX(5px)}
  100%{transform: translateX(0px)}
}

.rightear{
  animation: rightearmove 2.2s 2 linear;
}


/* ================== Neck: =================== */
@keyframes neckmove{
  0%{transform: translateX(0px)}
  25%{transform: translateX(-7px)}
  50%{transform: translateX(0px)}
  75%{transform: translateX(7px)}
  100%{transform: translateX(0px)}
}
.neck{
  animation: neckmove 2.2s 2 linear;
}


/* ================== Eyes: =================== */


.lefteye{
  animation: headmove 2.2s 2 linear;
}
.righteye{
  animation: headmove 2.2s 2 linear;
}

@keyframes eyesmove{
  0%{transform: translateX(0px)}
  25%{transform: translateX(12px)}
  50%{transform: translateX(0px)}
  75%{transform: translateX(-17px)}
  100%{transform: translateX(0px)}
}
.lefteyedot,
.righteyedot{
  animation: eyesmove 2.2s 2 ease-out;
}


/* ============= Breaking robot: ============== */
@keyframes right-leg-rotate{
  0%{
    transform: rotate(0deg);
    transform-origin: 333px 426px;
  }
  100%{
    transform: rotate(-40deg);
    transform-origin: 333px 426px;
  }
}
.right-leg{
  animation: right-leg-rotate 1s 1 forwards linear;
  animation-delay: 7s;
}
@keyframes body-rotate{
  0%{
    transform: rotate(0deg);
    transform-origin: 130px 200px;
  }
  100%{
    transform: rotate(20deg);
    transform-origin: 130px 200px;
  }
}
@keyframes body-rotate2{
  0%{
    transform: rotate(20deg) translateX(0px) translateY(0px);
    transform-origin: 130px 200px;
  }
  100%{
    transform: rotate(0deg) translateX(17px) translateY(152px);
    transform-origin: 130px 200px;
  }
}
.body{
  animation: 
    body-rotate 1s 1 forwards linear,
    body-rotate2 1.2s 1 forwards linear;
  animation-delay: 7.7s, 8.7s;
}

@keyframes head-rotate{
  0%{
    transform: rotate(0deg);
    transform-origin: 0px 0px;
  }
  100%{
    transform: rotate(30deg);
    transform-origin: 0px 0px;
  }
}
@keyframes head-rotate2{
  0%{
   transform: rotate(30deg); translateX(0px) translateY(0px);
   transform-origin: 0px 0px;
  }
  100%{
    transform: rotate(90deg) translateX(321px) translateY(-15px);
    transform-origin: 210px 10px;
  }
}
.head{
  animation: 
    head-rotate 1s 1 forwards ease-in,
    head-rotate2 1s 1 forwards ease-in;
    
  animation-delay: 8s, 9s;
}
@keyframes neck-transform{
  0%{
   transform: translateY(0px);
  }
  100%{
    transform: translateY(142px);
  }
}
.neck{
  animation: neck-transform 0.7s 1 forwards linear;
  animation-delay: 8s;
}

@keyframes right-arm-rotate{
  0%{
    transform: rotate(0deg) translateX(0px) translateY(0px);
    transform-origin: 379px 209px;
  }
  100%{
    transform: rotate(60deg) translateX(82px) translateY(164px);
    transform-origin: 379px 209px;
  }
}
.right-arm{
  animation: right-arm-rotate 1s 1 forwards linear;
  animation-delay: 8s;
}

@keyframes left-arm-rotate{
  0%{
    transform: rotate(0deg) translateX(0px) translateY(0px);
    transform-origin: 117px 217px;
  }
  100%{
    transform: rotate(-60deg) translateX(-112px) translateY(122px);
    transform-origin: 117px 217px;
  }
}
.left-arm{
  animation: left-arm-rotate 1.3s 1 forwards linear;
  animation-delay: 8s;
}

/* ================== Arms: =================== */
@keyframes leftarmtoprotate{
  from{
    transform: translateY(0px) rotate(0);
    transform-origin: 117px 209px;
  }
  to{
    transform: translateY(-35px) rotate(21deg);
    transform-origin: 117px 209px;
  }
} 

.leftarmtop{
  animation: leftarmtoprotate 1.2s 1 forwards linear;
  animation-delay: 4s;
}

@keyframes rightarmtoprotate{
  from{
    transform: translateY(0px) rotate(0);
    transform-origin: 379px 209px;
  }
  to{
    transform: translateY(-35px) rotate(-21deg);
    transform-origin: 379px 209px;
  }
} 
.rightarmtop{
  animation: rightarmtoprotate 1.2s 1 forwards linear;
  animation-delay: 4s;
}

@keyframes leftelbowmove{
  from{
    transform: translateX(0px) translateY(0px);
  }
  to{
    transform: translateX(-38px) translateY(-37px);
  }
} 
.leftelbow{
  animation: leftelbowmove 1.2s 1 forwards linear;
  animation-delay: 4s;
}

@keyframes rightelbowmove{
  from{
    transform: translateX(0px) translateY(0px);
  }
  to{
    transform: translateX(38px) translateY(-39px); 
  }
} 
.rightelbow{
  animation: rightelbowmove 1.2s 1 forwards linear;
  animation-delay: 4s;
}

@keyframes leftarmbottomrotate{
  from{
    transform: translateY(0px) rotate(0);
    transform-origin: 104px 299px;
  }
  to{
    transform: translateY(-35px) rotate(145deg);
    transform-origin: 104px 299px;
  }
} 
.leftarmbottom{
  animation: leftarmbottomrotate 1.2s 1 forwards linear;
  animation-delay: 4s;
}

@keyframes rightarmbottomrotate{
  from{
    transform: translateY(0px) rotate(0);
    transform-origin: 407px 299px;
  }
  to{
    transform: translateY(-35px) rotate(-145deg);
    transform-origin: 407px 299px;
  }
} 
.rightarmbottom{
  animation: rightarmbottomrotate 1.2s 1 forwards linear;
  animation-delay: 4s;
}

@keyframes leftpalmrotate{
  from{
    transform: rotate(0) translateX(0px) translateY(0px) scaleX(1);
    transform-origin: 104px 299px;
  }
  to{
    transform: rotate(163deg) translateX(20px) translateY(35px) scaleX(1.4);
    transform-origin: 104px 299px;
  }
} 
.leftpalm{
  animation: leftpalmrotate 1.2s 1 forwards linear;
  animation-delay: 4s;
}

@keyframes rightpalmrotate{
  from{
    transform: rotate(0) translateX(0px) translateY(0px) scaleX(1);
    transform-origin: 407px 299px;
  }
  to{
    transform: rotate(-163deg) translateX(-20px) translateY(35px) scaleX(1.4);
    transform-origin: 407px 299px;
  }
} 
.rightpalm{
  animation: rightpalmrotate 1.2s 1 forwards linear;
  animation-delay: 4s;
}

@keyframes leftshouldermove{
  from{
    transform: rotate(0deg) translateX(0px) translateY(0px);
    transform-origin: 110px 205px;
  }
  to{
    transform: rotate(34deg) translateX(-12px) translateY(-35px);
    transform-origin: 110px 205px;
  }
} 
.leftshoulder{
  animation: leftshouldermove 1.2s 1 forwards linear;
  animation-delay: 4s;
}

@keyframes rightshouldermove{
  from{
    transform: rotate(0deg) translateX(0px) translateY(0px);
    transform-origin: 379px 205px;
  }
  to{
    transform: rotate(-34deg) translateX(13px) translateY(-29px);
    transform-origin: 381px 208px;
  }
} 
.rightshoulder{
  animation: rightshouldermove 1.2s 1 forwards linear;
  animation-delay: 4s;
}


/* ================== Fours: =================== */

@keyframes fleftrotate{
  from{
    opacity: 0;
    transform: scale(0) rotate(0);
  }
  to{
    opacity: 1;
    transform: scale(1) rotate(720deg);
  }
}
.fleft{
  animation: fleftrotate 1s 1 forwards ease-out;
  animation-delay: 6s;
}
@keyframes frightrotate{
  from{
    opacity: 0;
    transform: scale(0) rotate(0);
  }
  to{
    opacity: 1;
    transform: scale(1) rotate(-720deg);
  }
}
@keyframes frightkick{
  0%{
    transform: translateX(0px);
  }
  30%{
    transform: translateX(-200px);
  }
  100%{
    transform: translateX(0px);
  }
}
.fright{
  animation: 
    frightrotate 1s 1 forwards ease-out,
    frightkick 1s 1 forwards ease-in;
  animation-delay: 6s, 7s;
}

/* ================== Body: =================== */

@keyframes bodycolor{
  from{background-color: #aeb1b4;}
  to  {background-color: black;}
}

.document-body{
  animation: bodycolor 2s 1 forwards linear;
  animation-delay: 5s;
}

/* ================== Text: =================== */

@keyframes caret {
  0%  {border-color: transparent;}
  50% {border-color: #FFC52F;}
  100%{border-color: transparent;}
}
  
@keyframes texttype {
  0%{ 
    max-width: 0;
  }
  100%{ 
    max-width: 100%;
  }
}
.text p{
  animation: 
    texttype 4s forwards steps(30, end),
    caret 1s step-end infinite;
  animation-delay: 5.6s;
}

@keyframes zerofall{
  0%{
    opacity: 0;
    top: -100%;
  }
  10%{
    opacity: 0.5;
  }
  100%{
    opacity: 1;
    bottom: 0
  }
}
.zero{
   animation: zerofall 0.3s 1 forwards ease-in;
   animation-delay: 9s;
}

@keyframes robotsmashed{
  from{
    transform: scaleY(1);
  }
  to{
    transform: scaleY(0.1) translateY(450%);
  }
}

.robot svg{
  animation: robotsmashed 0.3s 1 forwards ease-in;
  animation-delay: 9.1s;
}

/* ============== Home link: =============== */

@keyframes homeappear{
  from{opacity:0}
  to{opacity: 1}
}
.home{
  animation: homeappear 0.3s 1 forwards ease-in;
  animation-delay: 9.1s;
}

@media (min-width: 320px) and (max-width: 400px){
  .zero{
    font-size:10em;
  }
  .four{
    font-size:10em;
  }
}
@media (min-width: 401px) and (max-width: 600px){
  .zero{
    font-size:14em;
  }
  .four{
    font-size:14em;
  }
}
              
            
!

JS

              
                
              
            
!
999px

Console