/*// BASE STYLES //*/
html, body{
    height: 100%;
    width: 100%;
    overflow: hidden;
    margin: 0;
  }
  .grass, .sky, .road{
    position: relative;
  }
  .sky{
    height: 40%;
    background-color: skyblue;
    background-image: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.33))
  }
  .grass{
    height: 30%;
    background-color: seagreen;
    background-image: linear-gradient(to top, rgba(255,255,255,0) 75%, rgba(255,255,255,.25))
  }
  .road{
    height: 30%;
    background: dimgrey;
    box-sizing: border-box;
    border-top: 10px solid grey;
    border-bottom: 10px solid grey;
    width: 100%;
  }
  /*// ELEMENTS TO ANIMATE //*/
  .mario{
    position: absolute;
    top: -50px;
    left: 0;
    animation-name: mario-jump ;
    animation-duration: 5.5s ;
    animation-direction: normal ;
    animation-fill-mode:none ;
    animation-delay: 1s;
    animation-timing-function:linear;
    animation-iteration-count:infinite ;
    z-index: 5;
  }
  .luigi{
    position: absolute;
    top: -20px;
    left: -50px;
    z-index: 55;
    animation-name: drive  ;
    animation-duration: 7s ;
    animation-direction: normal ;
    animation-fill-mode: none ;
    animation-delay: 1s ;
    animation-timing-function: linear  ;
    animation-iteration-count: infinite ;
  }
  .cloud{
    position: absolute;
    top: 120px;
    left: 0;
  }
  .cloud2{
    position: absolute;
    top: 20px;
    right: 0;
    max-width: 200px;
  }
  .cloud,
  .cloud2{
    animation-name: cloud-move;
    animation-duration: 2s;
    animation-direction: normal ;
    animation-fill-mode: none ;
    animation-delay: 0s ;
    animation-timing-function: linear ;
    animation-iteration-count: infinite;
  }
  .lines{
    box-sizing: border-box;
    border: 5px dashed #fff;
    height: 0px;
    width: 6000px;
    position: absolute;
    top: 45%;
    left: 0;
    animation-name: lines-move ;
    animation-duration: 1s ;
    animation-direction: normal ;
    animation-fill-mode: none;
    animation-delay: 0ms ;
    animation-timing-function: linear ;
    animation-iteration-count: infinite ;
  }
  /*// KEYFRAMES //*/
  @keyframes drive {
    0%{
      transform: translateX(0px);
    }
    100%{
        transform: translateX(1900px);
    }
  }
  @keyframes mario-jump {
    0%{
        transform: translate(0,0);
    }
    48% {
        transform: translate(950px, 0px);
    }
    50% {
        transform: translate(1020px, -100px);
    }
    52% {
        transform: translate(1070px, 0px);
    }
    100%{
        transform: translate(2000px, 0px);
    }
  }
  @keyframes cloud-move {
    0%{
      transform: translateX(10px);
    }
    
    100%{
        transform: translateX(100px);
    }
  }
  @keyframes lines-move {
  from {
    transform: translateX(0);
  }
  to{
    transform: translateX(-200px);
  }
  }

 