/*

truck01 1250x600
truck02 950x500

*/
@import url("https://fonts.googleapis.com/css2?family=Afacad+Flux:wght@100..1000&display=swap");
.afacad-flux-mas {
  font-family: "Afacad Flux", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "slnt" 0;
}

#root {
  position: relative;
  top: 0;
  left: 0;
  height: 100dvh;
  width: 100dvw;
  display: flex;
  flex-direction: column;
  overflow: clip;
}
#root #main {
  width: 100dvw;
  height: calc(100dvh - 300px);
  background-color: #000a2a;
  background-image: url(../img/background.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
#root #main #info {
  padding: 3rem calc((100dvw - 59.7222222222vw) / 2);
  text-align: right;
}
#root #main #info a {
  color: #eeffff;
  text-decoration: none;
  font-size: 36px;
  font-style: italic;
}
#root #main #info a:hover {
  color: white;
  text-shadow: 0px 0px 5px #00dbff;
}
#root #animation {
  position: relative;
  width: 100dvw;
  height: 300px;
  background: #000a2a;
  background: linear-gradient(0deg, rgb(242, 150, 106) 0%, rgb(242, 150, 106) 20%, rgb(0, 212, 255) 50%, #000a2a 95%, #000a2a 100%);
}
#root #animation #background {
  z-index: 0;
  width: 100dvw;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
#root #animation #background .hills {
  position: absolute;
  left: 0;
  right: 0;
  background-repeat: repeat-x;
}
#root #animation #background #layer01 {
  z-index: 1;
  height: 100%;
  background-image: url(../img/layer01.png);
  background-position-x: 0px;
  background-position-y: top;
  background-size: cover;
}
#root #animation #background #layer02 {
  z-index: 2;
  height: 235px;
  top: 10px;
  background-image: url(../img/layer02.png);
  background-position-x: 0px;
  background-position-y: top;
  background-size: auto 235px;
}
#root #animation #background #layer03 {
  z-index: 3;
  height: 75px;
  bottom: 0;
  background-image: url(../img/layer03.png);
  background-position-x: 0px;
  background-position-y: bottom;
  background-size: auto 75px;
}
#root #animation #background #layer04 {
  z-index: 4;
  height: 185px;
  bottom: 40px;
  background-image: url(../img/layer04.png);
  background-position-x: 0px;
  background-position-y: bottom;
  background-size: auto 185px;
}
#root #animation #truck {
  z-index: 1;
  background-image: url(../img/truck01.png);
  width: 250px;
  height: 120px;
  position: absolute;
  left: 50%;
  top: 190px;
  background-size: cover;
  background-repeat: no-repeat;
  transform-origin: center;
  transform: translate(-50%, -50%);
}
#root #animation #truck .wheel {
  background-image: url(../img/wheel.png);
  background-size: cover;
  background-repeat: no-repeat;
  width: 33px;
  height: 33px;
  position: absolute;
  transform-origin: center;
  transform: translate(-50%, -25px);
  -webkit-animation: spin 1s linear infinite;
  -moz-animation: spin 1s linear infinite;
  animation: spin 1s linear infinite;
}
#root #animation #truck #front {
  top: 100%;
  left: 50px;
}
#root #animation #truck #rear {
  top: 100%;
  left: calc(100% - 64px);
}
@-moz-keyframes spin {
  100% {
    -moz-transform: translate(-50%, -25px) rotate(-360deg);
  }
}
@-webkit-keyframes spin {
  100% {
    -webkit-transform: translate(-50%, -25px) rotate(-360deg);
  }
}
@keyframes spin {
  100% {
    -webkit-transform: translate(-50%, -25px) rotate(-360deg);
    transform: translate(-50%, -25px) rotate(-360deg);
  }
}

/*# sourceMappingURL=style.css.map */
