::-webkit-scrollbar {
    width: 16px;
}

::-webkit-scrollbar-track {
    background-color: #333;
}

::-webkit-scrollbar-thumb {
    background-color: #424e69;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #8295d5;
}

@font-face {
    font-family: 'A9195';
    src: url('../css/9195.ttf');
}

* {
    font-family: A9195, sans-serif;
    font-size: 20px;
    color: #fff;
}

html, body {
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    width: 100%;
    height: 100%;
}

html {
    background-color: #000;
}

body {
    position: relative;
}


#score {
    position: absolute;
    display: inline;
    top: 70px;
    margin: 0px;
    padding: 0px;
}

#added-score {
    color: green;
    margin-left: 10px !important;
}

#score h2, #score span {
    /*display: block;*/
    text-transform: uppercase;
    font-weight: normal;
    /*letter-spacing: 2px;*/
    font-size: 18px;
    height: 21px;
    margin: 0px;
    padding: 0px 15px 0px 0px;
    text-align: left;
}

#score span {
    padding-right: 0px;
}

#message {
    position: absolute;
    display: inline;
    top: 420px;
    left: 180px;
    margin: 0px;
    padding: 0px;
    width: 210px;
    height: 30px;
    text-transform: uppercase;
    font-weight: normal;
    letter-spacing: 2px;
    font-size: 20px;
    color: #fff200;
    text-align: center;
    cursor: pointer;
}

#message.background {
    background: black;
}

#message.red {
    color: red;
}

#panel {
    width: 550px;
    height: 690px;
    margin: auto;
    margin-top: 10px;
    left: 0px;
    right: 0px;
    position: absolute;
    padding: 5px 10px 10px 10px;
}

#board, #canvas-board, #canvas-paths, #canvas-fruits, #canvas-altman, #canvas-bubbles, #canvas-monster-1, #canvas-monster-2, #canvas-monster-3, #canvas-monster-4 {
    width: 550px;
    height: 550px;
    position: absolute;
}

#canvas-paths {
    display: none;
}

#board {
    position: relative;
}

#canvas-life {
    top: 675px;
    position: absolute;
    width: 250px;
    right: 0px;
}

#sign-in {
    text-decoration: unset;
    width: 60%;
    cursor: pointer;
    z-index: 99;
    display: flex;
    align-items: center;
}

#highscore{
    position: absolute;
    top: 25px;
    left:10px;
    font-size: 11px;
    cursor: pointer;
    display: none;
}

#leaderboard{
    position: absolute;
    top: 10px;
    left:10px;
    font-size: 11px;
    display: none;
    cursor: pointer;
}

#wallet-message {
    font-size: 15px;
    text-transform: uppercase;
    margin-left: 15px;
    font-family: A9195;
}

#wallet-message {
    /*position: absolute;
    bottom : 0px;
    left : 70px;*/
}

#wallet-balance, #wallet-owner {
    color: #acacae;
    font-size: 13px;
    font-family: A9195;
    margin-left: 15px;
}

#control-up-big, #control-down-big, #control-left-big, #control-right-big {
    position: absolute;
    margin: auto;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    /*background-size: 80px;*/
    cursor: pointer;
    /*width: 64px;
    height: 64px;*/
    padding: 0px;
    display: none;
    z-index: 9999;
    background-size: 100%;
}

#control-up-big {
    bottom: -195px;
    left: 0px;
    right: 0px;
    width: 125px;
    height: 125px;
    background-image: url('../assets/img/move-up.svg');
}

#control-down-big {
    bottom: -340px;
    left: 0px;
    right: 0px;
    width: 125px;
    height: 125px;
    background-image: url('../assets/img/move-down.svg');
}

#control-left-big {
    left: 65px;
    bottom: -260px;
    width: 125px;
    height: 125px;
    background-image: url('../assets/img/move-left.svg');
}

#control-right-big {
    right: 65px;
    bottom: -260px;
    width: 125px;
    height: 125px;
    background-image: url('../assets/img/move-right.svg');
}


h1 {
    margin: 0px 0px 74px 0px;
    padding: 0px;
    font-size: 24px;
    letter-spacing: 3px;
    color: #fff;
    text-transform: uppercase;
    font-style: normal;
}

h3 {
    margin: 0px;
    padding: 0px;
    font-size: 20px;
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
    font-style: normal;
}

.sound {
    position: absolute;
}

#exit, #reload {
    position: absolute;
    height: 50px;
}

.sound img {
    height: 46px;
}

#reload img {
    height: 46px;
}

#exit img {
    height: 46px;
}

.sound {
    bottom: 0px;
    right: 5px;
}

#exit {
    bottom: 0px;
}

#reload {
    bottom: 0px;
    right: 55px;
}

#panel .sound {
    top: 77px;
    right: 5px;
}

#panel #exit {
    top: 77px;
    right: 105px;
}

#panel #reload {
    top: 77px;
    right: 55px;
}

#sound {
    position: absolute;
    height: 50px;
}

.ui-mobile {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

@media only screen and (max-width: 700px) {
    #panel {
        zoom: 95%;
    }

    #control-up-big, #control-down-big, #control-left-big, #control-right-big {
        display: inline;
    }
}

@media only screen and (max-height: 710px) {
    #panel {
        zoom: 85%;
    }

    #control-up-big, #control-down-big, #control-left-big, #control-right-big {
        display: inline;
    }
}

@media only screen and (max-width: 600px) {
    #panel {
        zoom: 85%;
    }
}

@media only screen and (max-height: 620px) {
    #panel {
        zoom: 75%;
    }
}

@media only screen and (max-width: 500px) {
    #panel {
        zoom: 70%;
    }
    #sign-in{
        display: none;
    }
}

@media only screen and (max-height: 550px) {
    #panel {
        zoom: 65%;
    }
}

@media only screen and (max-width: 400px) {
    #panel {
        zoom: 60%;
    }
}

@media only screen and (max-height: 480px) {
    #panel {
        zoom: 55%;
    }
}

@media only screen and (max-width: 350px) {
    #panel {
        zoom: 50%;
    }
}
