body, html {
  background: #ffffff;
  height: 100%;
  width: 100%;
  margin: 0;
}

.truck {
  min-height: 160px;
  max-height: 160px;
  width: 601px;
  top: 25%;
  margin: auto;
  display: flex;
  flex: 1;
  position: relative;
  background: linear-gradient(to right, #032b43 1%, #3f88c5 8%, #267cc2 90%, #3f88c5 98%);
  box-shadow: 0 0 8px #454545;
  border-radius: 10px;
  overflow: hidden
}

.waviy {
position: relative;
}
.waviy span {
position: relative;
display: inline-block;
font-family: 'Roboto', sans-serif;
color: #ffffff;
font-size: 18px;
font-weight: bold;
left: 8%;
top: 7%;
animation: flip 4s infinite;
animation-delay: calc(.2s * var(--i))
}
@keyframes flip {
0%,80% {
  transform: rotateY(360deg) 
}
}

.shadow-box {
  position: absolute;
  width: 460px;
  height: 10px;
  background: none;
  border: none;
  border-radius: 10px;
  box-shadow: 0 40px 15px #000000;
  top: 53%;
  left: 15%; 
}

/*Truck*/
.top {
  position: absolute;
  background: #ffffff;
  height: 30px;
  width: 40px;
  border-radius: 100% 0 0 0;
  right: 74%;
  top: 32%;
}

.right {
  position: absolute;
  background: #ffffff;
  width: 24px;
  height: 30px;
  border-radius: 0 1px 0 0;
  top: 32%;
  right: 70%;
}

.bottom {
  position: absolute;
  background: linear-gradient(to top, grey, #ffffff 15%);
  height: 30px;
  width: 100px;
  border-radius: 50% 0 1px 1px;
  top: 50%;
  right: 70%;
}

.rear {
  position: absolute;
  background: #000000;
  width: 5px;
  height: 56px;
  border-radius: 0 2px 2px 0;
  top: 34%;
  left: 30%;
}

.front-bumper {
  position: absolute;
  background: linear-gradient(to right, #454545, #000000 12%, #f3f3f3 13%, grey 70%, #454545);
  height: 11px;
  width: 150px;
  border-radius: 1px 1px 1px 5px;
  top: 68.5%;
  right: 61.7%;
  box-shadow: inset 0 1px 1px #454545;
}

.windshield {
  position: absolute;
  background: linear-gradient(#454545 .5%, #a7d3e2 20%, #e5e5e5 40%, grey 70%, #0b1742 100%);
  box-shadow: inset 0 0 2px #454545;
  height: 17px;
  width: 7px;
  transform: skewX(160deg);
  border-radius: 50px 2px 2px 2px;
  top: 40%;
  left: 19.9%
}

.window {
  position: absolute;
  background: linear-gradient(#454545 .5%, #a7d3e2 20%, #e5e5e5 40%, grey 70%, #0b1742 100%);
  box-shadow: inset 0 0 2px #454545;
  height: 17px;
  width: 16px;
  transform: skewX(160deg);
  border-radius: 2px;
  top: 40%;
  left: 21.6%
}

.door {
  position: absolute;
  background: none;
  height: 49px;
  width: 32px;
  box-shadow: inset -2px 1px 2px grey;
  border-radius: 10px 0 0 0;
  top: 38%;
  left: 21.5%;
}

.panel {
  position: absolute;
  background: none;
  border: inset 2px;
  height: 20px;
  width: 10px;
  border-radius: 5px;
  box-shadow: inset 0 0 2px grey;
  top: 43%;
  left: 27.3%;
}

.handle {
  position: absolute;
  background: linear-gradient(grey, #454545);
  box-shadow: inset 0 0 .20px #000000;
  height: .90px;
  width: .450px;
  border-radius: .40px .40px 10px .60px;
  top: 58%;
  left: 25.2%;
}

.top-window {
  position: absolute;
  background: linear-gradient(grey, #454545);
  box-shadow: inset 0 0 2px #000000;
  height: 10px;
  width: 10px;
  border-radius: 4px 4px 4px 100%;
  top: 33.5%;
  left: 27.8%;
}

.antenna {
  position: absolute;
  background: #454545;
  height: 15px;
  width: 1px;
  border-radius: 50% 50% 0 0;
  top: 34%;
  left: 27%;
}

.mirror {
  position: absolute;
  background: #454545;
  box-shadow: .20px .60px .50px grey;
  width: .40px;
  height: 1.10px;
  border-radius: 10px;
  top: 45%;
  left: 21.5%;
}

.front-mirror {
  position: absolute;
  background: #454545;
  height: 7px;
  width: 3px;
  border-radius: 10px;
  transform: skewX(170deg);
  top: 51%;
  left: 15%;
}

.stripe {
  position: absolute;
  height: 0;
  width: 3.40px;
  background: none;
  border-top: .20px solid grey;
  border-bottom: .20px solid black;
  border-radius: 100% 0 100% 0;
  transform: rotate(174deg);
  top: 55%;
  left: 14.2%;
}

/*Trailer*/
.trailer-base {
  position: absolute;
  background: #ffffff;
  width: 242px;
  height: 45px;
  border-radius: 1px;
  border: 5px solid #f3f3f3;
  box-shadow: inset 0 0 8px #454545;
  z-index: 1;
  top: 32%;
  left: 33%;
}

.refrigerator {
  position: absolute;
  background: linear-gradient(to right, #ffffff, grey 99%);
  width: 75px;
  height: 35px;
  border-radius: 5px 0 0 5px;
  top: 34%;
  left: 31.8%;
}

.guard {
  position: absolute;
  background: linear-gradient(to right, #000000, grey 15%, #ffffff, grey 75%, #000000);
  width: 110px;
  height: 12px;
  border-radius: 0 0 1px 20px;
  top: 66.3%;
  left: 45%;
}

.reflector {
  position: absolute;
  background: none;
  border-left: 4px solid red;
  border-right: 4px solid red;
  z-index: 1;
  height: 2px;
  width: 10px;
}
.reflector.set-one {
  top: 62%;
  left: 35%;
}
.reflector.set-two {
  top: 62%;
  left: 43%;
}
.reflector.set-three {
  top: 62%;
  left: 51%;
}
.reflector.set-four {
  top: 62%;
  left: 59%;
}
.reflector.set-five {
  top: 62%;
  left: 67%;
}

.brace-one-top {
  position: absolute;
  height: 10px;
  width: 3px;
  background: #000000;
  top: 66.4%;
  left: 43%;
}

.brace-one-bottom {
  position: absolute;
  height: 0;
  width: 0;
  border-bottom: 5px solid black;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid transparent;
  background: none;
  top: 68.4%;
  left: 42.6%;
}

.brace-two-top {
  position: absolute;
  height: 10px;
  width: 3px;
  background: #000000;
  top: 66.4%;
  left: 70%;
}

.brace-two-bottom {
  position: absolute;
  height: 3px;
  width: 8px;
  background: #000000;
  top: 72.4%;
  left: 69.6%;
}

/*Tires*/
.tire {
  position: absolute;
  background: #000000;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  box-shadow: 0 1px 1px #454545;
}
.tire.one {
  top: 66%;
  left: 15%;
}
.tire.two {
  top: 66%;
  left: 33%;
}
.tire.three {
  top: 66%;
  left: 37.1%;
}
.tire.four {
  top: 66%;
  left: 61%;
}
.tire.five {
  top: 66%;
  left: 65.1%;
}

.rim {
  position: relative;
  background: radial-gradient(#000000, #454545, #f3f3f3);
  height: 15px;
  width: 15px;
  border-radius: 50%;
}

.rim.one {
  top: 18%;
  left: 17%;
}
.rim.two {
  top: 18%;
  left: 19%;
}
.rim.three {
  top: 18%;
  left: 20%;
}
.rim.four {
  top: 18%;
  left: 19%;
}
.rim.five {
  top: 18%;
  left: 19%;
}

/*Truck Ramp*/
/*.ramp {
  position: absolute;
  height: 0;
  width: 0;
  border-bottom: 2.40px solid #383838;
  border-left: 0;
  border-right: 70px solid transparent;
  border-top: 0;
  background: none;
  top: 66%;
  left: 75%;
}*/
.ramp {
    position: absolute;
    height: 3px;
    width: 80px;
    border: none;
    border-radius: 2px;
    background: linear-gradient(#454545, grey);
    transform: rotate(198deg);
    top: 74%;
    left: 74.5%;
}

.box {
  position: absolute;
  height: 17.9px;
  width: 17.9px;
  background: #6d4a21;
  border: 2px solid #563a1a;
  border-radius: 2px;
  box-shadow: inset 0 0 2px #000000, 0 .4px;
}

.cross-one {
  position: relative;
  height: 2px;
  width: 24px;
  background: #563a1a;
  box-shadow: 0 0 2px #000000;
  border-radius: 40%;
  transform: rotate(135deg);
  top: 47%;
  right: 15%;
}

.cross-two {
  position: relative;
  height: 2px;
  width: 24px;
  background: #563a1a;
  box-shadow: 0 0 2px #000000;
  border-radius: 40%;
  transform: rotate(225deg);
  top: 30%;
  right: 15%;
}

.loading {
  top: 67%;
  left: 89%;
  animation: box-load 1.44s infinite;
  z-index: 0;
}

/*Trailer Loading Section*/
.trailer-fill {
  position: absolute;
  width: 244px;
  height: 45px;
  background: transparent;
  z-index: 1;
  top: 35.4%;
  left: 33.9%;
}

/*Positions each box in trailer*/
#one {
  top: 49.5%;
  animation: box-fill-1 32s infinite;
}
#two {
  animation: box-fill-2 32s infinite;
}
#three {
  top: 49.5%;
  left: 9%;
  animation: box-fill-3 32s infinite;
}
#four {
  left: 9%;
  animation: box-fill-4 32s infinite;
}
#five {
  top: 49.5%;
  left: 18%;
  animation: box-fill-5 32s infinite;
}
#six {
  left: 18%;
  animation: box-fill-6 32s infinite;
}
#seven {
  top: 49.5%;
  left: 27%;
  animation: box-fill-7 32s infinite;
}
#eight {
  left: 27%;
  animation: box-fill-8 32s infinite;
}
#nine {
  top: 49.5%;
  left: 35.9%;
  animation: box-fill-9 32s infinite;
}
#ten {
  left: 35.9%;
  animation: box-fill-10 32s infinite;
}
#eleven {
  top: 49.5%;
  left: 44.9%;
  animation: box-fill-11 32s infinite;
}
#twelve {
  left: 44.9%;
  animation: box-fill-12 32s infinite;
}
#thirteen {
  top: 49.5%;
  left: 53.9%;
  animation: box-fill-13 32s infinite;
}
#fourteen {
  left: 53.9%;
  animation: box-fill-14 32s infinite;
}
#fifteen {
  top: 49.5%;
  left: 62.8%;
  animation: box-fill-15 32s infinite;
}
#sixteen {
  left: 62.8%;
  animation: box-fill-16 32s infinite;
}
#seventeen {
  top: 49.5%;
  left: 71.8%;
  animation: box-fill-17 32s infinite;
}
#eighteen {
  left: 71.8%;
  animation: box-fill-18 32s infinite;
}
#nineteen {
  top: 49.5%;
  left: 80.8%;
  animation: box-fill-19 32s infinite;
}
#twenty {
  left: 80.8%;
  animation: box-fill-20 32s infinite;
}
#twentyone {
  top: 49.5%;
  left: 89.7%;
  animation: box-fill-21 32s infinite;
} 
#twentytwo {
  left: 89.7%;
  animation: box-fill-22 32s infinite;
}

