/* @font-face {
    font-family: 'XiaolaiSC-Regular';
    src: url('XiaolaiSC-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
} */
*{
    box-sizing: border-box;
    font-family: tahoma, Roboto;
}
html, body{
    padding: 0;
    margin: 0;
}
body{
    background: url(bg.jpeg) no-repeat #f3f3f3;
    background-size: cover;
    background-blend-mode: overlay;
}
h1, h2{
    text-align: center;
}
.main-title{
    font-size: 2em;
}
.how-description{
    width: 1200px;
    max-width: 90%;
    text-align: center;
    margin: 0 auto 40px;
    background: #c3ecfd;
    padding: 20px;
    border-radius: 3px;
    box-shadow: 5px 5px 10px 0 rgba(0,0,0,.2);
    border: none;
    font-size: 13px;
    display: none;
    color: #333;
}
.how-description.show{
    display: block;
}
.part-2{
    padding-bottom: 30px;
}
.tips{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    display: none;
}
.tips.show{
    display: block;
}
.show-hide{
    width: fit-content;
    margin: 0 auto;
    padding: 6px 15px 8px;
    margin-bottom: 30px;
    background: #c3ecfd;
    color: #333;
    border-radius: 32px;
    box-shadow: 5px 5px 10px 0 rgba(0,0,0,.2);
    margin-top: 30px;
    position: relative;
    z-index: 2000;
    cursor: pointer;
    transition: all .15s ease-in-out;
}
.show-hide:hover{
    background: #fff;
}
.show-hide.red{
    background: #ff7979;
    color: #fff;
}
.tip-1{
    position: fixed;
    top: 9vh;
    width: 300px;
    background: #b8eeff;
    font-size: 13px;
    right: 20px;
    box-shadow: 5px 5px 10px 0 rgba(0,0,0,.2);
    padding: 15px;
    border-radius: 3px;
    color: #333;
}
.tip-1:after{
    content: "";
    border: 10px solid transparent;
    border-bottom: 10px solid #b8eeff;
    top: -20px;
    position: absolute;
    right: 15px;
}
.tip-2{
    position: fixed;
    top: 9vh;
    width: 300px;
    background: #c3ecfd;
    padding: 15px;
    font-size: 13px;
    left: 50%;
    margin-left: -150px;
    box-shadow: 5px 5px 10px 0 rgba(0,0,0,.2);
    color: #333;
    border-radius: 3px;
}
.tip-2:before{
    content: "";
    margin-top: -10px;
    position: absolute;
    right: 50%;
    border: 10px solid transparent;
    border-bottom: 10px solid #c3ecfd;
    top: -10px;
    margin-right: -10px
}
.ch-table{
    height: 60vh;
    overflow-y: auto;
}
.ch-table-container{
    display: flex;
    flex-wrap: wrap;
    width: 1200px;
    margin: 0 auto;
    max-width: 100%;
    padding-bottom: 30px;
}
.squares-container{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 6px;
}
.yello-bottom{
    position: fixed;
    background: #9ca4f1;
    width: 100%;
    height: 30vh;
    bottom: 0;
    left: 0;
}
.ch-logo img {
    width: auto;
    height: 84px;
}
h2{
    font-size: 14px;
    margin-bottom: 20px;
    padding: 0 10px;
    line-height: initial;
    margin-top: 0;
}
h2 > span{
    display: inline-block;
    margin-right: 10px;
    padding: 5px;
    width: 28px;
    height: 28px;
    border-radius: 16px;
    background: #ffffff;
    color: #222;
}
.white-top{
    width: 100%;
    height: 10vh;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 20px;
    box-shadow: 0 0 24px 0 rgba(0,0,0,.2);
    z-index: 100;
    position: relative;
}
.ch-table-item{
    width: 20%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    cursor: pointer;
    z-index: 10;
    padding: 5px;
}
.ch-table-item:hover{
    z-index: 110;
}
.ch-table-item.clicked{
    z-index: 120;
}
.mixed .num{
    display: none;
}
.ch-table-item-container{
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 6px;
    background: #fff;
    box-shadow: 5px 5px 10px 0 rgba(0,0,0,.2);
    transition: all .15s ease-in-out;
}
.ch-table-item-container:hover{
    z-index: 50;
    background: #fdfbe8;
}
.ch, .ru{
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: #fff; */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: 400;
    font-family: tahoma;
    border-radius: 6px;
}
body .hidden{
    z-index: -1;
    display: none;
}
.to-g{
    display: block;
    position: absolute;
    z-index: 20;
    background: #585fb4;
    right: 0;
    top: 0;
    padding: 0px 7px 1px;
    line-height: 20px;
    text-decoration: none;
    color: #fff;
    border-radius: 0 5px 0 5px;
    font-size: 13px;
    transition: all .15s ease-in-out;
}
.ch-table-item:hover .to-g{
    background: #99c96e;
}
.ch-main{
    font-size:22px;
    margin-right: 10px;
    font-family: tahoma;
    color: darkmagenta;
}
.part-2{
    padding-top: 50px;
}
.mixed-bg{
    box-shadow: inset 0 0 0px 3px rgba(0,0,0,.7);
}
.yello-bottom{
    bottom: 0;
    right: 0;
    font-size: 150px;
    padding: 20px;
    font-family: tahoma;
    width: 100%;
    text-align: center;
    z-index: 100;
    height: 30vh;
    overflow: hidden;
    color: #fff;
    text-shadow: 5px 5px 15px rgba(0,0,0,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #394087;
    background-size: cover;
    box-shadow: 0 0 15px 0 rgba(0,0,0,.5);
}
.yello-bottom span.ch-zoom-1{
    color: #f0de87;
    margin-right: 20px;
    font-weight: 400;
}
.yello-bottom span.ch-zoom-2{
    color: #fff;
    font-weight: 200;
    font-size: 70px;
}
.num{
    position: absolute;
    bottom: 5px;
    left: 5px;
    font-family: tahoma;
    display: block;
    padding: 3px;
    background: #969696;
    text-align: center;
    color: #fff;
    border-radius: 0 6px 0 6px;
    font-size: 10px;
    z-index: 60;
    transition: all .15s ease-in-out;
}
.ch-table-item:hover .num{
    background: #7f1686;
}
.ch-table-item:hover .zoom{
    display: flex;
    align-items: center;
    justify-content: center;
}
.ru .green{
    width: 50%;
    height: 32px;
    top: -32px;
    left: 0px;
    position: absolute;
    background: #8bcc61;
    z-index: 46;
    border-radius: 4px 0 0 4px;
    box-sizing: content-box;
    line-height: 30px;
    color: #fff;
    font-weight: bold;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.2), 0 0 2px rgba(0,0,0,.1);
    box-shadow: 3px 3px 10px 0 rgba(0,0,0,.2);
}
.ru.hidden .green, .ru.hidden .red{
    opacity: 0;
}
.ru .red{
    width: 50%;
    height: 32px;
    top: -32px;
    right: 0px;
    position: absolute;
    background: #f65450;
    z-index: 46;
    border-radius: 0 4px 4px 0;
    /* border: 1px solid #fff; */
    box-sizing: content-box;
    line-height: 30px;
    color: #fff;
    font-weight: bold;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.2), 0 0 2px rgba(0,0,0,.1);
    box-shadow: 3px 3px 10px 0 rgba(0,0,0,.2);
}
.counter-conteiner{
    height: 50px;
    width: 150px;
    z-index: 30;
    display: flex;
    align-items: center;
}
.counter-conteiner > div{
    width: 50%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
#random-it-from, #random-it-to{
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 6px;
    border: 1px solid #aaa;
}
#random-it-from{
    margin-left: 10px;
    margin-right: 5px;
}    
#random-it-to{
    margin-left: 5px;
}
.shake-it{
    background: #575fba;
    height: 36px;
    border-radius: 27px;
    border: none;
    margin-left: 10px;
    color: #fff;
    box-shadow: 5px 5px 10px 0 rgba(0,0,0,.2);
    padding: 0 14px;
    transition: all .15s ease-in-out;
    cursor: pointer;
}
.shake-it:hover{
    background: #4a52a4;
}
.counter-conteiner > div:first-child{
    border-right: 0;
}
.counter-conteiner > div.green-counter, .counter-conteiner > div.red-counter, .counter-conteiner > div.refresher{
    border-radius: 32px;
    border: 2px solid #fdfbe8;
    color: #fff;
}
.red-counter{
    cursor: pointer;
}
.counter-conteiner > div.green-counter{
    background: #99c96e;
}
.counter-conteiner > div.red-counter{
    background: #e46057;
    transition: all .15s ease-in-out;
}
.counter-conteiner > div.red-counter:hover{
    background: #dd4f46;
}
.counter-conteiner > div.refresher{
    background: #585fb4;
    cursor: pointer;
    transition: all .15s ease-in-out;
}
.counter-conteiner > div.refresher:hover{
    background: #4a52a4;
}
.refresher>span{
    font-size: 30px;
    margin-top: -5px;
    margin-right: -3px;
    cursor: pointer
}
.ru:before{
    content: "";
    position: absolute;
    border: 10px solid transparent;
    border-right: 10px solid #99c96e;
    top: -10px;
    left: 50%;
    margin-left: -20px;
    z-index: 200;
}
.ru:after{
    content: "";
    position: absolute;
    border: 10px solid transparent;
    border-left: 10px solid #e46057;
    top: -10px;
    right: 50%;
    margin-right: -20px;
    z-index: 200;
}
.red-square{
    position: relative;
    width: 10px;
    height: 10px;
    margin-left: 6px;
    margin-top: 5px;
    background: #e46057;
    z-index: 50;
    opacity: 1;
    float: left;
    border-radius: 0px;
    border: 1px solid #fff;
    box-shadow: 3px 3px 6px 0 rgba(0,0,0,.2);
}
.green-square{
    position: relative;
    width: 10px;
    height: 10px;
    margin-left: 6px;
    margin-top: 5px;
    background: #a2c879;
    z-index: 50;
    opacity: 1;
    float: left;
    border-radius: 5px;
    border: 1px solid #fff;
    box-shadow: 3px 3px 6px 0 rgba(0,0,0,.2);
}
.help-image{
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 6px;
}
.help-image .help-sign{
    display: block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    border-radius: 20px;
    text-align: center;
    background: #a2c879;
    color: #fff;
    position: absolute;
    top: 2px;
    left: 2px;
    z-index: 75;
}
.help-i{
    width: 100%;
    height: auto;
    display: none;
}
.help-i img{
    width: 100%;
    height: auto;
}
.help-i.show{
    z-index: 70;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    margin-left: 0;
    margin-top: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}
