body {
  font-family: Arial, '微軟正黑體';
  background-color: #48241e;
}
.wrapper {
  width: 100%;
}
section {
  position: relative;
  top: 0;
  left: 0;
  z-index: 0;
}
.text {
  width: 30%;
  position: absolute;
  top: 50%;
  left: 5%;
  z-index: 1;;
}
.btn-start {
  width: 36%;
  position: absolute;
  top: 37%;
  left: 18%;
  z-index: 1;
}
.btn-go {
  width: 46%;
  position: absolute;
  bottom: 9%;
  right: 20%;
  z-index: 1;
}
.canvas1 {
  width: 54%;
  position: absolute;
  bottom: 14%;
  right: 2%;
  z-index: 1;
}


/* PC */

@media screen and (min-width: 768px) {
  .wrapper {
    width: 480px;
    margin: 0 auto;
  }
}



/* Animation */
.fly {
  -webkit-animation-name: fly;
  animation-name: fly;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-duration: 4s;
  animation-duration: 4s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
@keyframes fly {
  from, 50%, to {
    transform:translateY(5%);
  }
  25%, 75% {
    transform:translateY(-5%);
  }
}
@-webkit-keyframes fly {
  from, 50%, to {
    -webkit-transform:translateY(5%);
  }

  25%, 75% {
    -webkit-transform:translateY(-5%);
  }
}


.heartbeat {
	-webkit-animation: heartbeat 0.6s ease-in-out infinite both;
	        animation: heartbeat 0.6s ease-in-out infinite both;
}
@-webkit-keyframes heartbeat {
  from {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-transform-origin: center center;
            transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  50% {
    -webkit-transform: scale(0.87);
            transform: scale(0.87);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
}
@keyframes heartbeat {
  from {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-transform-origin: center center;
            transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  50% {
    -webkit-transform: scale(0.87);
            transform: scale(0.87);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
}
.heartbeat2 {
	-webkit-animation: heartbeat2 0.6s ease-in-out infinite both;
	        animation: heartbeat2 0.6s ease-in-out infinite both;
}
@-webkit-keyframes heartbeat2 {
  from {
    -webkit-transform: scale(0.87);
            transform: scale(0.87);
    -webkit-transform-origin: center center;
            transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  50% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  100% {
    -webkit-transform: scale(0.87);
            transform: scale(0.87);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
}
@keyframes heartbeat2 {
  from {
    -webkit-transform: scale(0.87);
            transform: scale(0.87);
    -webkit-transform-origin: center center;
            transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  50% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  100% {
    -webkit-transform: scale(0.87);
            transform: scale(0.87);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
}


