@charset "utf-8";

body {
    font-family: 'Century Gothic', 'Microsoft JhengHei', 'Noto Sans TC', 'sans-serif';
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a:hover {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    width: 100%;
}

ul {
    padding-left: 0;
    list-style-type: none;
}


span {
    font-size: 22px;
}

p {
    font-size: 18px;
    color: #ffffff;
    letter-spacing: 1px;
}

h3 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.4;
    color: aqua;
}

h4 {
    font-size: 28px;
    line-height: 1.2;
    color: #B5ECFD;
}

h5 {
    font-size: 24px;
    font-weight: 900;
    color: aqua;
}

/*清除*/
:focus {
    outline: none !important;
    box-shadow: none !important;
}

/*網頁選取顏色*/
::selection {
    background-color: #999;
    color: #fff;
}

::-moz-selection {
    background-color: #999;
    color: #fff;
}


/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

.classroom img {
    width: 140px;
    height: auto;
    z-index: 999;
    animation-iteration-count: infinite;
    animation-duration: 2s;
    position: fixed;
    top: 50px;
    right: 27px;
}


#header {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 9997;
    transition: all 0.5s;
    padding: 15px;
    /* overflow-y: auto; */
}

@media (max-width: 992px) {
    #header {
        width: 300px;
        background: #fff;
        border-right: 1px solid #e6e9ec;
        left: -300px;
    }
}

@media (min-width: 992px) {
    #main {
        margin-left: 100px;
    }
}

/* Mobile Navigation */
.mobile-nav-toggle {
    position: fixed;
    right: 15px;
    top: 15px;
    z-index: 9998;
    border: 0;
    background: none;
    font-size: 24px;
    transition: all 0.4s;
    outline: none !important;
    line-height: 1;
    cursor: pointer;
    text-align: right;
}

.mobile-nav-toggle i {
    color: #e2e3e4;
}

.mobile-nav-active {
    overflow: hidden;
}

.mobile-nav-active #header {
    left: 0;
}

.mobile-nav-active .mobile-nav-toggle i {
    color: #0563bb;
}

/*--------------------------------------------------------------
# hero
--------------------------------------------------------------*/
.hero {
    position: relative;
}

.planet-right {
    position: absolute;
    right: 0;
    bottom: 50px;
    width: 15%;
    animation: jump 3s infinite linear;
}

.planet-right-top {
    position: absolute;
    right: 0;
    top: -50%;
    width: 15%;
    animation: jump 3s infinite linear;
}

.planet-left {
    position: absolute;
    left: 0px;
    bottom: 0;
    width: 12%;
    animation: jump 4s infinite linear;
}

.planet-right-down {
    position: absolute;
    right: 0px;
    bottom: 0px;
    width: 22%;
    animation: jump 5s infinite linear;
}

@-webkit-keyframes jump {
    0% {
        -webkit-transform: translateZ(0) translateY(5%);
        transform: translateZ(0) translateY(5%);
    }

    50% {
        -webkit-transform: translateZ(0) translateY(-5%);
        transform: translateZ(0) translateY(-5%);
    }

    100% {
        -webkit-transform: translateZ(0) translateY(5%);
        transform: translateZ(0) translateY(5%);
    }
}

@keyframes jump {
    0% {
        -webkit-transform: translateZ(0) translateY(5%);
        transform: translateZ(0) translateY(5%);
    }

    50% {
        -webkit-transform: translateZ(0) translateY(-5%);
        transform: translateZ(0) translateY(-5%);
    }

    100% {
        -webkit-transform: translateZ(0) translateY(5%);
        transform: translateZ(0) translateY(5%);
    }
}

/*--------------------------------------------------------------
# 大標
--------------------------------------------------------------*/
.section-title {
    text-align: center;
    margin-top: 20px;
}

.section-title img {
    width: 60%;
    margin: auto;
}

.five-advantage {
    text-align: center;
}


/*--------------------------------------------------------------
# 背景長圖
--------------------------------------------------------------*/
.wrapper {
    background:#4e0c8a url("../images/bg.png");
    background-size: cover;
}

