/* *{
    margin:0;
    padding: 0;
    color:inherit;
    font: inherit;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}
html{
    font-size: 16px;
}
body{
    position: relative;
    font-size: 16px;
    font-weight: 300;
    font-family: 'Roboto', 'Noto Sans TC', '微軟正黑體', 'Microsoft JhengHei', sans-serif;
    color:#333;
}


.w1200{
    width: 80%;
    max-width: 1200px;
    margin: auto;
}
.w1400{
    width: 80%;
    max-width: 1400px;
    margin: auto;
} */

@font-face {
	font-family: 'Xolonium';
	src: url("../fonts/xolonium-regular.ttf") format("opentype"),
		 url("../fonts/xolonium-regular.eot");
	font-weight: normal;
	font-style: normal;
}
#puzzle_game input[type=text],
#puzzle_game input[type=email],
#puzzle_game input[type=password],
#puzzle_game select{
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    letter-spacing: 1px;
    font-weight: 500;
}

#puzzle_game{
    margin: auto;
    padding: 100px 0;
    background-color: #000;
    position: relative;
    background-image: url(../img/bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
#puzzle_game::before{
    content: '';
    background: linear-gradient(to top, #000 0%, transparent 5%, transparent 95%, #000 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}
#puzzle_game #answer{
    position: fixed;
    bottom:45%;
    left: 20%;
    background-color: #fff;
    width: 20px;
    height: 20px;
    /* height: calc(100% - 600px); */
    /* display: none; */
    text-align: center;
    pointer-events: none;
    opacity: 0;
}

#puzzle_game .pw1000{
    width: 80%;
    max-width: 1000px;
    margin: auto;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    position: relative;
}
#puzzle_game #game_outer{
    width: 600px;
    display: inline-flex;
    flex-wrap: wrap;
    vertical-align: top;
    background-color: rgba(0, 0, 0, .7);
    order: 1;
    position: relative;
}
#puzzle_game #que{
    width: calc(100% - 600px);
    display: inline-block;
    padding-left: 5%;
    text-align: right;
    vertical-align: top;
    order: 2;
}

/* 提示區 */
#puzzle_game #que .title{
    /* margin-bottom: 20px; */
    padding: 7px 10px;
    background-color: #430000;
    transform: skew(-15deg);
    position: relative;
}
#puzzle_game #que .title::before{
    content: '';
    width: 18%;
    height: 100%;
    background-color: #6f0000;
    position: absolute;
    left: 0;
    top: 0;
}
#puzzle_game #que .title p{
    color: #fff;
    margin-left: 22%;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 1px;
    transform: skew(15deg);
    position: relative;
    text-align: left;
}
#puzzle_game #que .title p::after{
    content: '';
    width: 60%;
    height: 1px;
    margin-left: 10px;
    background-color: #fff;
    display: inline-block;
    vertical-align: middle;
}
#puzzle_game #que .o{
    padding: 25px 0;
    background-color: rgba(0, 0, 0, .36);
}
#puzzle_game #que ul {
    /* margin-bottom: 30px; */
    padding: 5px 0;
    max-height: 230px;
    overflow: auto;
    color: #fff;
    position: relative;
}
#puzzle_game #que ul li{
    margin-left: 30px;
    padding: 7px 20px 7px 0px;
    /* list-style: decimal outside; */
    color: #fff;
    text-align: left;
    cursor: pointer;
    transition: .3s;
}
#puzzle_game #que ul li.correct{
    color: #6B0000;
}
#puzzle_game #que ul::-webkit-scrollbar-thumb{
    background-color: #6B0000;
}
#puzzle_game #que ul::-webkit-scrollbar {
    width: 4px;
    height: 4px;
    background-color: #430000;
}

/* 遊戲盤面 */
#puzzle_game .col{
    width: 6.25%;
    padding-bottom: 6.25%;
    flex: 1 1 6.25%;
    /* background-color: rgba(0, 0, 0, .5); */
    border: #c8000f 1px solid;
    box-shadow: rgba(190,44,36, .9) 0px 0px 7px inset;
    margin-right: -1px;
    margin-bottom: -1px;
    position: relative;
    cursor: pointer;
}
#puzzle_game .col.disable{
    background-color: rgba(184, 24, 16, 0.5);
    cursor: default;
}
#puzzle_game .col.group{
    background-color: rgba(166, 111, 46, .5);
}
#puzzle_game .col.active{
    background-color: #A66F2E;
}
#puzzle_game .col.wrong p{
    color: #777;
}
#puzzle_game .col p{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    color: #fff;
    font-weight: 400;
    text-transform: uppercase;
}
#puzzle_game .col span{
    color: #fff;
    position: absolute;
    top: 1px;
    left: 1px;
    font-size:12px;
    transform: scale(.65);
}
#puzzle_game .col span:nth-of-type(2){
    top: 11px;
}
#puzzle_game .col span:nth-of-type(2)::before{
    content: '';
    height: 2px;
    width: 100%;
    background-color: #fff;
    display: block;
}

/* 隱藏訊息 */
#puzzle_game .msg_title{
    width: 100%;
    margin: 20px 0 30px;
    font-size: 25px;
    color: #c8000f;
    text-align: center;
    position: relative;
    /* background-color: #000; */
    z-index: 1;
    font-family: 'Xolonium';
}
#puzzle_game .msg_title span{
    padding: 0 10px;
    position: relative;
    /* background-color: #000; */
    z-index: 1;
}
#puzzle_game .msg_title::before{
    content: '';
    width: calc(50% - 140px);
    height: 1px;
    background-color: #c8000f;
    position: absolute;
    top: 50%;
    left: 0;
    z-index: -1;
}
#puzzle_game .msg_title::after{
    content: '';
    width: calc(50% - 140px);
    height: 1px;
    background-color: #c8000f;
    position: absolute;
    top: 50%;
    right: 0;
    z-index: -1;
}
#puzzle_game .msg_box{
    width: 100%;
    text-align: center;
    list-style: none;
}
#puzzle_game .msg_box li{
    min-width: 50px;
    width: auto;
    min-height: 50px;
    margin: 5px;
    background-color: rgba(184, 24, 16, 0.5);;
    position: relative;
    display: inline-block;
}
#puzzle_game .msg_box li p{
    /* position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%); */
    position: relative;
    top: 25px;
    transform: translateY(-40%);
    color: #fff;
    text-transform: uppercase;
}

#puzzle_game .all{
    color: #fff;
    position: absolute;
    right: 5%;
    bottom: 10%;
    cursor: pointer;
}



@media screen and (max-width: 1366px){
    #puzzle_game #que ul {
        max-height: 240px;
    }
}
@media screen and (max-width: 1280px){
    #puzzle_game #que{
        width: calc(100% - 500px);
    }
    #puzzle_game #que ul {
        max-height: 180px;
    }
    #puzzle_game #game_outer{
        width: 500px;
    }

    #puzzle_game .pw1000{
        width: 90%;
    }
}
@media screen and (max-width: 1023px){
    #puzzle_game #que{
        width: 100%;
        padding-left: 0;
        margin-bottom: 50px;
        order: 1;
    }
    #puzzle_game #game_outer{
        margin: auto;
        width: 80%;
        order: 2;
    }
}
@media screen and (max-width: 768px){
    #puzzle_game #game_outer{
        width: 100%;
    }
}