/*---- footer ----*/
@import url('https://ids.iwplay.com.tw/includ/footer/footer.css');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.7.0/font/bootstrap-icons.css");

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;700&family=Noto+Serif+TC:wght@300;400;500;700&display=swap');

*,
*:after,
*:before {
    box-sizing: border-box;
    text-decoration: none;
    outline: none;
}

ol,
ul {
    padding-left: 0;
}

html,
body {
    position: relative;
    font-family: 'Noto Sans TC', sans-serif;
    margin: 0 auto;
    width: 100%;
    font-size: 16px;
    background-color: #5b525a;
}

ul li {
    list-style: none;
}

a:hover,
a:focus {
    text-decoration: none;
    outline: none;
}



.mainarea {
    background: url(../images/bg_top01.jpg) no-repeat center top;
    background-size: cover;
    overflow: hidden;
    position: relative;
    max-width: 1920px;
    margin: 0 auto;
}

.scene {
    top: 0px;
    left: 0px;
    position: absolute;
}



.event1 {
    background: url(../images/bg_event1.png)no-repeat center top;
    position: relative;
}

.event2 {
    background: url(../images/bg_event2.png)no-repeat center top;
    position: relative;
}

.event3 {
    background: url(../images/bg_event3.png)no-repeat center top;
    position: relative;
}

.event4 {
    background: url(../images/bg_event4.png)no-repeat center top;
    position: relative;
}

section.event1,
section.event2,
section.event3,
section.event4 {
    position: relative;
    margin: 0 auto;
    margin-top: -140px;
    padding: 140px 0;
    max-width: 1920px;
}

.event3 .container,
.event4 .container {
    position: relative;
}

section p {
    max-width: 668px;
    margin: 10px auto;
    font-size: 18px;
    font-style: italic;
    color: #616968;
    font-weight: 500;
    margin-bottom: 0;
    z-index: 2;
}


.sideboxpc {
    position: fixed;
    top: 15%;
    right: 0;
    margin: 10px;
    z-index: 6;
    animation: neon2 1.5s ease-in-out infinite alternate;
}

.sideboxm {
    display: none;
}