/*--------------------------------------------------------------
# 選單
--------------------------------------------------------------*/
/* Desktop Navigation */
.nav-menu * {
    margin: 20px 10px;
    padding: 0;
    list-style: none;
}

.nav-menu>ul>li {
    position: relative;
    white-space: nowrap;
}

.nav-menu a {
    display: flex;
    align-items: center;
    color: #45505b;
    padding: 10px 18px;
    margin-bottom: 8px;
    transition: 0.3s;
    font-size: 15px;
    border-radius: 50px;
    background: #f2f3f5;
    height: 56px;
    width: 100%;
    overflow: hidden;
    transition: 0.3s;
}

.nav-menu a i {
    font-size: 20px;
}

.nav-menu a span {
    padding: 0 5px 0 7px;
    color: #45505b;
}

.nav-menu img {
    position: absolute;
    left: -14px;
    width: 85px;
    top: 0;
    bottom: 0;
    margin: auto;
}

@media (min-width: 1200px) {
    .nav-menu a {
        width: 40px;
    }

    .nav-menu a span {
        display: none;
        color: #fff;
    }
}

/*--------------------------------------------------------------
# 手機選單
--------------------------------------------------------------*/
.nav-menu a:hover span,
.nav-menu .active>a span,
.nav-menu li:hover>a span {
    color: #fff;
}

.nav-menu a:hover,
.nav-menu li:hover>a {
    width: 100%;
    color: #fff;
    padding: 10px 18px 10px 60px;
}

.nav-menu a:hover span,
.nav-menu li:hover>a span {
    display: block;
}


.nav-menu li>a {
    color: #fff;
    color: #fff;
    background: -webkit-linear-gradient(left top, rgb(255, 255, 255, 0.2), rgb(255, 255, 255, 0.5));
    background: linear-gradient(left top, rgb(255, 255, 255, 0.2), rgb(255, 255, 255, 0.5));
}

.ground {
    background: url(../images/video_bg.png);
    background-repeat: no-repeat;
    background-position: center;
    padding: 150px 120px;
    position: relative;

}

/*--------------------------------------------------------------
#銀河系優勢
--------------------------------------------------------------*/
.advantage {
    padding: 2% 0;
    position: relative;
}

.five-advantage {
    width: 88%;
    margin: auto;
    margin-bottom: 80px;
}

/*--------------------------------------------------------------
#產品資訊
--------------------------------------------------------------*/
.product {
    padding: 5vh 0 5vh 0;
    position: relative;
}

.product .item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.pro-img {
    width: 48%;
    margin: 1%;
}

.pro-word {
    width: 50%;
}

.pro-word h3 {
    color: #17F1F8;
}

.pro-word {
    padding-left: 10px;
}

.pro-word p {
    text-align: left;
    line-height: 2;
}

.video {
    position: absolute;
    width: 30%;
    right: 18%;
    bottom: 5%;

}




/*點點*/

.owl-dots {
    display: block;
    text-align: center;
}

.owl-dot span {
    display: block;
    width: 14px;
    height: 14px;
    margin: 0px 5px;
    filter: alpha(opacity=50);
    opacity: 0.5;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    background: #fff;
}

.owl-dot.active span {
    opacity: 1;
}

/*--------------------------------------------------------------
#未來展望
--------------------------------------------------------------*/
.future {
    padding: 2% 0 5% 0;
    position: relative;
}



.future-img {
    background: url(../images/future_bg.png);
    background-repeat: no-repeat;
    background-position: center;
    padding: 60px 0;
}

.future-word {
    display: flex;
    flex-wrap: wrap;
    padding: 0 18%;
}

.future-word h3 {
    padding-left: 5%;
}

.future-word p {
    text-align: justify;
    padding-left: 5%;
}



/*--------------------------------------------------------------
#榮耀分享
--------------------------------------------------------------*/
.testimonials {
    padding: 10vh 0 10vh 0;
}

.testimonials .title-box {
    color: #544741;
    text-align: center;
}

.testimonials .title {
    max-width: 225px;
    margin: 0 auto 2rem auto;
    color: #544741;
}


.testimonials a {
    position: relative;
    display: table;
}

