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

/*=============== BASE ===============*/

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    scrollbar-width: thin;
  }
  html {
    scroll-behavior: smooth;
  }

body {
    width:100%;
    margin:0 auto;
    padding:0;
    font-family: "Poppins","Noto Sans TC","Noto Sans SC",Helvetica,Arial,"Microsoft JhengHei",sans-serif;
    font-weight: 500;
    font-style: normal;
}


h1, h2 {
    font-family: "amandine", sans-serif;
    font-weight: 400;
    font-style: normal;
}

h5, h6 {
    font-weight: 400;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    letter-spacing:0.05em;
}

img,
video {
    max-width: 100%;
    height: auto;
}

button {
    background-color:transparent;
    display:flex;
    align-items: center;
    border:0;
    cursor:pointer;
}

.desktop {
    display:block;
}
.mobile {
    display:none;
}

.zh-sans {
    font-family: "Noto Sans TC", sans-serif;
}

.cn-sans {
    font-family: "Poppins","Noto Sans TC","Noto Sans SC",Helvetica,Arial,"Microsoft JhengHei",sans-serif;
}



/* header */ 

header {
    position: fixed;
    width: 100%;
    z-index:1;
    background:linear-gradient(180deg, rgba(43, 61, 67, 0.8), transparent);
    transition:0.5s all;
}

header.noshow{
    
    display:none;
}


header.header_page{
    background:linear-gradient(180deg, rgba(43, 61, 67, 0.5), transparent);
}

header.active{
   /* background:linear-gradient(180deg, rgba(43, 61, 67, 1) 10%, transparent);*/
   background: linear-gradient(180deg, rgba(43, 61, 67, 0.95) 10%, rgba(43, 61, 67, 0.8) 50%);
   box-shadow: 2px 1px 8px #000;
}


.nav{
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 0 4%;
    transition:all 0.5s ease-in;
}

header.active .nav{
        backdrop-filter: blur(5px);
}

.nav-content{
    margin-top:1.5rem;
}

.languagebar {
    display:flex;
}

.languagebar li{
    padding:0 15px;
}

.languagebar li a{
    color:#fff;
}

.logo_wp{
    padding-top:1.5rem;
    padding-bottom:1rem;
    
}

.logo_wp img{
    width:15%;
    transition:all 1.2s ease-in-out;
}

.logo_wp.page img{
    width:22%;
}

.active .logo_wp img{
    width:12%;
}

/* ====== landing page rota cover ====== */
.landscapeCover.tablet{
    display:none;
}

/* ===== main wrapper ===== */

.main-wrapper {
    width: 100%;
    min-height: 100vh;
    height: auto;
    background-color:#000;
}

.opening-modal {
    width: 100%;
    height: 100vh;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index:1001;
}

.disclaimerbox {
    width: 100%;
    max-width: 1000px;
    background-color: #182C33;
    height: 65vh;
    padding:4rem 3rem;
    padding-top:9rem;
}

.disclaimerbox .projectlogo {
    width:calc(100% - 6rem);
    position:absolute;
    text-align: center;
    top:2rem;
}

.disclaimerbox .projectlogo img{
    width:150px;
}

.disclaimerbox p{
    width:100%;
    height:80%;
    font-size:0.825rem;
    line-height:1.8;
    color:#fff;
    text-align: justify;
}

.disclaimerbox p.zh-sans{
    font-family: "Noto Sans TC", sans-serif;
    font-weight:300;
}

.disclaimerbox h2{
    color:#CEAF70;
    margin-bottom: 1rem;
}

.disclaimerbox .close {
    margin-top:2rem;
    float:right;
}

.disclaimerbox .close button span{
    text-transform: uppercase;
    color: #CEAF70;
    padding-left: 5px;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    font-family:"Poppins";
   
}

.disclaimerbox .close button span.cn-sans {
    font-family:"Noto Sans SC", sans-serif;
}

/* ===== Animation ======== */
.v-container{
    width:100%;
    height:100vh;
    overflow:hidden;
}

.v-container .animation_wp{
    width:100%;
    height:100%;
    position:relative;
    overflow:hidden;
}