@media all and (max-width: 767px){
    .ch-logo img {
        width: auto;
        height: 48px;
    }
    .help-i.show{
        z-index: 2;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        margin-left: 0;
        margin-top: 0;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 0;
        box-shadow: 5px 5px 10px 0 rgba(0,0,0,.2);
    }
    .help-i img {
        width: 100%;
        height: auto;
    }
    .help-image .help-sign {
        display: block;
        width: 38px;
        height: 38px;
        line-height: 38px;
        border-radius: 6px 0;
        text-align: center;
        background: #a2c879;
        color: #fff;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 3;
    }
    .how-description{
        text-align: left;
    }
    .tip-1{
        position: fixed;
        top: 10vh;
        width: 100%;
        background: #cbebfb;
        padding: 10px 10px 12px;
        font-size: 13px;
        right: 0;
        border-radius: 0;
    }
    .tip-1:after {
        content: "";
        border: 10px solid transparent;
        border-bottom: 10px solid #cbebfb;
        top: -18px;
        position: absolute;
        right: 21px;
    }
    .tip-2{
        position: fixed;
        bottom: 10vh;
        width: 100%;
        background: #cbebfb;
        padding: 10px;
        font-size: 13px;
        left: 0;
        margin-left: 0;
        top: initial;
        border-radius: 0;
    }
    .tip-2:after{
        content: "";
        border: 10px solid transparent;
        border-top: 10px solid #cbebfb;
        bottom: -20px;
        position: absolute;
        left: 51px;
    }
    .ch-table-item:hover{
        z-index: 10;
    }
    .tip-2:before{
        content: "";
        display: none;
    }
    .white-top{
        padding: 7px;
    }
    .rus-text{
        width: 68%;
    }
    .ru .green {
        width: 14%;
        height: 40%;
        top: 20%;
        left: initial;
        position: absolute;
        background: #a2c879;
        z-index: 30;
        border-radius: 0;
        border: initial;
        box-sizing: border-box;
        font-size: 15px;
        display: flex;
        justify-content: center;
        font-weight: bold;
        color: #fff;
        text-shadow: 1px 1px 1px rgba(0,0,0,.3);
        align-items: center;
        margin-bottom: -35px;
        right: 0px;
    }
    .ch-table-item-container{
        overflow: hidden;
    }
    .ru .red {
        width: 14%;
        height: 40%;
        top: initial;
        bottom: 0px;
        right: 0px;
        position: absolute;
        background: #df6456;
        z-index: 30;
        border-radius: 0;
        border: initial;
        box-sizing: border-box;
        font-size: 15px;
        display: flex;
        justify-content: center;
        font-weight: bold;
        color: #fff;
        text-shadow: 1px 1px 1px rgba(0,0,0,.3);
        align-items: center;
        margin-bottom: 0;
    }
    .ru:before{
        content: "";
        position: absolute;
        border: 10px solid transparent;
        border-right: 10px solid #99c96e;
        top: 88px;
        left: initial;
        margin-left: initial;
        z-index: 200;
        right: 38px;
        transform: rotate(90deg);
    }
    .ru:after {
        content: "";
        position: absolute;
        border: 10px solid transparent;
        border-left: 10px solid #e46057;
        top: 98px;
        right: 35px;
        margin-right: initial;
        z-index: 200;
        transform: rotate(-45deg);
    }
    .to-g {
        display: block;
        position: absolute;
        z-index: 20;
        height: initial;
        right: 0;
        top: 0;
        padding: 9px 14px;
        line-height: 20px;
        text-decoration: none;
        color: #fff;
        border-radius: 0 6px;
    }
    .ch-table-item:hover .to-g{
        background: #585fb4;
    }
    .num{
        left: 0;
        border-radius: 0 6px;
        padding: 4px 6px;
        bottom: 10px;
    }
    .mixer{
        position: fixed;
        z-index: 100000;
        height: 10vh;
        display: flex;
        padding-bottom: 0;
        flex-direction: row;
        align-items: center;
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
        left: 0;
        bottom: 0;
        background: #80a8ff;
    }
    .ch-table-container{
        justify-content: center;
    }
    .ch-table-item{
        width: 90%;
        box-sizing: border-box;
        padding: 10px 0;
    }
    .counter-conteiner {
        width: 150px;
        height: 8vh;
    }
    .shake-it{
        background: #fff;
        height: 36px;
        border-radius: 6px;
        border: none;
        margin-left: 10px;
        color: #222;
        box-shadow: 5px 5px 10px 0 rgba(0,0,0,.2);
        padding: 10px;
    }
    .yello-bottom {
        background: #80a8ff;
        height: 10vh;
    }
    .mixer{
        color: #fff;
    }
    .ch-table{
        height: 80vh;
        padding-bottom: 70px;
    }
    #random-it-from, #random-it-to{
        border: none;
    }
    /* .counter-conteiner > div{
        height: 8vh;
    } */
    .ch-table-item{
        height: 200px;
    }
    .yello-bottom{
        display: none !important;
    }
    .ch-main{
        font-size: 86px;
        display: block;
        text-align: center;
        width: 100%;
        margin-right: 0;
        line-height: 100%;
        margin-top: 30px;
    }
    .squares-container{
        border-radius: 0;
    }
    .green-square{
        margin-left: 8px;
        margin-top: 14px;
    }
    .red-square {
        margin-left: 8px;
        margin-top: 14px;
    }
    .ch-more{
        font-size: 40px;
        margin-bottom: 20px;
    }
    .ch, .ru{
        flex-wrap: wrap;
        font-size: 20px;
    }
}