.testimonials .text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px;
    color: #fff;
    text-align: center;
    line-height: 20px;
}

.testimonials .text h5,
.testimonials .text span {
    color: #6edde0;
}

.testimonials .text p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    white-space: nowrap;
    width: 100%;
}

.testimonials .right-box {
    display: flex;
    flex-wrap: wrap;
}

.testimonials .right-box a {
    width: 48%;
    margin: 1%;

}

.testimonials .more {
    color: rgb(235, 235, 235);
    text-align: right;
    display: block;
    font-weight: 400;
}

.more,
.more:hover {
    text-align: right;
    margin-top: 2rem;
    color: #fff;
    display: block;
    font-size: 1.2rem;
}

/*--------------------------------------------------------------
#聯絡我們
--------------------------------------------------------------*/
.contact {
    padding: 2% 0 5% 0;
}

.contact .row {
    justify-content: center;
}

.contact-phone {
    background: url(../images/contact_bg.png);
    background-repeat: no-repeat;
    background-position: center;
    padding: 40px 0 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.contact h3 {
    line-height: 1;
    padding-top: 10px;
}

.contact-phone a {
    display: block;
    font-size: 26px;
    font-family: Oswald;
    color: #B5ECFD;
}

.contact-phone img {
    width: 30%;
    padding: 0 7%;
}

.contact .contact-text {
    width: 70%;
}

.contact-phone h4 {
    font-family: Oswald;
}

.search img {
    width: 70%;
    padding: 8px 0;
}

/*--------------------------------------------------------------
#頁尾
--------------------------------------------------------------*/
.copyright {
    text-align: center;
    color: aliceblue;
    padding: 20px 0;

}

.copyright img {
    display: inline-block;
    width: 27px;
    margin-left: 20px;
}

/*--------------------------------------------------------------
#試看影片背景圖
--------------------------------------------------------------*/
.freevideo {
    padding: 0 5%;
    background: url("../images/freevideo_bg.png");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    min-height: 100vh;
    overflow: auto;
}

.subject-title img {
    width: 40%;
    margin: auto;
}

.subject-img1 {
    background: url(../images/subject_ch1.png);
    background-repeat: no-repeat;
    background-position: center;
    padding: 180px 0;
}

.subject-img2 {
    background: url(../images/subject_ch2.png);
    background-repeat: no-repeat;
    background-position: center;
    padding: 180px 0;
}

.subject-img3 {
    background: url(../images/subject_ch3.png);
    background-repeat: no-repeat;
    background-position: center;
    padding: 180px 0;
}

.subject-img4 {
    background: url(../images/subject_ch4.png);
    background-repeat: no-repeat;
    background-position: center;
    padding: 180px 0;
}

.subject-img5 {
    background: url(../images/subject_ch5.png);
    background-repeat: no-repeat;
    background-position: center;
    padding: 180px 0;
}

.subject-img6 {
    background: url(../images/subject_ch6.png);
    background-repeat: no-repeat;
    background-position: center;
    padding: 180px 0;
}

.subject-img7 {
    background: url(../images/subject_ch7.png);
    background-repeat: no-repeat;
    background-position: center;
    padding: 180px 0;
}

.subject-img8 {
    background: url(../images/subject_ch8.png);
    background-repeat: no-repeat;
    background-position: center;
    padding: 180px 0;
}

/**********彈跳視窗樣式**********/

.modal-body {
    padding: 1rem;
}

.modal-header .close {
    font-size: 2rem;
}

.modal-footer button {
    color: #545b62;
    background-color: #fff;
    font-size: 1.2rem;
}

.modal-header {
    border-bottom: 0px solid #dee2e6;
    padding: 1rem 2rem;
}

.modal audio,
.modal video,
.modal iframe {
    width: 100%;
    height: 700px;
}

.modal .modal-header .modal-title {
    font-size: 20px;
    font-weight: 400;
}

.modal .modal-header .modal-title svg {
    color: #ff7d27;
    margin-right: 10px;
}

.video-wrapper {
    position: relative;
    /*16:9*/
    padding-bottom: 56.25%;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.owl-nav {
    display: none;
}