.v-container .animation_wp video{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-container {
    position:absolute;
    width:100%;
    bottom:13%;
    
}

.text-container.noshow{
    display:none;
}

.text-container .position_txt {
    text-align: center;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: 0.9rem;
    margin-bottom: 0.5rem;
    font-family: "Poppins", sans-serif;
}

.text-container .position_txt sup img{
    width: 15px;
    transform: translateX(-10px);
}

.text-container .position_txt.cn-sans{
    font-family:"Noto Sans SC", sans-serif;
}

.text-container h3{
    text-align: center;
    color:#CEAF70;
    font-size:1.4rem;
    font-weight:normal;
    letter-spacing:0.1em;
    text-transform: uppercase;
    font-family: "Poppins", sans-serif;
    font-weight: 300;

}
.text-container h3.tc{
    font-family: "Noto Sans TC", sans-serif;
    letter-spacing: 0.3em;
}
.text-container h3.cn-sans{
    font-family:"Noto Sans SC", sans-serif;
    letter-spacing: 0.3em;
}

.disclaimer_btn {
    position:absolute;
    left:4%;
    bottom:3%;
    display:flex;
    align-items: center;
    cursor: pointer;
}

.disclaimer_btn .dot{
    width:6px;
    height:6px;
    border-radius: 50%;
    background-color: #fff;
    margin-right:5px;
}

.disclaimer_btn h6{
    color:#fff;
}

.pop {
    position: absolute;
    bottom: 4em;
    width: 300px;
    left: 4%;
    background-color:rgba(7, 34, 42, 0.8);
    opacity:1;
    transition:0.5s ease-in-out;
} 

.pop.noshow{
    opacity:0;
}

.pop p {
    color:#fff;
    font-size:0.675em;
    padding:10px;
    text-align:justify;
}

.pop p img.icon{
    width:10px;
}

/* ====== copyright =====*/ 
.main-wrapper.page {
    background-color: #CBCBCB;
}

.page .page_container {
    position: relative;
    width: 100%;
    padding: 5rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page .page_container h2{
    font-size: 2.2em;
    color: #716763;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}

.text_contents_wp {
    width: 100%;
    max-width: 960px;
    padding: 1.5rem;
    font-size: 1em;
    line-height: 1.5;
    color:#555;
}

.text_contents_wp p{
    margin-bottom:1rem;
}

.text_contents_wp p a{
    color:#c1ab9a;
}

.text_contents_wp ul.txt_ul_Num{
    list-style: auto;
    padding-left: 20px;
}

.text_contents_wp ul li{
    margin-bottom:0.5rem;
}

.text_contents_wp .txt_ul {
    padding:5px 15px;
}

/* ====== footer ======= */

.pop-footer-dis {
    position:fixed;
    z-index:1000;
    width:100%;
    height:100%;
    top:0;
    left:0;
    background-color:rgba(0,0,0, 0.8);
    display:flex;
    justify-content: center;
    align-items: center;
    overflow:hidden;
}

.pop-footer-dis.noshow{
    display:none;
}

.pop-footer-dis .disclaimerbox{
    position:relative;
    padding:5.5rem 6.5rem;
}

.pop-footer-dis .disclaimerbox .closeBtn {
    position:absolute;
    top:-35px;
    right:-35px;
}
.pop-footer-dis .disclaimerbox p{
    height:100%;
}

.text_contents_wp.p-content {
    height: calc(100% - 5rem);
    color: #fff;
    font-size: 0.825rem;
    padding:0;
    text-align: justify;
}



#masterfooter .row{
    padding: 0 5%;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column-reverse;
    gap: 1.5rem;
}


.left-wrap {
    width:70%;
    color:#777;
    text-align: center;
}

.hotlineInfo h5{
    font-size:0.89rem;
    line-height:1.8;
    margin-bottom:1rem;
}

.hotlineInfo p{
    font-size:0.78rem;
    line-height:1.5;
    margin-bottom: 1rem;
    letter-spacing:0.05em;
}

.hotlineInfo .footer_btn_wp{
    display:flex;
    justify-content: center;
    align-items:center;
    margin-bottom: 1rem;
}

.hotlineInfo .footer_btn_wp li{
    font-size:0.89em;
    padding:5px 5px;
}

.footer_btn {
    cursor:pointer;
}

.footer_btn a{
    color:#777;
}

.policy-Btn-container{
    display:flex;
    flex-direction: column;
}

.policy-Btn-container li{
    display:flex;
    padding-right:20px;
    justify-content: center;
}

.policy-Btn-container li h5{
    margin-bottom:0;
}

@media screen and (min-width:1024px) and (orientation: landscape){
    .disclaimerbox{
        width:90%;
        height:75vh;  
    }
    .logo_wp {
        padding-top:1rem;
    }
    .nav-content{
        margin-top:2rem;
    }
}

@media screen and (min-width:1024px) and (orientation: portrait){
    .landscapeCover.tablet{
        display:block;
        position:fixed;
        top:0;
        left:0;
        width:100%;
        height:100dvh;
        overflow:hidden;
        background-color:#182C33;
        z-index:10001;
    }
    .landscapeCover.tablet .rotate-wp{
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .landscapeCover.tablet .rotate-wp img{
        max-width:100px;
    }
    .landscapeCover.tablet .rotate-wp h5{
        color:#fff;
        margin-top:1rem;
        font-size:1rem;
    }
}

@media screen and (min-width:640px) and (orientation: portrait){
    .tablet{
        display:block;
    }
    .desktop {
        display:none;
    }
    .mobile {
        display:none;
    }

    .disclaimerbox{
        width:90%;
        height:85vh;  
    }

    .disclaimerbox p{
        height:85%;
    }

    .logo_wp{
        padding-top:0.8rem;
        padding-bottom:0.5rem;
    }

    .logo_wp img {
        width:25%;
    }

    .active .logo_wp img {
        width:18%;
    }
    .nav-content {
        margin-top:0;
    }

    .nav-content .languagebar {
        align-items: center;
        height: 100%;
    }

    .text-container{
        bottom:10%;
    }

    footer .left-wrap{
        width:90%;
    }

}


/* ====== Mobile ========*/

@media screen and (max-width:445px){
    .desktop {
        display:none;
    }
    .mobile {
        display:block;
    }
    .landscapeCover.tablet{
    display:none;
    }
    .opening-modal{
        height:100%;
    }
    .disclaimerbox{
        width:90%;
        height:80vh;
        padding:2rem;
        padding-top:6.5rem;
    }

    .disclaimerbox .projectlogo{
        width:calc(100% - 4rem);
    }

    .disclaimerbox .projectlogo img{
        width:40%;
    }

    .pop-footer-dis .disclaimerbox{
        width: 95%;
        padding: 3.5rem 8%;
    }

    .disclaimerbox h2{
        font-size:1rem;
        letter-spacing: 0.05em;
    }

    .disclaimerbox p{
        font-size:0.725rem;
        height:75%;
    }

    .disclaimerbox .close {
        margin-top:1.5rem;
    }

    .pop-footer-dis .disclaimerbox .closeBtn {
        top:15px;
        right:15px;
        width: 28px;
        height: 28px;
        padding: 5px;
    }

    /* ==== header ==== */
    .logo_wp img {
        width:45%;
    }

    .logo_wp.page img {
        width:45%;
    }

     .active .logo_wp {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        transition:all 0.3s ease-in;
     }

    .active .logo_wp img{
        width:35%;
    }

    .languagebar li {
        padding: 0 10px;
    }

    /* ==== landing ==== */
    .v-container {
        position:absolute;
        width:100%;
        height:100vh;
        
    }

    .text-container {
        bottom:14%;
    }

    .text-container .position_txt{
        font-size: 0.9rem;
        padding: 0 5%;
        margin-bottom: 0.5rem;
        letter-spacing:0.5rem;
        padding-left:8%;
    }

    .text-container h3 {
        font-size:0.9rem;
    }

    .pop{
        width:calc(100% - 8%);
        bottom:3.5em;
    }

    .text-container .position_txt sup img {
        width:10px;
        transform: translateX(-5px);
    }

    /* === pages ==== */
    .page .page_container {
        padding-right:5%;
        padding-left:5%;
        padding-top:6rem;
    }

    .page .page_container h2{
        font-size:1.8em;
        width: 100%;
        padding: 0 5%;
        line-height: 1.2;
    }

    .text_contents_wp {
        font-size:0.875em;
    }


    /* ==== footer ==== */
    .logo-container {
        display:flex;
        justify-content: center;
    }

    .logo-container li{
        width:80%;
    }

    .left-wrap {
        width:100%;
    }

    .hotlineInfo .footer_btn_wp {
        flex-flow:wrap;
    }
   

}