@keyframes box-load {
  0% {
    top: 67%;
    left: 89%;
  }
  10% {
    transform: translateX(-23px) rotate(20deg);
  }
  100% {
    transform: translate(-135px, -38px) rotate(0);
  }
}

@keyframes box-fill-1 {
  0% {
    opacity: 0;
  }
  4.4% {
    opacity: 0;
  }
  4.5% {
    opacity: .9;
  }
  100% {
    opacity: .9;
  }  
}
@keyframes box-fill-2 {
  0% {
    opacity: 0;
  }
  8.9% {
    opacity: 0;
  }
  9% {
    opacity: .9;
  }
  100% {
    opacity: .9;
   }  
}
@keyframes box-fill-3 {
  0% {
    opacity: 0;
  }
  13.4% {
    opacity: 0;
  }
  13.5% {
    opacity: .9;
  }
  100% {
    opacity: .9;
  }  
}
@keyframes box-fill-4 {
  0% {
    opacity: 0;
  }
  17.9% {
    opacity: 0;
  }
  18% {
    opacity: .9;
  }
  100% {
    opacity: .9;
  }  
}
@keyframes box-fill-5 {
  0% {
    opacity: 0;
  }
  22.4% {
    opacity: 0;
  }
  22.5% {
    opacity: .9;
  }
  100% {
    opacity: .9;
  }  
}
@keyframes box-fill-6 {
  0% {
    opacity: 0;
  }
  26.9% {
    opacity: 0;
  }
  27% {
    opacity: .9;
  }
  100% {
    opacity: .9;
  }  
}
@keyframes box-fill-7 {
  0% {
    opacity: 0;
  }
  31.4% {
    opacity: 0;
  }
  31.5% {
    opacity: .9;
  }
  100% {
    opacity: .9;
  }  
}
@keyframes box-fill-8 {
  0% {
    opacity: 0;
  }
  35.9% {
    opacity: 0;
  }
  36% {
    opacity: .9;
  }
  100% {
    opacity: .9;
  }  
}
@keyframes box-fill-9 {
  0% {
    opacity: 0;
  }
  40.4% {
    opacity: 0;
  }
  40.5% {
    opacity: .9;
  }
  100% {
    opacity: .9;
  }  
}
@keyframes box-fill-10 {
  0% {
    opacity: 0;
  }
  44.9% {
    opacity: 0;
  }
  45% {
    opacity: .9;
  }
  100% {
    opacity: .9;
  }  
}
@keyframes box-fill-11 {
  0% {
    opacity: 0;
  }
  49.4% {
    opacity: 0;
  }
  49.5% {
    opacity: .9;
  }
  100% {
    opacity: .9;
  }  
}
@keyframes box-fill-12 {
  0% {
    opacity: 0;
  }
  53.9% {
    opacity: 0;
  }
  54% {
    opacity: .9;
  }
  100% {
    opacity: .9;
  }  
}
@keyframes box-fill-13 {
  0% {
    opacity: 0;
  }
  58.4% {
    opacity: 0;
  }
  58.5% {
    opacity: .9;
  }
  100% {
    opacity: .9;
  }  
}
@keyframes box-fill-14 {
  0% {
    opacity: 0;
  }
  62.9% {
    opacity: 0;
  }
  63% {
    opacity: .9;
  }
  100% {
    opacity: .9;
  }  
}
@keyframes box-fill-15 {
  0% {
    opacity: 0;
  }
  67.4% {
    opacity: 0;
  }
  67.5% {
    opacity: .9;
  }
  100% {
    opacity: .9;
  }  
}
@keyframes box-fill-16 {
  0% {
    opacity: 0;
  }
  71.9% {
    opacity: 0;
  }
  72% {
    opacity: .9;
  }
  100% {
    opacity: .9;
  }  
}
@keyframes box-fill-17 {
  0% {
    opacity: 0;
  }
  76.4% {
    opacity: 0;
  }
  76.5% {
    opacity: .9;
  }
  100% {
    opacity: .9;
  }  
}
@keyframes box-fill-18 {
  0% {
    opacity: 0;
  }
  80.9% {
    opacity: 0;
  }
  81% {
    opacity: .9;
  }
  100% {
    opacity: .9;
  }  
}
@keyframes box-fill-19 {
  0% {
    opacity: 0;
  }
  85.4% {
    opacity: 0;
  }
  85.5% {
    opacity: .9;
  }
  100% {
    opacity: .9;
  }  
}
@keyframes box-fill-20 {
  0% {
    opacity: 0;
  }
  89.9% {
    opacity: 0;
  }
  90% {
    opacity: .9;
  }
  100% {
    opacity: .9;
  }  
}
@keyframes box-fill-21 {
  0% {
    opacity: 0;
  }
  94.4% {
    opacity: 0;
  }
  94.5% {
    opacity: .9;
  }
  100% {
    opacity: .9;
  }  
}
@keyframes box-fill-22 {
  0% {
    opacity: 0;
  }
  98.9% {
    opacity: 0;
  }
  99% {
    opacity: .9;
  }
  100% {
    opacity: .9;
  }  
}