﻿body {
    background-color: #5c5cbc;
}

img {
    max-width: 100%;
    display: block;
}
.text-keypoint{
    color: #ffff00;
}
@keyframes scaleDraw { /*定義關鍵幀、scaleDrew是需要繫結到選擇器的關鍵幀名稱*/
    0% {
        transform: scale(1); /*開始為原始大小*/
    }

    25% {
        transform: scale(1.1); /*放大1.1倍*/
    }

    50% {
        transform: scale(1);
    }

    75% {
        transform: scale(1.1);
    }
}

.zoom-animation {
    -webkit-animation: scaleDraw 5s ease-in-out infinite;
}

.fire-work-area {
    display: flex;
    position: absolute;
    top: 5%;
    width: 100%;
    justify-content: space-between;
}


    .fire-work-area .fire-work:nth-child(2) {
        animation-delay: -0.4s;
    }

@keyframes fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fire-work {
    -webkit-animation: fade 2s linear 0s infinite;
}



header {
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 2vw;
    color: #FFF;
    padding: 0;
    margin: 0;
}

    .logo img {
        width: 171px;
    }

.kv {
    position: relative;
    background-color: #41418d;
}

.kv-banner {
    height: 100%;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
}

.banner-group {
    position: relative;
}

.bounce {
    animation: bounce 1.5s ease infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-30px);
    }

    60% {
        transform: translateY(-15px);
    }
}

.banner .banner-item {
    display: flex;
    align-items: flex-end;
}

    .banner .banner-item:first-child {
        width: 32%;
    }

    .banner .banner-item:last-child {
        width: 54%;
    }

.banner-dog {
    height: 115px;
    position: relative;
    left: -11px;
}

nav.navbar {
    background-color: #41418d;
    position: sticky;
    top: 0;
    z-index: 2;
    display: block;
}


nav ul {
    display: flex;
    justify-content: center;
    padding: 10px;
    margin: auto;
}

nav li {
    flex: 1;
    font-size: 16px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

    nav li .nav-link {
        font-family: 'Noto Sans TC Bold';
        font-weight: bold;
        color: #fff;
        padding: 0;
    }

.nav-pills .nav-link:hover {
    color: #ffff00;
    text-decoration: none;
}

.nav-pills .nav-link.active {
    color: #ffff00;
    background-color: transparent;
    text-decoration: none;
}

nav li:not(:first-child)::before {
    content: '';
    position: absolute;
    left: 0;
    width: 2px;
    height: 100%;
    background-color: #fff;
    height: 50%;
}

.body-content {
    margin-top: 5%;
}

.content-backgroud {
    background-image: url(/imgs/NationalDay/bg.png);
    background-position: center;
    background-size: 1440px;
    background-clip: padding-box;
    background-repeat: no-repeat;
}

.main-title {
    margin: 5% auto;
}

.slogan-area {
    display: flex;
    align-items: center;
    justify-content: center;
}

.slogan {
    text-align: center;
    margin: 0 15px;
    color: #fff;
}

.slogan-area img {
    width: 6%;
}

.slogan span {
    font-size: 1.3rem;
    margin: 0;
}

.publicity-area .btn-group {
    display: flex;
    flex-direction: column;
    width: 75%;
    margin: 5% auto auto;
}

    .publicity-area .btn-group button {
        flex: 1;
        position: relative;
        background-color: transparent;
        border: none;
        display: flex;
        justify-content: center;
    }

    .publicity-area .btn-group .btn-img-box {
        border-radius: 200px;
        overflow: hidden;
        width: 90%;
    }

    .publicity-area .btn-group .btn-decorate {
        position: absolute;
        height: 100%;
        width: auto;
        aspect-ratio: 0.5 /1;
        display: flex;
        align-items: center;
    }

    .publicity-area .btn-group .smoke-card-btn .btn-decorate {
        -moz-transform: rotate(-5deg);
        -webkit-transform: rotate(-5deg);
        -o-transform: rotate(-5deg);
        -ms-transform: rotate(-5deg);
        transform: rotate(-5deg);
        left: 0;
    }

    .publicity-area .btn-group .smoke-phone-btn .btn-decorate {
        right: 0;
    }

#check-in-btn {
    position: relative;
    width: 50%;
    margin: 40px auto;
    max-width: 300px;
}

.img-button {
    display: block;
    background: unset;
    border: none;
    width: 50%;
    margin: 40px auto;
    max-width: 300px;
}

    .img-button:disabled,
    .img-button.disabled {
        opacity: .5;
        cursor: default;
        pointer-events: none;
    }

