* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    background-color: #000;
}
.swipe-box {
    background-position-y: 0%;
    height: 115vh;
    position: absolute;
    width: 100%;
    z-index: 5000;
    overflow: hidden;
    margin: auto;
    left: 0;
    top: 0;
    display: none;
}
@media screen and (orientation: portrait) {
    /*針對縱向 css去撰寫*/
}
@media screen and (orientation: landscape) {
    /*針對橫向 css*去撰寫*/
}
#background-img {
    height: 100%;
    width: 100%;
    position: absolute;
    -o-object-fit: cover;
    object-fit: cover;
    top: 0;
    left: 0;
    right: 0;
}
#canvas-shadow {
    background-color: black;
    position: absolute;
    display: block;
    filter: drop-shadow(2px 2px 10px rgba(0, 0, 0, 0.5));
    -webkit-filter: drop-shadow(2px 2px 12px rgba(0, 0, 0, 0.5));
}
#GameCanvas {
    filter: drop-shadow(2px 2px 10px rgba(0, 0, 0, 0.5));
    -webkit-filter: drop-shadow(2px 2px 12px rgba(0, 0, 0, 0.5));
}

.swipe-box.active {
    z-index: 5000;
    /* background: url(Motion_Tips_01_1s.gif) no-repeat 50% 50%/25% auto rgba(0, 0, 0, 1); */
    /* width: 100vw; */
    height: 110vh;
}

.swipe-box.fullscreen {
    z-index: 0;
    display: none;
}
.swipe-box.horizontal {
    z-index: 5000;
    /* background: url(Motion_Tips_01_1s.gif) no-repeat 50% 50%/25% auto rgba(0, 0, 0, 1); */
    width: 100vw;
    height: 110vh;
}
.touch-box {
    background: url(touch.gif) no-repeat 50% 50%/40% auto rgba(0, 0, 0, 1);
    display: none;
    height: 100%;
    position: fixed;
    width: 100vw;
    z-index: 5000;
}
.touch-box.active {
    display: block;
}

.game-box {
    height: 100%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 200;
}
.game-box canvas {
    display: block;
}
#game-box.backfullscreen {
    pointer-events: none;
}
#newGif {
    position: absolute;
    top: 80%;
    left: 40%;
    width: 20%;
    height: 20%;
    background: url(../images/splash.gif) no-repeat center;
    background-size: 100%;
}
