
html, body {
    width: 100%;
    height: 100%
}

body {
    line-height: 1.6;
    font-size: 0.4rem;
    color: yellow;
    max-width: 720px;
    margin: 0 auto;
}

.loading {
    width: 100%;
    height: 100%;
    position: fixed;
    background: #000;
    max-width: 720px;
    background-image: url(../images/background.jpg);
    background-size: 100% 100%;
    background-position: center center;
    z-index: 999;
}

.loading_txt {
    font-size: 60px;
    color: #ffff00;
    text-align: center;
    top: 50%;
    position: absolute;
    width: 80%;
    margin: 0 10%;
    transform: translate(0%, -50%);
}

.main {
    width: 100%;
    height: 100%;
    position: relative;
    background-image: url(../images/background.jpg);
    background-size: 100% 100%;
    background-position: center center;
}

.logo {
    position: absolute;
    top: 0.3rem;
    width: 100%;
    height: 1rem;
    background-image: url(../images/logo.png);
    background-size: cover;
    background-position: center center;
}

.content {
    position: absolute;
    width: 100%;
    top: 1.6rem;
    bottom: 1.6rem
}

.buttons {
    position: absolute;
    bottom: 0;
    height: 1.6rem;
    width: 100%;
    line-height: 1.6rem;
    overflow: hidden;
    text-align: center
}

button {
    height: 0.8rem;
    background: rgba(0, 0, 0, 0.8);
    border: #fff solid 0.04rem;
    border-radius: 0.45rem;
    padding: 0 .8rem;
    border-radius: 0.45rem;
    font-size: inherit;
    color: #FFF
}

.start {
}

.option {
    height: 100%;
    width: 100%;
    position: relative
}

.option_tag {
    list-style: none;
    padding: 0 0.25rem;
    height: 0.65rem;
    display: flex;
}

.option_tag li {
    flex: 1;
    height: 0.65rem;
    margin: 0 0.05rem;
    text-align: center;
    background-image: url("../images/sets.jpg");
    background-repeat: repeat-x;
    background-size: 500% auto;
    outline: transparent solid .04rem;
    opacity: .5;
    transition: outline,opacity 1s;
}

.option_tag li[val="1"] {
    background-position:  -0%;
}
.option_tag li[val="2"] {
    background-position:  -100%;
}
.option_tag li[val="3"] {
    background-position:  -200%;
}
.option_tag li[val="4"] {
    background-position:  -300%;
}
.option_tag li[val="9"] {
    background-position:  -400%;
}


.option_tag .selected{
    outline: #fff solid .04rem;
    opacity: 1
}

.dev {
        -webkit-filter: grayscale(100%); /* Chrome, Safari, Opera */
    filter: grayscale(100%);
}

.option_list {
    position: absolute;
    top: 0.7rem;
    bottom: 0;
    overflow: auto;
    list-style: none;
    text-align: center;
    padding: 0%;
    margin: 0;
    -webkit-overflow-scrolling: touch;
}

.option_list li {
    display: inline-block;
    float: left;
    width: 21%;
    text-align: center;
    margin: 2%;
    outline: transparent solid .04rem;
    opacity: .5;
    line-height: 0;
    transition: all 1s;
}

.option_list li div {
    position: relative
}

.option_list li img {
    width: 100%;
    vertical-align: top;
}

.option_list li span {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    font-size: 0.24rem;
    display: block;
    line-height: 1.6;
    color: #ddd;
    text-shadow: 1px 1px 3px #000;
}

.option_list .selected {
    outline: #fff solid .04rem;
    opacity: 1
}

.option_list .selected span {
    color: #fff;
}

.game {
    height: 100%;
    width: 100%;
    position: relative;
    display: none
}

.card {
    width: 4rem;
    height: 4rem;
    background-image: url(../images/card_bg.png);
    background-size: 100% 100%;
    margin: 0.5rem auto;
}

.card img {
    vertical-align: top;
    width: 100%;
}

.game_msg {
    position: absolute;
    top: 4rem;
    bottom: 0rem;
    width: 100%
}

.test {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
}
