@font-face {
    font-family: 'Minecraft Ten';
    src: url('main.ttf') format('truetype');
}

canvas {
    z-index: 2;
}

.hidden {
    display: none;
}

.pocket_wrap {
    overflow: hidden;
    position: relative;
    width: 320px;
    height: 450px;
    background: url(display_bg.png);
    background-position: center;
    background-size: contain;
    z-index: 1;
    border-radius: 25px;
    -webkit-box-shadow: 0px 0px 183px 8px rgb(0 255 156);
    -moz-box-shadow: 0px 0px 183px 8px rgb(0 255 156);
    box-shadow: 0px 0px 183px 8px rgb(0 255 156);
}

.pocket_base {
    position: absolute;
    top: 0;
    left: 0;
    width: 320px;
    height: 450px;
    background: url(pocket.png);
    background-position: center;
    background-size: contain;
    z-index: 3;
}

.pocket_display {
    position: absolute;
    top: 0;
    left: 0;
    width: 320px;
    height: 450px;
    background: url(display.png);
    background-position: center;
    background-size: contain;
    z-index: 4;
}

.game_wrap {
    position: absolute;
    top:10px;
    left: 10px;
    font-family: 'Minecraft Ten';
    width: 300px;
    height: 400px;
    position: relative;
}

#startButtonWrap {
    position: absolute;
    width: 100%;
    text-align: center;
    top:0;
    filter: blur(0.6px);
}

#startButton {
    display: inline-block;
    margin-top: 182px;
    font-size: 14pt;
    color: #10ffb1;
    padding: 6px 15px;
    border: 1px solid #10ffb1;
    cursor: pointer;
    border-radius: 20px;
}

.startButton {
    position: absolute;
    top: 191px;
    left: 54px;
    cursor: pointer;
    width: 210px;
    height: 50px;
    z-index: 5;
}

.touch_screen {
    display: none;
    position: absolute;
    cursor: pointer;
    width: 320px;
    height: 450px;
    z-index: 5;
    background: none;
}

.game_info_coast {
    font-family: 'Minecraft Ten';
    font-size: 7pt;
    text-align: center;
    position: absolute;
    width: 100%;
    top: 244px;
    left: 0;
    filter: blur(0.6px);
    color: #10ffb1;
}

.game_info_faq {
    display: none;
    font-family: 'Minecraft Ten';
    font-size: 10pt;
    text-align: center;
    position: absolute;
    width: 100%;
    top: 115px;
    left: 0;
    filter: blur(0.6px);
    color: #10ffb1;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.game_bobr {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 295px;
    left: 111px;
    background: url(bobr.png);
    background-position: center;
    background-size: contain;
    z-index: 3;
    animation: rotateAndMove 60s ease-in-out infinite;
}

.game_logo {
    position: absolute;
    width: 200px;
    height: 110px;
    top: 72px;
    left: 50px;
    background: url(logo.png);
    background-position: center;
    background-size: contain;
    z-index: 3;
    animation: blinker 1s ease-in-out infinite;
}

@keyframes rotateAndMove {
0% {
transform: rotate(10deg) translateX(0);
}
10% {
transform: rotate(-130deg) translateX(20px);
}
20% {
transform: rotate(95deg) translateX(-10px);
}
30% {
transform: rotate(135deg) translateX(30px);
}
40% {
transform: rotate(186deg) translateX(-50px);
}
50% {
transform: rotate(225deg) translateX(40px);
}
60% {
transform: rotate(270deg) translateX(-20px);
}
70% {
transform: rotate(315deg) translateX(60px);
}
80% {
transform: rotate(380deg) translateX(-30px);
}
90% {
transform: rotate(405deg) translateX(10px);
}
100% {
transform: rotate(10deg) translateX(0);
}
}


@keyframes blinker {
0% {
opacity: 1;
}
10% {
opacity: 0.9;
}
20% {
opacity: 0.85;
}
30% {
opacity: 0.95;
}
40% {
opacity: 0.87;
}
50% {
opacity: 0.92;
}
60% {
opacity: 0.88;
}
70% {
opacity: 0.93;
}
80% {
opacity: 0.86;
}
90% {
opacity: 0.89;
}
100% {
opacity: 1;
}
}


.game_record {
font-family: 'Minecraft Ten';
position: absolute;
bottom: 10px;
right: 158px;
text-align: right;
color: #FF9800;
font-size: 8pt;
z-index: 4;
background: #030e12;
width: 60px;
border-radius: 5px;
padding-right: 2px;
}