/*==================================================================
| Designer: Longteng Education Co.                                 |
| Author Web: https://www.ltedu.com.tw/                            |
| Designer: Elaine Chu                                             |
==================================================================*/

@charset "UTF-8";
@import url(https://fonts.googleapis.com/icon?family=Material+Icons);
@import url(https://fonts.googleapis.com/css?family=Lusitana);
@import url(https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@1,500&family=Noto+Sans+TC:wght@400;500;900&display=swap);

:root {
    --font-Sans: 'Noto Sans TC', sans-serif;
    --font-Serif: 'Noto Serif TC', serif;    
    --font-En: 'Josefin Sans', sans-serif;
    --font-Size: 1.2em;
    --font-Title: 3rem;
    --font-p: 1.5rem;
    --dangerColor: #d20270;
}

* {
    font-family: var(--font-Sans);
    color: #000;
}

html::before,
html::after {
  content: " ";
  position: fixed;
  background: #000;
  top: -500px;
  bottom: -500px;
  width: 15px;
  height: calc(100% + 1000px);
  z-index: 3;
  box-shadow: 0 -3px 8px rgba(0, 0, 0, 0.14);
}
html::before {
  left: 0;
}
html::after {
    right: 0;
    z-index: 2;
}
body {
    color: #000;
    background: #ffff00;
    overflow-x: hidden;
}
body>* {
    position: relative;
    z-index: 1;
}
body::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-size: cover;
    position:fixed;
    top: 0;
    z-index: 0;
}
main {
    z-index: 2;
    position: relative;
    padding-bottom: 8rem;
}

main::before {
    content: "";
    background: #000;
    position: fixed;
    z-index: 3;
    width: 105vw;
    height: 20px;
    left: 0;
    top: 0;
}
  
main::after {
    content: "";
    background: #000;
    position: fixed;
    z-index: 3;
    width: 105vw;
    height: 20px;
    left: 0;
    bottom: 0;
}

header {
    padding: 3rem;
    position: absolute;    
    z-index: 3;
}  
header .navbar-brand img {
    width: 200px;
}
h1 {
    color: #000;  
    font-weight: 900;  
    opacity: 0;
    position: fixed;
    right: 50px;
    transition: all .5s;
}
.affix h1 {
    opacity: 1;
}
h1::before,
h1::after {
    content: '';
    display: inline-block;
    background: url(../images/fire.svg) no-repeat;
    width: 40px;
    height: 50px;
    background-size: contain
}
h1::before {
    float: left;
    margin-right: 10px;
}
h1::after {
    float: right;
    margin-left: 10px;
}
@media (max-width:600px) {
    header {
        width: 100%;
        position: absolute;
    }
    .navbar-brand {
        margin: auto;
    }
    .affix h1 {
        display: none;
    }
}
@media (max-width:414px) {
    header .navbar-brand img {
        width: 155px;
    }
}
/* h1::before {
    content: '';
    display: block;
    background: url(../images/fire.svg) repeat-x;
    width: 195px;
    height: 75px;
    margin: 0 auto 10px;
} */


/* top */
.btn-top,
.btn-top:hover {
    background: #000;
    display: block;
    color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    position: fixed;
    z-index: 999;
    opacity: 0;
    text-indent: 4px;
    transition: all 0.2s linear;
}
.btn-top{
    bottom: 35px;
    right: 35px;
    color: #fff;
}
.btn-top:hover {
    background: #fff;
}
.btn-top.show {
    opacity: 1;
    cursor: pointer;
}

.btn-top:hover {
    text-decoration: none;
}
.btn-top span {
    color: #fff;
    line-height: 2.3rem;
}
.btn-top:hover span {
    color: #000;
}

@media(max-width:767px) {
    .btn-top {
        bottom: 20px;
        right: 20px;
    }
}

@media(max-width:645px) {
    .btn-top {
        bottom: 10px;
        right: 10px;
    }
}

section {
    min-height: 100vh;
    position: relative;
}
/* intro */
#intro .cont {
    position: absolute;
    top: -9%;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    display: block;
    width: 52vw;
    height: fit-content;
    text-align: center;
}
#intro>img {
    position: absolute;
    left: 10.5vw;
    top: 25vh;
    width: 20vw;
} 
#intro .title{ 
    font-size: 4vw;
    font-weight: 900;
    text-align: center;
    position: relative;
}
#intro .title::before {
    content: '';
    display: block;
    position: absolute;
    bottom: 4px;
    background: #fff;
    width: 100%;
    height: 55px;
    z-index: -1;
}
.sub-title {
    font-size: 2.6vw;  
    font-weight: 900; 
    margin: 0 auto 1rem;
    text-align: center;
    display: inline-block;
}
.sub-title::before,
.sub-title::after  {
    content: '';
    display: inline-block;
    background: url(../images/fire.svg) no-repeat;
    width: 38px;
    height: 60px;
    background-size: contain
}
.sub-title::before  {
    float: left;
    margin-right: 10px;
}
.sub-title::after  {
    float: right;
    margin-left: 10px;
}
@media (min-width:1441px) {        
    #intro .title{ 
        font-size: 4.5vw;
    }
    .sub-title::before,
    .sub-title::after  {
        width: 70px;
        height: 70px;
    }
}
@media (max-width:1900px) {
    #intro .title {
        font-size: 4.2vw;
    }
    .sub-title {
        font-size: 3.5vw;
        margin-bottom: 0;
    }
    .sub-title::before, 
    .sub-title::after {
        width: 70px;
        height: 90px;
    }
    #intro>img {
        left: 10.5vw;
        top: 29vh;
    }
}
@media (max-width:1440px) {
    #intro>img {
        left: 10.5vw;
        top: 32vh;
    }
    .sub-title::before, 
    .sub-title::after {
        width: 55px;
        height: 75px;
    }
}
@media (max-width:1240px) {
    .sub-title::before, 
    .sub-title::after {
        width: 42px;
        height: 65px;
    }
}
@media (max-width: 1200px) {
    #intro .title {
        font-size: 5.5vw;
    }
    #intro .cont {
        width: 64vw;
        top: -40%;
    }
    #intro>img {
        left: 0;
        top: 46vh;
        right: 0;
        margin: auto;
    }
}
@media (max-width:820px) and (height:1180px) {
    #intro>img {
        top: 43vh;
        width: 35vw;
    }
    .sub-title {
        font-size: 5.5vw;
    }
}
@media (max-width:991px) {
    #content .earth {
        top: 25rem;
        right: auto;
        left: 0;
    }
    .sub-title::before, 
    .sub-title::after {
        width: 36px;
        height: 54px;
    }
}
@media (max-width:820px) {
    #intro .title {
        margin-bottom: 0.5rem;
    }
    .sub-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
}
@media (max-width:600px) {
    #intro .cont {
        width: 78vw;
        top: -27%;
    }
    #intro .title {
        font-size: 2rem;
    }
    .sub-title {
        font-size: 1.5rem;
        margin: 0;
    }
    .sub-title::before, .sub-title::after {
        width: 28px;
    }
    #intro>img {
        width: 35vw;
        top: 50vh;
    }
    #intro .title::before {
        height: 45px;
    }
}
@media (max-width:414px) {
    #intro .title::before {
        height: 21px;
    }
    #intro>img {
        top: 47vh;
    }
}