@keyframes neon2 {
    from {
        filter: drop-shadow(0 0 20px #b9ff7b);
    }

    to {
        filter: drop-shadow (0 0 0px #fff);
    }
}




.event2 p,
.event3 p,
.event4 p {
    color: #fff;
    text-shadow: -1px 1px 8px #4e4e4e, 1px -1px 8px #9f9f9f;

}


.tt_title,
.tt_titlem {
    margin-top: 10px;
}

.tt_herom,
.tt_titlem,
.shopm {
    display: none;
}

/*---- header ----*/

.logo {
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    margin: 20px;
}

.social-media {
    position: absolute;
    top: 0;
    right: 0;
    margin: 20px;
    z-index: 5;
}

.social-media ul li {
    list-style: none;
    display: inline;
}


.social-media ul li a {
    font-size: 26px;
    border-radius: 50%;
    margin-right: 30px;
    color: #000;
    text-decoration: underline;
}

.social-media ul li a:hover {
    transition: .5s;
    filter: brightness(1.2);
}

/* role */
.sec_bg1 {
    position: relative;
    max-width: 1920px;
    pointer-events: none;
}

.sec_bg2 {
    position: relative;
    max-width: 1920px;
    pointer-events: none;
}

.sec_role1 {
    position: absolute;
    top: -160px;
    right: 0px;
    animation: slow-float infinite 2s ease-in-out;
}


.sec_role2 {
    position: absolute;
    top: -160px;
    left: 0px;
    animation: slow-float infinite 2s ease-in-out;
}

@keyframes slow-float {

    0% {
        transform: translate3d(0, 0px, 0);
    }

    50% {
        transform: translate3d(0, 10px, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

.run {
    animation: slowfloat 1s ease-out 0s 1 both;
}




/* video  */
.video .video-image {
    max-width: 768px;
    margin: 1rem auto;
    position: relative;
}

.event3 .nav {
    justify-content: center;
}

.nav-pills {
    text-align: center;
}

.nav-pills a {
    text-decoration: none;
    transition: .3s ease;
    display: inline-block;
    width: 78px;
    height: 58px;
}

.nav-pills li.nav-item {
    padding: 0px 3rem;
}

figure::after {
    content: '';
    background: url(../images/video_ov.png) center center no-repeat;
    box-sizing: border-box;
    background-size: contain;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;

}

.video01 {
    background: url(../images/video01.png) center top no-repeat;
}

.video01.active,
.video01:hover {
    background: url(../images/video01p.png) center top no-repeat;
}

.video02 {
    background: url(../images/video02.png) center top no-repeat;
}

.video02.active,
.video02:hover {
    background: url(../images/video02p.png) center top no-repeat;
}

.video03 {
    background: url(../images/video03.png) center top no-repeat;
}

.video03.active,
.video03:hover {
    background: url(../images/video03p.png) center top no-repeat;
}

.tab-content {
    position: relative;
}

.video .video-image figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    text-align: center;
}

.video .video-image figure img {
    -webkit-transition: 0.3s ease;
    -o-transition: 0.3s ease;
    transition: 0.3s ease;
}

.video .video-image figure:hover img {
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
}


.video .video-image figure figcaption {
    position: absolute;
    width: 100%;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    text-align: center;
}


.ts1 {
    background: url(../images/ts1.png) center center no-repeat;
    box-sizing: border-box;
    background-size: contain;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    animation: down01 .5s ease-out 0s 1 both;

}

.ts2 {
    background: url(../images/ts2.png) center center no-repeat;
    box-sizing: border-box;
    background-size: contain;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    animation: down01 .5s ease-out 0s 1 both;
}

.ts3 {
    background: url(../images/ts3.png) center center no-repeat;
    box-sizing: border-box;
    background-size: contain;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    animation: down01 .5s ease-out 0s 1 both;
}

@keyframes down01 {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0px);
    }
}

.lity {
    background: rgba(0, 0, 0, 0.7);
}


.lity-close {
    width: 60px;
    height: 60px;
    font-size: 60px;
    color: #FCFF20;
}

.lity-close:hover,
.lity-close:focus,
.lity-close:active,
.lity-close:visited {
    font-size: 60px;
}



/*---- play ----*/
.play {
    position: absolute;
    width: 88px;
    height: 88px;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    cursor: pointer;

}

.play .video-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url(../images/video.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    z-index: 2;
}

.video-btn {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url(../images/video_bg.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    -webkit-transition: all linear .3s;
    -moz-transition: all linear .3s;
    -ms-transition: all linear .3s;
    -o-transition: all linear .3s;
    transition: all linear .3s;
}

.video-image a:hover .video-btn {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}



.carousel-indicators {
    z-index: 1;
    margin-bottom: -1rem;
}

.carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    margin-right: 6px;
    margin-left: 6px;
}



.carousel-item {
    text-align: center;
    transition: transform 0s ease-in-out;
}

.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
    transition: opacity 0s 0s;
}


.carousel-control-prev-icon {
    background-image: url(../images/ev1_prev.png);
}

.carousel-control-next-icon {
    background-image: url(../images/ev1_next.png);
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    width: 57px;
    height: 80px;
}


.flip {
    animation: flipInX 8s ease-out 0s 10 both;
}


@-webkit-keyframes flipInX {
    0% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 0deg);
        transform: perspective(400px) rotate3d(1, 0, 0, 0deg);

        opacity: 1;
    }

    12% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -2deg);
        transform: perspective(400px) rotate3d(1, 0, 0, -2deg);
        -webkit-transition-timing-function: ease-in;
        transition-timing-function: ease-in;
    }

    25% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 0deg);
        transform: perspective(400px) rotate3d(1, 0, 0, 0deg);
        opacity: 1;

    }

    37% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -2deg);
        transform: perspective(400px) rotate3d(1, 0, 0, -2deg);
        -webkit-transition-timing-function: ease-in;
        transition-timing-function: ease-in;
    }

    50% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 0deg);
        transform: perspective(400px) rotate3d(1, 0, 0, 0deg);
    }

    100% {
        -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 0deg);
        transform: perspective(400px) rotate3d(1, 0, 0, 0deg);
    }
}


