/* @import "compass/css3"; */
/* 
$background: #ffffff;
$lightest-purple: #fff7f0;
$light-purple: #ffc691;
$purple: #f59d51;
$dark-purple: #1d1d1d;
$darkest-purple:  #ff7900;000000
$light: #ffffff; */

/* // $noise-transparent: url('http://api.thumbr.it/whitenoise-361x370.png?background=48507f00&noise=272b4a&density=2&opacity=40'); */

/* $outline: 2px solid #000000; */

/* $window-animate-time: 3s; */

body {
  background-color: #1d1d1d;
  overflow: hidden;
}
.noise-mask {
  width: 100vw;
  height: 100vh;
  z-index: 10;
  position: absolute;
}
.road {
  width: 120%;
  height: 2px;
  background-color: #ff7900;
  top: 370px;
  left: 00px;
  margin: 0;
  padding: 0;
  position: absolute;
}
.bus {
  position: relative;
  width: 500px;
  margin: 0 auto;
  top: 100px;
  /* animation: bus-bounce 0.75s linear infinite; */
}
.dashboard {
  background-color: #f7dcc3;
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
  border: 2px solid #000000;
  height: 95px;
  width: 80px;
  top: 45px;
  position: absolute;
  left: 80px;
  z-index: 2;
  transform: skew(-7deg);
  z-index: 4;
}
.cabin {
  background-color: #f59d51;
  border-top-right-radius: 20px;
  border-top-left-radius: 30px;
  border: 2px solid #000000;
  border-bottom: 0;
  height: 95px;
  width: 410px;
  top: 45px;
  position: absolute;
  right: 0;
  z-index: 2;
}
.chassy-front-top {
  width: 450px;
  position: absolute;
  right: 0;
  height: 60px;
  top: 140px;
  border-top-left-radius: 30px;
  background-color: #f59d51;
  /* // background-color: #656FAF; */
  border: 2px solid #000000;
  /* // border-top: 2px solid #f59d51; */
  z-index: 3;
}
.chassy-front-bottom {
  width: 450px;
  position: absolute;
  margin: 0 auto;
  height: 30px;
  top: 200px;
  /* // left: 0; */
  right: 0;
  /* // background-color: #f59d51; */
  background-color: #f5b076;
  border: 2px solid #000000;
  z-index: 3;
}
.chassy-back-top {
  width: 500px;
  position: absolute;
  height: 65px;
  top: 140px;
  right: 0;
  border: 2px solid #000000;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 2px;
  background-color: #f59d51;
  z-index: 2;
}
.chassy-back-bottom {
  width: 50px;
  position: absolute;
  /* // margin: 0 auto; */
  height: 20px;
  top: 205px;
  /* // left: 0; */
  left: 0px;
  border: 2px solid #000000;
  border-top-right-radius: 18px;
  background-color: #f59d51;
  z-index: 1;
}
.wheel-well-front {
  width: 75px;
  position: absolute;
  left: 75px;
  height: 35px;
  top: 195px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  background-color: #ffc691;
  border: 2px solid #000000;
  z-index: 4;
}
.wheel-well-rear {
  width: 75px;
  position: absolute;
  right: 55px;
  height: 38px;
  top: 192px;
  border-top-left-radius: 80px;
  border-top-right-radius: 80px;
  background-color: #ffc691;
  border: 2px solid #000000;
  z-index: 4;
}
/* .wheel {
  height: 60px;
  width: 60px;
  display: block;
  border-radius: 100px;
  border: 2px solid #000000;
  position: absolute;
  top: 200px;
} */
/* .right-wheel {
  height: 60px;
  width: 60px;
  display: block;
  border-radius: 100px;
  border: 2px solid #000000;
  position: absolute;
  top: 200px;
  background-color: #000000;
  z-index: 0;
} */
/* .left-wheel {
  height: 60px;
  width: 60px;
  display: block;
  border-radius: 100px;
  border: 2px solid #000000;
  position: absolute;
  top: 200px;
  background-color: #1d1d1d;
  z-index: 5;
} */
.wheel-left-front {
  height: 60px;
  width: 60px;
  display: block;
  border-radius: 100px;
  border: 2px solid #000000;
  position: absolute;
  top: 200px;
  background-color: #1d1d1d;
  z-index: 5;
  left: 83px;
  /* animation: wheel-bounce 0.8s infinite ease-in-out; */
}
.wheel-left-rear {
  height: 60px;
  width: 60px;
  display: block;
  border-radius: 100px;
  border: 2px solid #000000;
  position: absolute;
  top: 200px;
  background-color: #1d1d1d;
  z-index: 5;
  right: 62px;
  /* animation: rear-wheel-bounce 2s infinite ease-in-out; */
}
.wheel-right-front {
  height: 60px;
  width: 60px;
  display: block;
  border-radius: 100px;
  border: 2px solid #000000;
  position: absolute;
  top: 200px;
  background-color: #000000;
  z-index: 0;
  left: 35px;
}
.wheel-right-rear {
  height: 60px;
  width: 60px;
  display: block;
  border-radius: 100px;
  border: 2px solid #000000;
  position: absolute;
  top: 200px;
  background-color: #000000;
  z-index: 0;
  right: 105px;
}
.bumper {
  width: 60px;
  position: absolute;
  height: 20px;
  top: 215px;
  left: -10px;
  border: 2px solid #000000;
  border-radius: 5px;
  background-color: #1d1d1d;
  z-index: 10;
  /* animation: bumper-move 0.7s ease-in-out infinite; */
}
.hubcap {
  height: 30px;
  width: 30px;
  display: inline-block;
  background-color: #000000;
  border-radius: 100px;
  position: relative;
  border: 2px solid #000000;
  left: 13px;
  top: 13px;
  z-index: 6;
}
.dashboard-window {
  height: 50px;
  width: 72px;
  border: 2px solid #000000;
  background-color: #ffc691;
  z-index: 6;
  position: absolute;
  margin: 0;
  top: 84px;
  transform: skew(-7deg);
  left: 81px;
  background: linear-gradient(
    135deg,
    #fff7f0 0%,
    #fff7f0 30%,
    #ffc691 31%,
    #ffc691 55%,
    #fff7f0 56%,
    #fff7f0 100%
  );
  background-size: 200% 200%;
  animation: window-light 3s ease infinite;
}
.dashboard-window::after {
  position: relative;
  content: "";
  height: 50px;
  background-color: #000000;
  width: 2px;
  top: 0px;
  left: 34px;
  display: block;
  z-index: 7;
}
.dashboard-transom {
  height: 25px;
  width: 70px;
  border: 2px solid #000000;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  background-color: #ffc691;
  z-index: 6;
  position: absolute;
  margin: 0;
  top: 53px;
  transform: skew(-7deg);
  left: 88px;
}
.cabin-window {
  height: 50px;
  width: 50px;
  border: 2px solid #000000;
  border-radius: 2px;
  background-color: #ffc691;
  z-index: 6;
  position: absolute;
  margin: 0;
  top: 84px;
  /* // background: linear-gradient(-45deg, #ffc691 0%, #ffc691 50%, $lightest-purple 51%, $lightest-purple 100%);
  // background-size: 200% 200%;
  // animation: window-light 2s ease infinite; */
}
.cabin-window::after {
  position: relative;
  content: "";
  height: 2px;
  background-color: #000000;
  width: 50px;
  top: 20px;
  display: block;
  z-index: 7;
}
.window-background-1 {
  background: linear-gradient(
    -45deg,
    #ffc691 0%,
    #ffc691 50%,
    #fff7f0 51%,
    #fff7f0 100%
  );
  background-size: 200% 200%;
  animation: window-light 3s ease infinite;
}
.window-background-2 {
  background: linear-gradient(
    135deg,
    #ffc691 0%,
    #ffc691 50%,
    #fff7f0 51%,
    #fff7f0 100%
  );
  background-size: 200% 200%;
  animation: window-light 3s ease infinite;
}
.window-background-3 {
  background: linear-gradient(
    135deg,
    #ffc691 0%,
    #ffc691 20%,
    #fff7f0 21%,
    #fff7f0 70%,
    #ffc691 71%,
    #ffc691 100%
  );
  background-size: 200% 200%;
  animation: window-light 3s ease infinite;
}
.window-background-4 {
  background: linear-gradient(
    135deg,
    #fff7f0 0%,
    #fff7f0 30%,
    #ffc691 31%,
    #ffc691 55%,
    #fff7f0 56%,
    #fff7f0 100%
  );
  background-size: 200% 200%;
  animation: window-light 3s ease infinite;
}
.window-1 {
  height: 50px;
  width: 50px;
  border: 2px solid #000000;
  border-radius: 2px;
  background-color: #ffc691;
  z-index: 6;
  position: absolute;
  margin: 0;
  top: 84px;
  /* // background: linear-gradient(-45deg, #ffc691 0%, #ffc691 50%, $lightest-purple 51%, $lightest-purple 100%);
    // background-size: 200% 200%;
    // animation: window-light 2s ease infinite; */
  background: linear-gradient(
    135deg,
    #ffc691 0%,
    #ffc691 50%,
    #fff7f0 51%,
    #fff7f0 100%
  );
  background-size: 200% 200%;
  animation: window-light 3s ease infinite;
  left: 180px;
}
.window-2 {
    height: 50px;
    width: 50px;
    border: 2px solid #000000;
    border-radius: 2px;
    background-color: #ffc691;
    z-index: 6;
    position: absolute;
    margin: 0;
    top: 84px;
    /* // background: linear-gradient(-45deg, #ffc691 0%, #ffc691 50%, $lightest-purple 51%, $lightest-purple 100%);
      // background-size: 200% 200%;
      // animation: window-light 2s ease infinite; */
    background: linear-gradient(
      135deg,
      #ffc691 0%,
      #ffc691 50%,
      #fff7f0 51%,
      #fff7f0 100%
    );
    background-size: 200% 200%;
    animation: window-light 3s ease infinite;
  left: 240px;
}
.window-3 {
  height: 50px;
  width: 50px;
  border: 2px solid #000000;
  border-radius: 2px;
  background-color: #ffc691;
  z-index: 6;
  position: absolute;
  margin: 0;
  top: 84px;
  /* // background: linear-gradient(-45deg, #ffc691 0%, #ffc691 50%, $lightest-purple 51%, $lightest-purple 100%);
    // background-size: 200% 200%;
    // animation: window-light 2s ease infinite; */
  background: linear-gradient(
    -45deg,
    #ffc691 0%,
    #ffc691 50%,
    #fff7f0 51%,
    #fff7f0 100%
  );
  background-size: 200% 200%;
  animation: window-light 3s ease infinite;
  left: 300px;
  /* @include transition-delay(2s); */
}
.window-4 {
  height: 50px;
  width: 50px;
  border: 2px solid #000000;
  border-radius: 2px;
  background-color: #ffc691;
  z-index: 6;
  position: absolute;
  margin: 0;
  top: 84px;
  /* // background: linear-gradient(-45deg, #ffc691 0%, #ffc691 50%, $lightest-purple 51%, $lightest-purple 100%);
    // background-size: 200% 200%;
    // animation: window-light 2s ease infinite; */
  background: linear-gradient(
    135deg,
    #ffc691 0%,
    #ffc691 50%,
    #fff7f0 51%,
    #fff7f0 100%
  );
  background-size: 200% 200%;
  animation: window-light 3s ease infinite;
  left: 360px;
}
.window-5 {
  height: 50px;
  width: 50px;
  border: 2px solid #000000;
  border-radius: 2px;
  background-color: #ffc691;
  z-index: 6;
  position: absolute;
  margin: 0;
  top: 84px;
  /* // background: linear-gradient(-45deg, #ffc691 0%, #ffc691 50%, $lightest-purple 51%, $lightest-purple 100%);
    // background-size: 200% 200%;
    // animation: window-light 2s ease infinite; */
  background: linear-gradient(
    135deg,
    #ffc691 0%,
    #ffc691 20%,
    #fff7f0 21%,
    #fff7f0 70%,
    #ffc691 71%,
    #ffc691 100%
  );
  background-size: 200% 200%;
  animation: window-light 3s ease infinite;
  left: 420px;
}
.grill {
  width: 40px;
  height: 35px;
  background-color: #1d1d1d;
  position: absolute;
  top: 165px;
  z-index: 7;
  border: 2px solid #000000;
  border-radius: 6px;
}
.grill-bar {
  height: 2px;
  background-color: #000000;
  width: 100%;
  position: relative;
}
.grill-bar-1 {
  height: 2px;
  background-color: #000000;
  width: 100%;
  position: relative;
  top: 6px;
}
.grill-bar-2 {
  height: 2px;
  background-color: #000000;
  width: 100%;
  position: relative;
  top: 12px;
}
.grill-bar-3 {
  height: 2px;
  background-color: #000000;
  width: 100%;
  position: relative;
  top: 18px;
}
.grill-bar-4 {
  height: 2px;
  background-color: #000000;
  width: 100%;
  position: relative;
  top: 24px;
}
.rock {
  width: 8px;
  height: 6px;
  border: 2px solid #000000;
  border-bottom: 0;
  border-radius: 10px;
  position: absolute;
  top: 365px;
  left: -20%;
  background-color: #ff7900;
}
.rock-1 {
  width: 8px;
  height: 6px;
  border: 2px solid #000000;
  border-bottom: 0;
  border-radius: 10px;
  position: absolute;
  top: 365px;
  left: -20%;
  background-color: #ff7900;
  animation: rock-move-1 3s linear infinite;
}
.rock-2 {
  width: 8px;
  height: 6px;
  border: 2px solid #000000;
  border-bottom: 0;
  border-radius: 10px;
  position: absolute;
  top: 365px;
  left: -20%;
  background-color: #ff7900;
  animation: rock-move-2 2.5s linear infinite;
}
.lamp-1 {
  position: relative;
  top: 235px;
  left: -20%;
  animation: lamp-move-1 4s linear infinite;
}
.lamp-2 {
  position: absolute;
  top: 245px;
  left: -20%;
  animation: lamp-move-2 8s linear infinite;
}
.lamp-base {
  background-color: transparent;
  height: 125px;
  width: 15px;
  border: 2px solid #000000;
  border-bottom: 0;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  position: relative;
}
.lamp-post {
  position: absolute;
  top: -171px;
  left: 8px;
  border: 2px solid #000000;
  border-right: 0;
  border-bottom: 0;
  height: 170px;
  width: 110px;
  border-top-left-radius: 50px;
  z-index: 1;
}
.lamp-bulb {
  height: 10px;
  width: 50px;
  background-color: #ffffff;
  position: absolute;
  top: -169px;
  left: 65px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}
