body,
html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: #333333;
    background: #212121;
    font-family: '微軟正黑體', 'Trebuchet MS', 'Lucida Sans Unicode';
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body:not(.user-is-tabbing) button:focus {
    outline: none !important;
}

img {
    width: 100%;
    max-width: 100%;
}

a,
a:hover,
button {
    cursor: pointer;
    text-decoration: none !important;
    transition: .25s ease-in-out;
    -webkit-transition: .25s ease-in-out;
}

.container {
    width: 420px;
    height: 130vh;
    margin: 0 auto;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    left: calc(50% - 210px);
    width: 420px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* background: #0b0a1a; */
    background: #ffffff;
    padding: 0 .5rem;
    z-index: 9;
}

h1.logo {
    text-align: center;
    margin: 0;
    padding: .5rem 0;
    font-size: 1.75rem;
}

h1.logo a {
    color: #333333;
}

h1.logo img {
    max-width: 120px;
}

header nav a {
    display: inline-block;
    margin-left: 5px;
    width: 99px;
}

.banner {
    width: 100%;
    position: relative;
    padding-top: 4rem;
    overflow: hidden;
    background: #ffffff;
}

.banner::before {
    display: block;
    content: '';
    width: 99%;
    height: 10px;
    margin: 0 auto;
    border-radius: 10px 10px 0 0;
    background: linear-gradient(0deg, rgba(226, 226, 226, 1) 0%, rgba(244, 244, 244, 1) 50%, rgba(226, 226, 226, 1) 100%);
}

.banner::after {
    display: block;
    content: '';
    width: 99%;
    height: 10px;
    margin: 0 auto;
    border-radius: 0 0 10px 10px;
    background: linear-gradient(0deg, rgba(226, 226, 226, 1) 0%, rgba(244, 244, 244, 1) 50%, rgba(226, 226, 226, 1) 100%);
}

.slick-dotted.slick-slider {
    margin-bottom: 0 !important;
}

.banner .slick-dots {
    bottom: 10px !important;
}

/* 輪播小圓顏色 16bcf4 ffcc00*/ 
.slick-dots li.slick-active button:before {
    color: #16bcf4 !important;
}

.banner .slick-dots li button:before {
    color: #16bcf4;
    content: '●' !important;
    font-size: 24px !important;
}


.marquee {
    width: 100%;
    padding: 5px;
    background: url(../up_img/1.jpg) 5px 11px no-repeat #ffffff;
    background-size: 28px;
}

.marquee marquee {
    margin: 0 0 0 24px;
    color: #ff0000;
}

.marquee marquee a {
    color: #333333;
}

.gameTabs {
    display: grid;
    grid-template-columns: 5rem 1fr;
    padding: 1rem .35rem 1rem .35rem;
    background-size: contain;
    background: #eff1fe;
}

.menuTab .menu {
    width: 100%;
    padding: .6rem 0;
    border-radius: 9px;
    color: #000000;
    margin-bottom: .5rem;
    text-align: center;
    background-image: url(../up_img/5.jpg);
    background-size: cover;
    box-shadow: 1px 1px 4px 0px rgba(35, 40, 58, 0.4);
    border: 1px solid #e0dbda;
    cursor: pointer;
}

.menuTab .menu.active {
    font-weight: bold;
    background-image: url(../up_img/5.jpg);
    color: #ff0000;
}

.menuTab .menu img {
    position: relative;
    top: 4px;
    width: 20px;
    margin-right: 3px;
}

.gameContent {
    padding: 0 .5rem;
}

.gameContent img {
    box-shadow: 1px 1px 4px 0px rgba(0, 0, 0, 0.4);
    border-radius: 4px;
}

.contact {
    display: grid;
    grid-template-columns: 1fr 120px;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: calc(50% - 210px);
    width: 420px;
    background: #9b9794eb;
    padding: .75rem;
    z-index: 9;
}

.contact p {
    color: #ff0000;
    margin: 0;
    font-size: 1rem;
}

.contact span {
    color: #df0000;
    font-weight: bold;
}

.btn-copy {
    background: url(../up_img/6.png) top center no-repeat;
    width: 87px;
    height: 43px;
    border: none;
}

.bottomImg {
    background: #eff1fe;
    padding: .25rem 1rem 5rem 1rem;
}

@media (max-width: 1024px) {
    body,
    html {
        height: 100vh;
        font-size: 16px;
        background: #ffffff;
    }
    header {
        width: 100%;
        left: 0;
    }
    h1.logo {
        padding: .25rem 0;
    }
    .marquee {
        background: url(../up_img/1.jpg) 5px 7px no-repeat #ffffff;
    }
    .container {
        width: 100%;
        height: 120vh;
        background-size: cover !important;
    }
    .gameTabs {
        grid-template-columns: 4rem 1fr;
        padding: .5rem .5rem .75rem .5rem;
    }
    .menuTab .menu {
        padding: .65rem 0;
    }
    .contact {
        width: 100%;
        left: 0;
        grid-template-columns: 1fr 85px;
    }
    .contact p {
        font-size: .85rem;
    }
    .btn-copy {
        padding: .4rem 0;
        font-size: .9rem;
    }
    .menuTab .menu img {
        top: 3px;
        width: 18px;
        margin: 0 2px;
    }
    .banner .slick-dots li button:before {
        font-size: 18px !important;
    }
}

@media (max-width: 420px) {
    .container {
        height: inherit;
    }
    .banner::before,
    .banner::after {
        height: 7px;
    }
}