/* Float */
.hvr-float {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

.hvr-float:hover,
.hvr-float:focus,
.hvr-float:active {
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px);
}



.mouse {
    width: 25px;
    height: 40px;
    border-radius: 13px;
    border: 2px solid #fff;
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mouse::before {
    content: "";
    width: 3px;
    height: 5px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translate(-50%, 0);
    animation: scrollDown 1.2s ease-in-out;
    animation-iteration-count: infinite;
}

.mouse__arrow {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    width: 2px;
    height: 2px;
    animation: fading 1.2s ease;
    animation-iteration-count: infinite;
}

.mouse__arrow:last-child {
    width: 0;
    height: 0;
    background-color: transparent;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 3px solid #fff;
}

.mouse__arrow:nth-child(1) {
    animation-delay: 0s;
    bottom: -8px;
}

.mouse__arrow:nth-child(2) {
    animation-delay: 0.4s;
    bottom: -14px;
}

.mouse__arrow:nth-child(3) {
    animation-delay: 0.8s;
    bottom: -20px;
}

@keyframes scrollDown {
    0% {
        transform: translate(-50%, 0);
    }

    70%,
    90% {
        transform: translate(-50%, 100%);
    }

    100% {
        transform: translate(-50%, 0);
    }
}

@keyframes fading {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}

.fly2 {
    animation: fly2 3s ease-in-out infinite;
}

@keyframes fly2 {
    0% {
        transform: translate(0, 0);
        filter: drop-shadow(1px 1px 20px rgba(255, 255, 255, .9));
    }

    50% {
        transform: translate(0, 10px);
        filter: drop-shadow(1px 1px 20px rgba(255, 255, 255, .2));
    }

    100% {
        transform: translate(0, 0);
        filter: drop-shadow(1px 1px 20px rgba(255, 255, 255, .9));
    }
}



/*---- footer ----*/

footer {
    color: #fff;
    background: #000;
}

footer p,
footer ul,
footer li {
    opacity: 1;
}

footer .company {
    margin-right: 5px;
}

@media only screen and (min-width:1400px)and (max-width:1700px) {


    .sec_role1 {
        position: absolute;
        top: -136px;
        right: 0px;
    }

    .sec_role2 {
        position: absolute;
        top: -146px;
        left: 0px;
        width: 30%;
    }

}


@media only screen and (max-width:1399.98px) {

    .sec_role1,
    .sec_role2 {
        display: none;
    }


}


@media only screen and (max-width:1199.98px) {
    .logo {
        margin: 10px;
        max-width: 220px;
    }

    footer ul {
        padding: 0;
    }

}

@media only screen and (max-width:991.98px) {
    .social-media ul li a {
        display: block;
        margin-right: 0px;
        margin-bottom: 15px;
    }

    .mouse {
        bottom: 1%;
    }


}

@media only screen and (max-width:767.98px) {

    .sideboxpc {
        display: none;
    }


    .sideboxm {
        display: block;
        position: fixed;
        width: 35%;
        bottom: 0;
        right: 0;
        margin: 10px;
        z-index: 6;
    }
}





@media only screen and (max-width:575.98px) {
    .logo {
        max-width: 200px;
    }

    .mainarea {
        background: url(../images/bg_topm.jpg) no-repeat center top;
        background-size: cover;
        overflow: hidden;
        position: relative;
    }

    .event2 {
        background: url(../images/bg_event2m.png)no-repeat center top;
        position: relative;
        background-size: cover;
        overflow: hidden;
    }

    .scene,
    .tt_hero,
    .tt_title,
    .shop {
        display: none;
    }

    .tt_herom,
    .tt_titlem,
    .shopm {
        display: block;
    }

    #banner1 {
        margin-bottom: 5rem;
    }


    .nav-pills li.nav-item {
        padding: 0px 1rem;
    }

}