.check-in-days {
    background-color: #ffffff78;
    border-radius: 10px;
    padding: 40px;
}

    .check-in-days div[class^="col-"] {
        padding-right: 0;
        padding-left: 0;
        margin-bottom: 10px;
    }

    .check-in-days .item {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .check-in-days .item span {
            font-family: 'Noto Sans TC Bold';
            position: absolute;
            color: #fff;
            font-size: 1.3rem;
            font-weight: bold;
            letter-spacing: 4px;
            letter-spacing: 2px;
            text-shadow: 0 0 0.2em #2f5597, 0 0 0.2em #2f5597, 0 0 0.2em #2f5597, 0 0 0.2em #2f5597, 0 0 0.2em #2f5597, 0 0 0.2em #2f5597, 0 0 0.2em #2f5597, 0 0 0.2em #2f5597, 0 0 0.2em #2f5597, 0 0 0.2em #2f5597;
        }

        .check-in-days .item .already-check {
            display: none;
        }

        .check-in-days .item.active .already-check {
            display: block;
            position: absolute;
            top: 0;
        }

.product-area {
    margin-top: 30px;
}

    .product-area div[class^="col-"] {
        margin-bottom: 30px;
    }
/*商品卡片*/
.product-card {
    height: 100%;
    padding: 11px 0;
    background: #FFFFFF;
}

.card-imgBox {
    width: 100%;
    background-color: #fff;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .card-imgBox::after {
        content: '';
        padding-bottom: 100%;
    }

    .card-imgBox img {
        width: 100%;
        position: absolute;
    }

.product_height {
    height: 46px;
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    text-align: center;
    color: #666666;
    margin: 5px;
}

    .product_height > p {
        margin: 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.more-link {
    display: block;
    font-weight: 400;
    font-size: 13px;
    line-height: 140%;
    text-align: center;
    color: #FFFFFF;
    background: #C02D7E;
    border-radius: 50px;
    margin: 5px;
    padding: 8px;
}

    .more-link:hover {
        color: #fff;
        text-decoration: none;
    }

.banner-area .swiper-container {
    z-index: 0;
}

.banner-area .slick-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 15px;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

    .banner-area .slick-dots span {
        display: block;
        width: 15px;
        height: 15px;
        padding: 0;
        border: none;
        border-radius: 100%;
        background-color: #c1c1c1;
        margin: 0 0.25rem;
        opacity: unset;
    }

    .banner-area .slick-dots .swiper-pagination-bullet-active {
        background-color: #C02D7E;
    }

.banner-area .swiper-button-prev,
.banner-area .swiper-button-next {
    width: 30px;
    height: 30px;
    position: absolute;
    left: 0;
    top: 50%;
    font-size: 0;
    background-color: rgba(0, 0, 0, 0.45);
    border-width: 0;
    z-index: 1;
}

.banner-area .swiper-button-next {
    left: unset;
    right: 0;
}

    .banner-area .swiper-button-prev::after,
    .banner-area .swiper-button-next::after {
        position: absolute;
        width: 8px;
        height: 8px;
        content: "";
        display: block;
        border-top: 3px solid #fff;
        border-radius: 1.5px;
        border-left: 3px solid #fff;
        transform: rotate(-45deg);
        left: 12px;
        top: 12px;
    }

    .banner-area .swiper-button-next::after {
        transform: rotate(135deg);
    }

#roulette-btn {
    width: 60%;
    margin: auto;
    max-width: 400px;
    border-radius: 200px;
    overflow: hidden;
    margin: 40px auto;
    pointer-events: none;
}

    #roulette-btn .active {
        display: none;
    }

    #roulette-btn:disabled .active {
        display: block;
    }

    #roulette-btn:disabled .normal {
        display: none;
    }

.card-area .item {
    background-color: unset;
    border: none;
    position: relative;
}

    .card-area .item .card-shinning-bg {
        position: absolute;
        top: 0;
    }

    .card-area .item .click-effect {
        position: absolute;
        top: 0;
        z-index: 99;
    }

.activity-desc-area {
    color: #fff;
    font-size: 20px;
}

footer {
    background-color: #fff;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #5c5cbc;
    margin-top: 50px;
}

    footer p {
        font-family: 'Noto Sans TC Bold';
        font-weight: bold;
        font-size: 18px;
        line-height: 24px;
    }

.modal-content {
    color: #5c5cbd;
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 1px 1px 9px #837777eb;
    overflow: hidden;
}

