html {
    -ms-touch-action: none;
}

body,
canvas,
div {
    display: block;
    outline: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);

    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -khtml-user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* Remove spin of input type number */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0;
    /* <-- Apparently some margin are still there even though it's hidden */
}

body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    margin: 0;

    cursor: default;
    color: #888;
    background-color: #333;

    text-align: center;
    font-family: Helvetica, Verdana, Arial, sans-serif;

    display: flex;
    flex-direction: column;
}

canvas {
    background-color: rgba(0, 0, 0, 0);
}

#GameDiv,
#Cocos3dGameContainer,
#GameCanvas {
    width: 100%;
    height: 100%;
}



@font-face {
    font-family: 'GROBOLD';
    src: url('./assets/resources/native/87/874cca05-cb06-459c-a734-17bb220a73ee.9145f/GROBOLD.ttf');
}

#game-title-box {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
}

#game-title {
    font-family: 'GROBOLD';
    color: #3052CB;
    -webkit-text-stroke: 1px #fff;
}


#game-home-bg {
    background-size: 100% auto;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.progress-bar {
    display: block !important;
    margin-top: 5%;
}

.zz-min-img-2 {
    margin-left: 82% !important;
    margin-bottom: 6% !important;
}

.zz-portrait-min-img-2 {
    margin-left: 30% !important;
    margin-bottom: -4% !important;
    width: 16% !important;
}
.game-title-2{
    margin-bottom: 10%;
}

.zz-min-img-1 {
    margin-left: 77% !important;
    margin-bottom: 8% !important;
}
.zz-portrait-min-img-1 {
    margin-left: 24% !important;
    margin-bottom: -3% !important;
    width: 16% !important;
}


@media screen and (orientation:portrait) {
    /* #game-home-bg {
        background-image: url('./home-portrait.png');
    } */

    #game-play img {
        width: 30%;
    }

    .progress-bar img {
        margin-left: 37%;
        margin-top: 20%;
    }

    #game-title-box {
        margin-bottom: 66%;
    }

    #game-title {
        width: 92%;
        font-size: 6.5cqw;
        line-height: 6.8cqw;
    }

    #zz-min-img {
        margin-left: 41%;
        margin-bottom: 1%;
        width: 13%;
    }

}

@media screen and (orientation:landscape) {
    /* #game-home-bg {
        background-image: url('./image/home-bg-3.png');
    } */

    #game-play img {
        width: 24%;
    }

    #game-title-box {
        margin-bottom: 36%;
    }

    #game-title {
        font-size: 3.6cqw;
        line-height: 3.9cqw;
        width: 71%;
    }

    #zz-min-img {
        margin-left: 23%;
        margin-bottom: -5%;
        width: 12%;
    }

}

@keyframes scaleDraw {
    0% {
        -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;
    }

    10% {
        -webkit-transform: scale(.91);
        transform: scale(.91);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    17% {
        -webkit-transform: scale(.98);
        transform: scale(.98);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }

    33% {
        -webkit-transform: scale(.87);
        transform: scale(.87);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    45% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
}

#game-play img {
    animation: scaleDraw 1.5s ease-in-out infinite both;
}

.fadeOutAnimation {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    opacity: 0;
}

#zz-min-box {
    justify-content: left;
    display: flex;
    position: absolute;
    width: 100%;
    margin-bottom: 13%;
}

#zz-min-img {
    transform: rotate(20deg);
}