/* scroll */
.btn-scroll {
    position: absolute;
    width: 120px;
    height: 100px;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 3;
    bottom: 7rem;
    text-align: center;
}
.btn-scroll:hover {
    text-decoration: none;
}
.chevron {  
    margin: auto;
    left: 0;
    right: 0;
    position: absolute;
    width: 28px;
    height: 8px;
    opacity: 0;  
    transform: scale3d(0.5, 0.5, 0.5);
    animation: move 3s ease-out infinite;
}
.chevron:first-child {
    animation: move 3s ease-out 1s infinite;
}
.chevron:nth-child(2) {
    animation: move 3s ease-out 2s infinite;
}
.chevron:before,
.chevron:after {
    content: ' ';
    position: absolute;
    top: 0;
    height: 100%;
    width: 51%;
    background: #000;
}
.chevron:before {
    left: 0;
    transform: skew(0deg, 45deg);
}
.chevron:after {
    right: 0;
    width: 50%;
    transform: skew(0deg, -45deg);
}
@keyframes move {
    25% {
        opacity: 1;

    }

    33% {
        opacity: 1;
        transform: translateY(30px);
    }

    67% {
        opacity: 1;
        transform: translateY(40px);
    }

    100% {
        opacity: 0;
        transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
    }
}
.btn-scroll .text {
    display: block;
    margin-top: 75px;
    font-family: var(--font-En);
    font-size: 15px;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: .65;
    animation: pulse 2s linear alternate infinite;
}
@keyframes pulse {
    to {
        opacity: 1;
    }
}
@media (max-width: 1200px) {
    .btn-scroll {
        bottom: 4rem;
    }
}
@media (max-width: 600px) {
    .btn-scroll .text {
        display: none;
    }
}
@media (max-width:414px) {
    .btn-scroll {
        display: none;
    }
}
/* footer */
footer {
    position: relative;
    text-align: center;
    padding: 13rem 0 5rem;
}
footer img {
    /* width: 300px; */
    max-width: 100%;
    margin: 10px 0;
}
.thumb {
    position: absolute;
    left: 7vw;
    top: -8%;
    width: 15vw;
}
@media (max-width:1030px) {
    footer {
        padding: 8rem 0 0;
    }
    footer img:not(.thumb) {
        height: 70px;
    }
    .thumb {
        top: -22%;
    }
}

