* {
    padding: 0;
    margin: 0;
    -webkit-user-select: none;
    /* Chrome all / Safari all */
    -moz-user-select: none;
    /* Firefox all */
    -ms-user-select: none;
    /* IE 10+ */
    user-select: none;
}

html {
    padding: 0;
    margin: 0;
    overflow: hidden;
    background-color: black;
}

#background {
    position: fixed;
    top: 0;
    left: 0;
    border: 0;
    display: none;
    z-index: -1;
}

body {
    overflow: hidden;
    touch-action: manipulation;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadein {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#loading {
    z-index: 2000;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
}

#loading .spin {
    color: white;
    font-size: 2em;
    animation: spin 2s linear infinite;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0249e1bd;
    border-radius: 50%;
    margin: 5px;
}

#loading .title {
    padding: 10px;
}

#container {
    position: fixed;
    top: 0px;
    left: 0px;
    transform-origin: top left;
}

#container>* {
    position: absolute;
    top: 0px;
    left: 0px;
}

#gui_canvas {
    z-index: 100;
    pointer-events: none;
    display: block;
}

#gui_container {
    display: block;
}

#top_container {
    z-index: 101;
    display: block;
}

#gui_container>*,
#top_container>* {
    pointer-events: auto;
    border: 0;
    position: absolute;
    display: block;
}

#gui_container.disable>*,
#top_container.disable>* {
    pointer-events: none;
    display: block;
}

* {
    box-sizing: border-box;
}

input {
    -webkit-user-select: text;
    /* Chrome, Opera, Safari */
    -moz-user-select: text;
    /* Firefox 2+ */
    -ms-user-select: text;
    /* IE 10+ */
    user-select: text;
    /* Standard syntax */
}

@keyframes hovering {
    from {
        transform: scaleX(1) scaleY(1);
    }

    to {
        transform: scaleX(1.2) scaleY(1.2);
    }
}

@keyframes tapping {
    from {
        transform: scaleX(1) scaleY(1);
    }

    to {
        transform: scaleX(1.2) scaleY(1.2);
    }
}

.btn_play {
    background-image: url('btn_play.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 100%;
    height: 100%;
}

.btn_play:hover {
    transform:scaleX(1.2) scaleY(1.2);
}

.btn_continue {
    background-image: url('btn_continue.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 100%;
    height: 100%;
}

.btn_continue:hover {
    transform:scaleX(1.2) scaleY(1.2);
}

.btn_play_2 {
    background-image: url('btn_play_2.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 100%;
    height: 100%;
}

.btn_play_2.pause{
    background-image: url('btn_pause.png');
}
.btn_play_2:hover {
    transform:scaleX(1.2) scaleY(1.2);
}

.message {
    background-image: url('message.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 100%;
    height: 100%;
}

.congrad {
    background-image: url('congrad.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 100%;
    height: 100%;
}

.base {
    background-image: url('base.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 100%;
    height: 100%;
}
.title_effect {
    background-image: url('light_1.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 100%;
    height: 100%;
}
.title_effect_2 {
    display:none;
}
.gift_title {
    background-image: url('gift_title.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 100%;
    height: 100%;
}

.btn_begin {
    background-image: url('btn_begin.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 100%;
    height: 100%;
}
.btn_begin:hover {
    transform:scaleX(1.2) scaleY(1.2);
}
