.background {
    background-color: #fff;
}
table {
    background-image: url("img/bg.png"); 
    background-repeat: no-repeat;
    -webkit-background-size: 100% 100%;
    -moz-background-size: 100% 100%;
    -o-background-size: 100% 100%;
    background-size: 100% 100%;
}
.center {
    margin: auto;
    padding: 10px;
    text-align: center;
}

.center-root { 
    height: 100%;
    position: relative;
}
  
.center-child {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.box {
    width: 30px;
    height: 30px;
}

.way {
    border-top: 2px solid rgb(0, 0, 0);
}

.rod {
    border-top: 2px solid rgb(143, 143, 143);
}

.run {
    background-image: url("img/run.gif"); 
    background-repeat: no-repeat;
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;
}
.jump {
    background-image: url("img/jump.png"); 
    background-repeat: no-repeat;
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;
}
.stand {
    background-image: url("img/stand.png"); 
    background-repeat: no-repeat;
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;
}
.man-d {
    background-image: url("img/man-d.png"); 
    background-repeat: no-repeat;
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;
}
.add-0 {
    background-image: url("img/add-0.png"); 
    background-repeat: no-repeat;
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;
}
.add-1 {
    background-image: url("img/add-1.png"); 
    background-repeat: no-repeat;
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;
}
.add-2 {
    background-image: url("img/add-2.png"); 
    background-repeat: no-repeat;
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;
}
.add-3 {
    background-image: url("img/add-3.png"); 
    background-repeat: no-repeat;
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;
}
.sub-0 {
    background-image: url("img/sub-0.png"); 
    background-repeat: no-repeat;
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;
}
.sub-1 {
    background-image: url("img/sub-1.png"); 
    background-repeat: no-repeat;
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;
}
  
.trap-0 {
    background-image: url("img/trap-0.png"); 
    background-repeat: no-repeat;
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;
}

.trap-1 {
    background-image: url("img/trap-1.png"); 
    background-repeat: no-repeat;
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;
}

.trap-2 {
    background-image: url("img/trap-2.png"); 
    background-repeat: no-repeat;
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;
}

.trap-3 {
    background-image: url("img/trap-3.png"); 
    background-repeat: no-repeat;
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;
}

.trap-4 {
    background-image: url("img/trap-4.png"); 
    background-repeat: no-repeat;
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;
}

.trap-5{
    background-image: url("img/trap-5.png"); 
    background-repeat: no-repeat;
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;
}
.girl {
    background-image: url("img/girl.png"); 
    background-repeat: no-repeat;
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;
}
.love {
    background-image: url("img/love.png"); 
    background-repeat: no-repeat;
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;
}

@keyframes blinker {
    50% {
      opacity: .5;
    }
}

.scoreboard {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    margin: 10px;
    padding: 10px;
    color: #000;
    min-height: 100px;
}

.scoreboard-block-one {
    display: inline-block;
    text-align: left;
    width: 50%;
}

.game-hint {
    text-align: center;
    padding: 0px;
    margin: 0px;
    font-size: 20px;
    font-weight: 600;
    margin: 10px;
    padding: 10px;
    color: #000;
    opacity: 0.6;
}

.score {
    text-align: center;
}

.controller {
    text-align: center;
    width: 100%;
}
.controller-pc{
    display: block;
}

.controller-mob{
    display: none;
}

.controller-btn {
    display: inline-block;
    background-color: blueviolet;
    padding: 10px;
    border-radius: 5px;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
}

.container-text {
    text-align: center;
    color: #000;
}

.menu {
    position:absolute;
    top: 40%;
    text-align: center;
    width: 100%;
}

.menu-title {
    width: 50px;
    padding: 5px;
    border-radius: 20px;
    color: #fff;
    opacity: 0.7;
    font-size: 28px;
    display: inline-block;
    font-family: "Times New Roman", Times, serif;
}

.menu-option {
    padding: 20px;
    background-color: rgb(68, 68, 68);
    border-radius: 20px;
    color: #fff;
    width: 100px;
    height: 100px;
    opacity: 0.7;
    font-size: 40px;
    display: inline-block;
    cursor: pointer;
}

.menu-option-text {
    font-size: 10px;
}

@media (max-width: 479px) {
    .box {
        width: 30px;
        height: 30px;
    }

    .controller-pc{
        display: none;
    }

    .controller-mob{
        display: block;
    }

    .controller-btn {
        display: inline-block;
        background-color: blueviolet;
        padding: 15px;
        border-radius: 20px;
        color: #fff;
        font-size: 30px;
        font-weight: 800;
    }
}