.background {
    background-image: url("bg.jpg");
    -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%);
}

table {
    border: 2px solid rgb(24, 0, 120);
}

.box {
    width: 15px;
    height: 15px;
    background-color:rgb(129, 129, 129);
}

.box-body {
    background-color: rgb(31, 19, 255);
}

.box-wheel {
    background-color: rgb(92, 0, 97);
    animation: blinker 1s linear infinite;
}

.box-cpu-body-zero {
    background-color: rgb(1, 47, 70);
}

.box-cpu-body-one {
    background-color: rgb(111, 0, 117);
}

.box-cpu-body-two {
    background-color: rgb(88, 1, 155);
}

.box-cpu-wheel {
    background-color: rgb(33, 31, 24);
    animation: blinker 1s linear infinite;
}

.box-border {
    background-color: rgb(79, 79, 79);
    border: 1px solid #000;
}

.box-dead {
    background-color: rgb(129, 129, 129);
    border: 1px solid rgb(129, 129, 129);
}

.box-divider {
    background-color: bisque;
}
  
@keyframes blinker {
    50% {
      opacity: .5;
    }
}

.scoreboard {
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    margin: 10px;
    padding: 10px;
    color: #fff;
    min-height: 50px;
}

.game-hint {
    text-align: center;
    padding: 0px;
    margin: 0px;
    font-size: 20px;
    font-weight: 600;
    margin: 10px;
    padding: 10px;
    color: rgb(88, 88, 88);
    opacity: 0.6;
}

.score {
    text-align: center;
}

.controller {
    text-align: center;
    width: 100%;
    max-height: 80px;
    min-height: 80px;
}

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

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

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

.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;
}

.speed-meter {
    display: inline-block;
    max-width: 100px;
}

.speed-red {
    display: inline-block;
    max-height: 50px;
    max-width: 50px;
    min-height: 50px;
    min-width: 50px;
    background-color: #f00;
}

.speed-yollow {
    display: inline-block;
    max-height: 50px;
    max-width: 50px;
    min-height: 50px;
    min-width: 50px;
    background-color: rgb(214, 75, 75);
}

.speed-green {
    display: inline-block;
    max-height: 50px;
    max-width: 50px;
    min-height: 50px;
    min-width: 50px;
    background-color: rgb(0, 90, 0);
}

.speed-meter-blink {
    animation: blinker 1s linear infinite;
}

.speed-black {
    display: inline-block;
    max-height: 50px;
    max-width: 50px;
    min-height: 50px;
    min-width: 50px;
    background-color: #131313;
}

.speed-white {
    display: inline-block;
    max-height: 50px;
    max-width: 50px;
    min-height: 50px;
    min-width: 50px;
    background-color: rgba(157, 157, 157, 0.774);
}

.speed-text {
    display: inline-block;
    text-align: center;
    color: #fff;
}

.speed-level {
    display: inline-block;
    text-align: center;
    color: rgb(255, 151, 151);
}

.speed-level-up {
    color: #f00;
    animation: blinker 1s linear infinite;
    font-weight: 900;
}

.controller-pc{
    display: block;
}

.controller-mob{
    display: none;
}

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

.level-up{
    background-color: #f00;
    min-height: 10px;
    border: 1px solid #000;
    border-radius: 10px;
}


@media (max-width: 479px) {
    .controller-pc{
        display: none;
    }

    .controller-mob{
        display: block;
    }

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