@media (max-width:600px) {
    .thumb {
        top: -4%;
        width: 23vw;
    }
    footer img:not(.thumb) {
        height: 38px;
    }
}


/* intro */
#intro {
    position: relative;
    /* background: url(../images/bg-intro.jpg) no-repeat;
    background-size: cover; */
}

/* content */
#content {
    color: #000;
    font-size: 2rem;
    font-weight: 900;
    min-height: 75vh;
}
#content .card {
    border: none;
    border-radius: 0;
    padding: 2rem 3rem;
    box-shadow: -20px -20px;    
}
#content .monkey {
    float: right;
    margin-top: -13rem;
    margin-right: 5rem;
    position: relative;
}
#content .earth {
    float: right;
    /* animation: rotation 10s infinite linear; */
}
@keyframes rotation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
    }
}
#content p {
    margin-top: 2rem;
}
@media (min-width:1441px) {
    #content .card {
        width: 40vw;
        margin-left: -12rem;
    }
    #content p span {
        display: block;
    }
    #content .monkey {
        margin-right: 13rem;
    }
    #content .earth {
        margin-right: -18rem;
        margin-top: 2rem;    
        /* animation: rotation 10s infinite linear; */
    }
    
}
@media (max-width:1600px) {
    #content .card {
        width: 45vw;
        margin-left: -8rem;
    }
}
@media (max-width:1480px) {
    #content .card {
        width: 50vw;
        margin-left: -5rem;
    }
    #content .monkey {
        margin-right: 10rem;
    }
}
@media (max-width:1440px) {
    #content {
        font-size: 1.5rem;
        min-height: auto;
        margin-bottom: 8rem;
    }
    #content .earth {
        position: absolute;
        top: 20rem;
        right: 7rem;
        width: 11vw;
    }
}
@media (max-width:1380px) {
    #content .card {
        margin-left: 0;
    }
    #content .monkey {
        margin-right: 2rem;
    }
}
@media (max-width:1285px) {
    #content .card {
        width: 65vw;
    }
}
@media (max-width: 1060px) {
    #content .card {
        margin-left: 2rem;
    }    
}
@media (max-width:991px) {
    #content .monkey {
        margin-top: 2rem;
        float: right;
        width: 20vw;
        margin-left: 2rem;
    }
    #content .earth {
        width: 12vw;
        margin-right: 19rem;
    }
}
@media (max-width:600px) {
    #content p {
        margin-left: 1rem;
    }
    #content .card {
        padding: 1rem 1rem 1rem 1.5rem;
        width: 79vw;
        font-size: 1.2rem;
    }
}
@media (max-width:414px) {
    #content .card {  
        width: 82vw;
        margin-left: 1.5rem;      
        padding: .5rem 0.2rem .5rem .5rem;
        box-shadow: -8px -8px;
    }
    #content p {
        font-size: 1.2rem;
    }
}