.modal-header {
    border: none;
    color: #fff;
    background-color: #5c5cbd;
    align-items: center;
    font-size:20px;
}

    .modal-header .close {
        font-size: 20px;
        opacity: 1;
        color: #fff;
    }

    .modal-header h5 {
        text-align: center;
        font-family: 'Noto Sans TC Bold';
        width: 100%;
        font-size:20px;
        font-weight: bold;
        margin: 0;
    }

.modal-body {
    padding: 20px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .modal-body h5 {
        font-family: 'Noto Sans TC Bold';
        font-size: 25px;
        font-weight: bold;
    }

.modal-footer {
    display: flex;
    justify-content: center;
    border: none;
    padding: 0 20px 20px 20px;
}

.confirm-btn {
    flex: 1;
    background-color: #c02d7e;
    font-family: 'Noto Sans TC Bold';
    font-size:15px;
    font-weight: bold;
}

.cancel-btn {
    flex: 1;
    background-color: #5c5cbd;
    font-family: 'Noto Sans TC Bold';
    font-weight: bold;
}

.select-group {
    margin-bottom: 1rem;
    display: flex;
}

    .select-group select {
        flex: 1;
    }

        .select-group select:first-child {
            margin-right: 5px;
        }

.popup_content {
    margin: 10px auto;
    display: block;
    font-size: 15px;
    color: #5c5cbd;
}
.modal .award{
    font-size:25px;
}

.model-hint .popup_content {
    text-align: center;
    margin: 0;
    font-size: 16px;
}

textarea {
    resize: none;
}

.model-hint .popup_content.remark {
    font-size: 14px;
}

@media screen and (max-width: 415px) {
    nav li {
        font-size: 14px;
    }
}

@media screen and (min-width: 478px) {
    .check-in-days .item span {
        font-size: 2rem;
    }
}

@media screen and (max-width: 575.9px) {
    .modal-content-border {
        width: 75%;
        margin: auto;
    }
}
@media screen and (min-width: 576px) {
    .modal-content-border{
        width:100%;
    }
}

@media screen and (min-width: 580px) {
    .main-title {
        width: 60%;
    }
}

@media screen and (min-width: 768px) {
    .slogan span {
        font-size: 23px;
    }

    .check-in-days .item span {
        font-size: 3rem;
    }
}

@media screen and (max-width: 991.9px) {
    .banner {
        display: flex;
        flex-direction: column;
        height: 100%;
        justify-content: end;
        position: relative;
        z-index: 1;
    }

    .banner-title {
        width:80%;
        margin:0 auto 40px;
    }

    .banner-group {
        display: flex;
        justify-content: space-between;
        padding: 0 10px;
    }

    .banner-dog {
        height: 40%;
    }
    .banner .banner-item:first-child{
        position:relative;
        z-index:1;
    }
    .banner .banner-item:last-child {
        justify-content: end;
    }

    .publicity-area .btn-group button + button {
        margin-top: 20px;
    }
}

@media screen and (min-width: 992px) {
    header {
        flex-direction: column;
    }

        header .logo {
            align-self: flex-start;
        }

        header .sharp-logo {
            align-self: flex-end;
        }


    .fire-work-area img {
        flex: 1;
        max-width: 390px;
    }

    .banner {
        height: 100%;
    }


        .banner .banner-item {
            position: absolute;
            bottom: 0;
        }

            .banner .banner-item:first-child {
                width: 16%;
                left: 0;
            }

            .banner .banner-item:last-child {
                width: 23%;
                right: 0;
            }

    .banner-group {
        height: 100%;
    }

    .banner-dog {
        height: 115px;
        position: relative;
        left: -11px;
    }

    .banner-title {
        position: absolute;
        width: 83%;
        margin: auto;
        bottom: 26%;
        left: 0;
        right: 0;
    }

        .banner-title .sub-title {
            width: 55%;
        }

        .banner-title .banner-activity-date {
            width: 35%;
        }

    nav ul {
        padding: 15px;
        width: 75%;
    }

    .slogan span {
        display: block;
        font-size: 30px;
    }

    .publicity-area .btn-group {
        flex-direction: row;
        width: 80%;
    }
}

@media screen and (min-width: 1200px) {
    .container, .container-sm, .container-md, .container-lg, .container-xl {
        max-width: 1200px;
    }

    .container-fluid {
        max-width: 1440px;
    }

    .col-xl-2_5 {
        flex: 0 0 20%;
        max-width: 20%;
    }

    nav ul {
        padding: 15px;
        width: 55%;
    }

    .check-in-days .item span {
        font-size: 3.5rem;
    }

    .check-in-days {
        padding: 30px;
    }

    .banner-title {
        width: 71%;
    }
}
