@charset "utf-8";
/* CSS Document */
body {
    margin: 0;
    padding: 0;
    font-family: "微軟正黑體",arial;
    height: 100vh;
    background-size: cover;
    background-color: #3e012b;
}

* {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.logo {
    background-image: url("../images/qylogo.png");
    width: 144px;
    height: 36px;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left: 20px;
    top: 16px;
}

.main {
    background-size: cover;
    background-image: url(../i3.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    position: relative;
    height: 100%
}


.sub {
    position: absolute;
    top: 67.5vh;
    width: 100%;
    max-height: 50%;
}

.card {
    display: table;
    margin: 0 auto;
    position: relative;
}

    .card:hover, .card:active {
        filter: brightness(1.1);
        -webkit-filter: brightness(1.1);
    }

.card_img {
    width: auto;
    height: 56.522vw;
    display: block;
    margin: 0 auto;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    cursor: pointer;
}

    .card_img.open {
        animation: openPoker 0.8s ease;
        -webkit-animation: openPoker 0.8s ease;
    }

/*直式翻牌*/
@keyframes openPoker {
    0% {
        transform: scale(1,1);
    }

    50% {
        transform: scale(0,1);
    }

    100% {
        transform: scale(1,1);
    }
}

@-webkit-keyframes openPoker {
    0% {
        -webkit-transform: scale(1,1);
    }

    50% {
        -webkit-transform: scale(0,1);
    }

    100% {
        -webkit-transform: scale(1,1);
    }
}

.card_btn {
    width: 17.15vw;
    height: 7.49vw;
    line-height: 7.49vw;
    color: #154466;
    border-radius: 50px;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    background: repeating-linear-gradient( 120deg,#fff8c1 0%,#f5e8b1 60%,#872c00 100%);
    border: 1px solid #ffe698;
    font-size: 5.55555vw;
    font-weight: bold;
    cursor: pointer;
}

.sub_title {
    font-size: 9.66184vw;
    text-align: center;
    font-weight: 700;
    color: #FFF;
    width: 100%;
    margin: 2vw auto 0;
    word-wrap: break-word;
}

.btn_box {
    width: 96.82vw;
    display: table;
    margin: 25vw auto 0%;
}

.btn1, .btn2, .btn1 a, .btn2 a, .btn1 a:hover, .btn2 a:hover, .btn1 a:active, .btn2 a:active {
    width: 41.548vw;
    height: 14.33vw;
    margin: 0 auto;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    display: block;
}

    .btn1 a, .btn2 a {
        color: #fff;
        text-align: center;
        text-decoration: none;
        line-height: 14.33vw;
        font-size: 4.831vw;
    }

.btn1 {
    float: right;
    background-image: url(../images/bt01.png);
}

.btn2 {
    background-image: url(../images/bt02.png);
    float: left;
}

.btn1 a:hover, .btn1 a:active {
    background-image: url(../images/bt01.png);
    background-position: center bottom;
}

.btn2 a:hover, .btn2 a:active {
    background-image: url(../images/bt02.png);
    background-position: center bottom;
}

@media(min-width:768px) {
    .logo {
        width: 222px;
        height: 61px;
        left: 38px;
        top: 30px;
    }

    .main {
        background-image: url(../i2.jpg);
        background-size: auto 100% !important;
    }

    .sub {
        top: 56vh;
    }

    .card_img {
        width: auto;
        height: 273px;
    }

    .card_btn {
        width: 96px;
        height: 45px;
        line-height: 45px;
        font-size: 27px;
    }

    .sub_title {
        font-size: 60px;
        margin: 0 auto;
    }

    .btn_box {
        width: 0;
        margin: 200px auto 0%;
    }

    .btn1, .btn2, .btn1 a, .btn2 a, .btn1 a:hover, .btn2 a:hover, .btn1 a:active, .btn2 a:active {
        width: 261px;
        height: 90px;
    }

        .btn1 a, .btn2 a {
            line-height: 90px;
            font-size: 28px;
        }
}