/* info */
#info a img {
    max-width: 100%;
}
#info::before {
    content: '';
    display: block;
    width: calc(100% - 8vw);
    height: 110%;
    position: absolute;
    top: -6rem;
    left: 0;
    z-index: -1;
    background: #fff;
}
#info .row+.row {
    margin-top: 4rem;
}
#info h2 {
    font-weight: 900;
    text-align: center;
}
#info h2 span {
    display: block;
    font-size: 1.4rem;
    font-family: var(--font-En);
    font-weight: 500;
}
.table td, 
.table th {
    font-size: 1.4rem;
    border-color: #000;
    border-width: 2px;
    vertical-align: inherit;
}
.table:not(.table-borderless) tr:last-child td, 
.table:not(.table-borderless) tr:last-child th {
    border-bottom: #000 solid 2px;
}
ol {
    padding-inline-start: 25px;
}
.popup-img img {
    width: 100%;
}
.popup-img {
    transition: all 0.2s linear;
    width: 23vw;
    display: block;
    margin: 2rem;
} 
.popup-img:nth-of-type(2) {
    width: 25vw;
    margin: 5rem;
    float: right;
    margin-top: -7rem;
}
.popup-img:nth-of-type(3) {
    float: left;
    margin-top: -20rem;
    width: 16vw;
    margin-left: 10rem;
}
.popup-img:nth-of-type(4) {
    float: right;
    width: 18vw;
    margin-right: 1rem;
    margin-top: -3rem;
}
#info .cat {
    position: absolute;
}
@media (min-width:1441px) {
    #info h2 {
        text-align: left;
        font-weight: 900;
        -webkit-writing-mode: vertical-rl;   
        -moz-writing-mode: vertical-rl;
        -o-writing-mode: vertical-rl;
        writing-mode: vertical-rl;
        position: relative;
    }
    #info h2 span {
        position: absolute;
        right: -28px;
        height: 160px;
    }
    #info .container {
        margin: 0 0 0 13vw;
    }
    .popup-img:hover {
        opacity: .8;
    }
    .popup-img {
        position: absolute;
        right: calc(-16vw + 7px);
        top: 10vh;
        margin: 0;
    } 
    .popup-img:nth-of-type(1) {
        width: 10vw;
    }
    .popup-img:nth-of-type(2) {
        position: absolute;
        width: 10vw;
        right: calc(-28vw + 3px);
        top: 39vh;
    } 
    .popup-img:nth-of-type(3) {
        position: absolute;
        width: 16vw;
        right: calc(-16vw + 5px);
        top: 91vh;
    }    
    .popup-img:nth-of-type(4) {
        position: absolute;
        width: 10vw;
        right: calc(-20vw + 4px);
        top: 90vh;
    }    
    #info .cat {
        right: -23rem;
        top: 4rem;
    }
}
@media (max-width: 1725px) {
    #info .cat {
        right: auto;
        top: 15rem;
        left: -21rem;
    }
}
@media (max-width:1800px) {
    .popup-img:nth-of-type(2) {        
        right: calc(-24vw + 3px);
    }
}
@media (max-width:1690px) {
    #info .cat {
        right: -17rem;
        top: 10rem;
        width: 15vw;
    }
}
@media (max-width:1580px) {
    #info .cat {
        right: -11rem;
    }
}
@media (max-width:1480px) {
    .popup-img {
        right: auto;
        top: 13vh;
        left: -19vw;
        z-index: -1;
    }
    .popup-img:nth-of-type(3) {
        right: auto;
        top: 91vh;
        left: -32vw;
    }
}
@media (max-width: 1450px) {
    #info .cat {
        right: auto;
        top: 15rem;
        left: -19rem;
        width: 15vw;
    }
}
@media (max-width:1440px) {
    #info::before {
        height: 105%;
    }
    #info h2 {
        font-size: 3vw;
    }
    #info h2 span {
        font-size: 2vw;
        margin: 0.5rem 0 2rem;
    }
    #info .cat {
        left: auto;
        right: 0rem;
    }
    #info::before {
        width: calc(100% - 5vw);
    }
    #info .container {
        max-width: 80vw;
    }
    #info div[class*="col-"] {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    .popup-img {
        margin-top: 13vh;
    }
    .popup-img:nth-of-type(2) {
        width: 16vw;
        margin-top: -17rem;
    }
    .popup-img:nth-of-type(3) {
        left: -42vw;
        float: none;
        margin-left: 28vw;
    }
    .popup-img:nth-of-type(4) {
        float: right;
        width: 13vw;
        margin-right: -3rem;
        margin-top: -6rem;
    }
}
@media (max-width:1240px) {
    #info .cat {
        top: -8rem;
    }
}
@media (max-width:1200px) {
    .popup-img:nth-of-type(4) {
        margin-right: 21rem;
    }
}
@media (max-width:1030px) {
    .popup-img {
        margin-left: 0;
    }
    .popup-img:nth-of-type(3) {
        margin-top: -16rem;
    }
    .popup-img:nth-of-type(4) {
        margin-right: 0;
    }
}

@media (max-width:820px) {
    #info h2 {
        font-size: 2.2rem;
    }
    #info h2 span {
        font-size: 1.5rem;
    }
    #info .cat {
        top: -14rem;
        left: -2rem;
        right: auto;
        width: 24vw;
    }
}
@media (max-width:767px) {
    .popup-img:nth-of-type(2) {
        width: 20vw;
        margin-top: -15rem;
        margin-right: 1rem;
    }
    .popup-img:nth-of-type(3) {
        width: 22vw;
    }
    .popup-img:nth-of-type(4) {
        margin-right: 0;
        float: none;
        margin-top: 2rem;
        margin-left: 13rem;
    }
}
@media (max-width:600px) {
    #info div[class*="col-"] {
        padding: 0;
    }
    .table th {
        width: 20%;
    }
    .table td, 
    .table th {
        vertical-align: top;
    }
}
@media (max-width:570px) {
    .popup-img:nth-of-type(2) {
        margin-top: -11rem;
    }
    .popup-img:nth-of-type(3) {
        margin-top: -13rem;
    }
}
@media (max-width:414px) {
    .table th {
        width: 75px;
    }
    .table td, .table th {
        font-size: 1.2rem;
    }
    #info::before {
        width: calc(100% - 8vw);
        top: -3rem;
    }
    #info .cat {
        left: auto;
        right: 0;
    }
    #info .container {
        max-width: 90%;
    }
}

