html,body {
    margin: 0;
    padding: 0;
    height: 100%;
    background: #e8e8e8;
    user-select: none;
}

.main {
    padding-top: 30px;
}

.d-inline {
    display: inline-block;
}
tr td {
    text-align: center;
}
.btn {
    outline: none;
    border: 1px solid #ddc905;
    border-radius: 50%;
    background: linear-gradient(145deg, #decb02, #c1b002);
    transition-duration: 30ms;

    width: 50px;
    height: 50px;
    cursor: pointer;
    display-role: button;


    box-shadow:  4px 4px 8px #555555,
    -4px -4px 8px #7ed2d2;
}
.btn.small {
    width: 22px;
    height: 22px;
    margin: 0 6px;

    box-shadow:  3px 3px 6px #555555,
    -3px -3px 6px #7ed2d2;
}

.btn.hide {
    opacity: 0;
    /*display: none;*/
    width: 30px;
}
.btn.big {
    width: 80px;
    height: 80px;
    box-shadow:  8px 8px 20px #555555,
    -8px -8px 20px #7ed2d2;
}
.btn.active, .btn:active {
    background: linear-gradient(145deg, #a69700, #c5b400);
    box-shadow:  2px 2px 4px #555555,
    -2px -2px 4px #7ed2d2;
}
.text-center {
    text-align: center;
}
.text-center.small {
    font-size: 12px;
}

.pt-50 {
    padding-top: 50px!important;
}

.pb-50 {
    padding-bottom: 50px!important;
}
.mt-20 {
    margin-top: 20px!important;
}
.mt-15 {
    margin-top: 15px!important;
}
.border-top-right-12 {
    border-top-right-radius: 12px!important;
}
.border-bottom-right-12 {
    border-bottom-right-radius: 12px!important;
}

.flex-page {
    display: flex;
    display: -webkit-flex;

    justify-content: center;
    -webkit-justify-content: center;

    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;

    align-items: flex-start;
    -webkit-align-items: flex-start;
}


.game {
    background: #019CD6;
    width: 430px;

    border-radius: 45px 12px 12px 12px;

    box-shadow:
            3px 4px 10px rgba(0, 0, 0, 0.8),
            -3px -4px 10px rgba(232, 232, 232, 0.55);
}

.game .game-head {
    text-align: center;
    padding: 70px 0;
    white-space: nowrap;
}
.game .game-head .leftdoc {margin-right: 15px;}
.game .game-head .rightdoc {margin-left: 15px;}
.game .game-head .leftdoc, .game .game-head .rightdoc {
    display: inline-block;
}
.game .game-head .leftdoc img, .game .game-head .rightdoc img{
    height: 320px;
}

.game .game-head #screen {
    border: 20px inset;
    border-color: #0a90bf #4dbde3 #59c6e8 #019CD6;
    overflow: hidden;
    background-color: #9facaa;
    width: 197px;
    height: 259px;
}
.game .game-head #screen canvas {
    border: 2px solid black;
}

.game .game-head .centerdoc {
    position: relative;
    display: inline-block;
    border: 4px solid #280000;
    padding: 20px 20px 40px 20px;
}
.game .game-head .centerdoc .logo{
    position: absolute;
    font-size: 20px;
    line-height: 20px;
    text-align: center;
    font-weight: bold;
    bottom: -10px;
    left: 0;
    right: 0;
}

.game .game-head .centerdoc .logo .text{
    background: #019CD6;
    display: inline-block;
    padding: 0 20px;
}
.game .game-head .centerdoc .logo .text a {
    color: black;
    text-decoration: none;
}

.game .game-body {
    padding:  0 0 50px 0;
    text-align: center;
}

.game .game-body table {
    margin: 0 auto;
}

.game .game-body [key] {
    transition-duration: 0ms;
    -webkit-transition-duration: 0ms;
}

.game .game-body .controller-flex .controller-div{
    transition-duration: 0ms;
    -webkit-transition-duration: 0ms;
}
.game .game-body .controller-flex {
    display: flex;
    display: -webkit-flex;

    justify-content: space-between;
    -webkit-justify-content: space-between;

    margin: 0 30px;
}

.game .game-body .controller-right{
    display: flex;
    display: -webkit-flex;
    align-items: center;
}
.game .game-body .controller-left{
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.game .game-body .controller-left-row .btn-parent .btn {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}
.game .game-body .controller-left-row .btn-parent {
    padding: 15px;
}
.game .game-body .controller-left-row {
    display: -webkit-flex;
    display: flex;
}

.right {
    margin-left: 15px;
    font-size: 95.7%;
}

.right .txt-borad {
    overflow: hidden;
    width: 300px;
    background: #019CD6;
    padding: 8px 0 30px 0;
    border-radius: 12px 45px 45px 12px;
    color: white;
    box-shadow:
            3px 4px 10px rgba(0, 0, 0, 0.8),
            -3px -4px 10px rgba(232, 232, 232, 0.55);
}

.right .txt-borad p {
    margin: 0 20px;
}


.foot {
    border-radius: 12px 12px 45px 45px;
    background: #019CD6;
    text-align: center;
    width: 715px;
    margin: 15px auto 30px auto;
    color: white;
    font-size: 13px;
    padding: 15px;
    box-shadow:
            3px 4px 10px rgba(0, 0, 0, 0.8),
            -3px -4px 10px rgba(232, 232, 232, 0.55);
}

@media screen and (max-width: 800px) {
    .main {
        width: 100%;
        padding-top: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .game {
        width: 100%;
        border-radius: 0;
        box-shadow: none;
    }

    .game .game-head {
        padding: 20px 0 50px 0;
    }

    .game .game-head .centerdoc {
        position: relative;
        display: inline-block;
        border: 4px solid #280000;
        padding: 10px 10px 20px 10px;
    }

    .game .game-head .leftdoc {margin-right: 6px;}
    .game .game-head .rightdoc {margin-left: 6px;}

    .game .game-body {
        padding:  0 0 90px 0;
        text-align: center;
    }

    .border-bottom-right-12 {
        border-bottom-right-radius: 0!important;
    }
    .border-top-right-12 {
        border-top-right-radius: 0!important;
    }

    .right {
        display: none;
        margin-top: 15px;
        width: 100%;
        margin-left: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .right .txt-borad {
        width: 100%;
        border-radius: 0;
        box-shadow: none;
    }

    .foot {
        display: none;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        padding: 0!important;
    }
}