.lamp-light {
  border-bottom: 290px solid rgba(255, 255, 255, 0.2);
  border-left: 20px solid transparent;
  border-right: 110px solid transparent;
  height: 0;
  width: 50px;
  position: absolute;
  top: -160px;
  left: 45px;
  z-index: 10;
}
.mirror-rail {
  width: 114px;
  height: 65px;
  background-color: transparent;
  border-radius: 10px;
  position: absolute;
  display: block;
  top: 75px;
  left: 62px;
  border: 2px solid #000000;
  z-index: 3;
}
.mirror {
  width: 13px;
  height: 42px;
  background-color: #ffffff;
  border: 2px solid #000000;
  position: absolute;
  top: 87px;
  z-index: 8;
}
.left-mirror {
  width: 13px;
  height: 42px;
  background-color: #fceee1;
  border: 2px solid #000000;
  position: absolute;
  top: 87px;
  z-index: 8;
  left: 170px;
}
.right-mirror {
  width: 13px;
  height: 42px;
  background-color: #fceee1;
  border: 2px solid #000000;
  position: absolute;
  top: 87px;
  z-index: 8;
  left: 54px;
}

@keyframes lamp-move-1 {
  0% {
    left: -20%;
  }
  100% {
    left: 120%;
  }
}
@keyframes lamp-move-2 {
  0% {
    left: -100%;
  }
  100% {
    left: 180%;
  }
}
@keyframes rock-move-1 {
  0% {
    left: -0%;
  }
  99% {
    left: 130%;
  }
  100% {
    left: -20%;
  }
}
/* // @keyframes rock-move-2 {
//   0% { left:-20%; }
//   99% { left: 110%; }
//   100% { left:0%; }
// } */
@keyframes bumper-move {
  0% {
    top: 215px;
  }
  25% {
    top: 216px;
  }
  50% {
    top: 215px;
  }
  75% {
    top: 214px;
  }
  100% {
    top: 215px;
  }
}
@keyframes bus-bounce {
  0% {
    top: 100px;
  }
  20% {
    top: 99px;
  }
  40% {
    top: 100px;
  }
  75% {
    top: 98px;
  }
  100% {
    top: 100px;
  }
}
@keyframes wheel-bounce {
  0% {
    top: 201px;
  }
  25% {
    top: 200px;
  }
  50% {
    top: 199px;
  }
  75% {
    top: 200px;
  }
  100% {
    top: 201px;
  }
}
@keyframes rear-wheel-bounce {
  0% {
    top: 200px;
  }
  48% {
    top: 199px;
  }
  50% {
    top: 198px;
  }
  52% {
    top: 199px;
  }
  100% {
    top: 200px;
  }
}
@keyframes window-light {
  0% {
    background-position: 0% 72%;
  }
  50% {
    background-position: 100% 29%;
  }
  100% {
    background-position: 0% 72%;
  }
}

p.speech {
  position: fixed;
  bottom: 50px;
  right: 500px;
  width: 200px;
  height: 100px;
  text-align: center;
  line-height: 100px;
  background-color: #fff;
  border: 4px solid #666;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
  -webkit-box-shadow: 2px 2px 4px #888;
  -moz-box-shadow: 2px 2px 4px #888;
  box-shadow: 2px 2px 4px #888;
}

p2.speech {
  position: fixed;
  bottom: 50px;
  right: 100px;
  height: 100px;
  text-align: center;
  line-height: 100px;
  background-color: #fff;
  border: 4px solid #666;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
  -webkit-box-shadow: 2px 2px 4px #888;
  -moz-box-shadow: 2px 2px 4px #888;
  box-shadow: 2px 2px 4px #888;
}