/* marquee */
.marquee {
    font-size: 3vw;
    height: 75px;
    position: fixed;
    bottom: 20px;
    z-index: 2;
    width: 100%;
    overflow: hidden;
    background: yellow;
}
.marquee div {
    display: block;
    width: 200%;
    position: absolute; 
    overflow: hidden;
    animation: marquee 12s linear infinite;
}
.marquee img,
.marquee span {
    float: left;
    font-family: var(--font-En);
    width: 470px;
    height: 45px;
    margin: 1rem -1px;
}
@keyframes marquee {
    0% { left: 0; }
    100% { left: -100%; }
}
@media (max-width:414px) {
    .marquee {
        height: 48px;
    }
    .marquee div {
        animation: marquee 4s linear infinite;
    }
    .marquee img, .marquee span {        
        height: 25px;
        width: 230px;
        margin: 1rem 0.5rem;
    }
}

/* skewBackgrounds */
.bg-skew {
    position: fixed;
    top: 0;
    z-index: 1;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}
.line {
    background-color: #fff;
	position: absolute;
	-webkit-transform: skew(-35deg);
	-ms-transform: skew(-35deg);
	transform: skew(-35deg);
}
.line:nth-child(1) {
	width: 20px;
	height: 100vh;
	left: -7vw;
}
.line:nth-child(2) {
	width: 20px;
	height: 100vh;
	left: -5vw;
}
.line:nth-child(3) {
	width: 20px;
	height: 100vh;
	left: 4vw;
}
.line:nth-child(4) {
    width: 20px;
    height: 100vh;
    left: 80vw;
}
.line:nth-child(5) {
    width: 20px;
    height: 100vh;
    left: 100vw;
}
.line:nth-child(6) {
    width: 20px;
    height: 100vh;
    left: 103vw;
}

/* cursor */
.cursor {
    position: absolute;
    background: #000;
    width: 6px;
    height: 6px;
    border-radius: 100%;
    z-index: 10000;
    transform: scale(1);
    user-select: none;
    pointer-events: none;
    transition: 0.3s ease-in-out transform, 0.2s ease-in-out opacity;
    z-index: 999;
}
.cursor.active {
    opacity: 0.5;
    transform: scale(0);
}
.cursor.hovered {
    opacity: 0.08;
}
.cursor-follower {
    position: absolute;
    z-index: 999;
    mix-blend-mode: multiply;
    background-color: rgba(56, 56, 56, 0.8);
    width: 50px;
    height: 50px;
    border-radius: 100%;
    z-index: 10000;
    transform: translatex(100px, 100px);
    user-select: none;
    pointer-events: none;
    transition: 0.6s ease-in-out transform, 0.2s ease-in-out opacity;
}
.cursor-follower.active {
    opacity: 0.7;
    transform: scale(3);
}
.cursor-follower.hovered {
    opacity: 0.08;
}
@media (max-width:1280px) {
    .cursor,.cursor-follower {
        display: none;
    }
}

/* magnificPopup */
/**
 * Simple fade transition,
 */
 .mfp-fade.mfp-bg {
	opacity: 0;
	-webkit-transition: all 0.15s ease-out; 
	-moz-transition: all 0.15s ease-out; 
	transition: all 0.15s ease-out;
}
.mfp-fade.mfp-bg.mfp-ready {
	opacity: 0.8;
}
.mfp-fade.mfp-bg.mfp-removing {
	opacity: 0;
}

.mfp-fade.mfp-wrap .mfp-content {
	opacity: 0;
	-webkit-transition: all 0.15s ease-out; 
	-moz-transition: all 0.15s ease-out; 
	transition: all 0.15s ease-out;
}
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
	opacity: 1;
}
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
	opacity: 0;
}

/* for ie */
.for-ie {
	display: none;
}
@media (max-width:767px) {
	.for-ie {
		display: block;
	}
	.popup-gmaps{
		display: none;
	}
}
@media screen\0 {
	.popup-gmaps{
	  display: none;
	}
	.for-ie {
		display: block;
	}
  }