* {
    padding: 0px;
    margin: 0px;
    font-family: Lato, Noto Sans TC;
    /* border: #F00 0.1px solid; */
}

body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

/* 內容標題 */
h1 {
    visibility: hidden;
}

h2 {
    color: #FFF;
    font-size: 2.25rem;
    padding: 0px 5%;
    line-height: 100px;
}

h3 {
    color: #FFF;
    font-size: 1.6rem;
    line-height: 3.6rem;
    padding: 0px 3%;
    opacity: 0.8;
}

h4 {
    color: #FFF;
    opacity: 0.7;
    text-align: justify;
    padding: 36px 20% 20px 20%;
    font-size: 24px;
    line-height: 36px;
}

/* 網頁內容 */
p {
    color: #FFF;
    opacity: 0.8;
    font-size: 20px;
    line-height: 48px;
    padding: 0px 2%;
}

.article span {
    font-size: 32px;
    line-height: 48px;
    color: #FFCB00;
}

/* 導航列開始 */
.header {
    height: 80px;
    width: 100%;
    background-color: rgba(0, 10, 15, 0.9);
    position: fixed;
}

.header a {
    text-decoration: none;
}

.header-logo {
    float: left;
    padding-top: 4px;
    color: #FFF;
    font-size: 36px;
    text-decoration: none;
    opacity: 0.9;
}

.header-logo:hover {
    opacity: 0.8;
    color: #FFF;
}

.header-logo img {
    height: 60px;
    width: auto;
}

.menu {
    float: right;
    list-style-type: none;
}

.menu li {
    float: left;
    position: relative;
}

.menu li a {
    display: block;
    color: #FFF;
    opacity: 0.8;
    height: 80px;
    padding: 1.8em 1em;
    text-align: center;
    text-decoration: none;
    transition: 0.3s;
}

.menu a:hover {
    color: #212121;
    background: #FFCB00;
    opacity: 1;
    padding-top: 20px;
}

.showmenu {
    display: none;
}

.language_family {
    float: right;
    height: 30px;
    width: 60px;
    border-radius: 15px;
    background-color: #fff;
    color: #3f3f3f;
    margin-top: 15px;
    margin-left: 15px;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
}

.language_family:hover {
    background: #FFCB00;
    color: #212121;
}

/* 頁尾開始 */
.footer {
    min-height: calc(100% - 40px);
    width: 100%;
    background-color: #3f3f3f;
    color: #FFF;
    line-height: 32px;
    font-size: 14px;
}

.footer ul,
.footer a {
    color: #FFF;
    text-decoration: none;
    list-style-type: none;
    opacity: 0.8;
}

.footer ul,
.footer a:hover {
    color: #FFCB00;
}

.footer-contact p,
.footer-contact a {
    font-size: 12px;
    line-height: 14px;
    text-align: left;
}

.footer-logo {
    height: 120px;
    background-image: url(images/footerlogo.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top center;
    margin-bottom: 32px;
}

.footer-logo p {
    font-size: 22px;
    color: #FFF;
    position: relative;
    padding-top: 100px;
    opacity: 0.8;
    text-align: center;
}

.copyright {
    height: 40px;
    background-color: #FFCB00;
    color: #212121;
    text-align: center;
    font-size: 12px;
}

/* 網頁元件 */
.welcome {
    width: 100%;
    height: 420px;
    color: #FFF;
    text-align: center;
    background-repeat: no-repeat;
    position: relative;
}

.welcome h2 {
    position: relative;
    top: 50%;
}

.welcome a {
    color: #FFCB00;
    text-decoration: none;
    opacity: 0.6;
}

.welcome a:hover {
    opacity: 1;
}

.welcome p {
    text-align: right;
    font-size: 16px;
    color: #FFF;
    position: absolute;
    bottom: 0;
    opacity: 0.3;
}

.welcome p:hover {
    opacity: 0.8;
}

.article {
    height: 100%;
    background-color: rgba(0, 17, 24, 1);
    text-align: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.btn-learnmore {
    width: 280px;
    height: 50px;
    border-radius: 10px;
    margin: 20px 0px;
    opacity: 0.8;
    color: #FFF;
    border: #FFF 2px solid;
    background-color: rgba(255, 255, 255, 0);
    transition: 0.2s;
}

.btn-learnmore:hover {
    transform: scale(1.1);
    color: #001118;
    box-shadow: inset 0 0 0 50px #FFCB00;
    border: 0px;
}

.w-100 {
    height: 6vmax;
}

.infobox {
    color: #BBB;
    margin: 10px 10px;
    border: rgba(0, 17, 24, 1) 2px solid;
    border-radius: 10px;
    overflow: hidden;
}

.infobox img {
    max-width: 100%;
    height: auto;
    text-align: center;
    opacity: 0.9;
}

.infobox:hover img {
    transform: scale(1.05);
    opacity: 1;
}

.infobox:hover {
    border: rgba(0, 17, 24, 1) 3px solid;
}

.feature {
    height: 100%;
    color: #BBB;
    margin: 20px 10px;
    border: rgba(255, 255, 255, 0.6) 2px solid;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
}

.feature img {
    max-height: 160px;
    width: auto;
    padding: 20px 0;
    margin: 20px auto;
    opacity: 0.8;
    display: inline-block;
}

/* 公告 */
.modal-content {
    background-color: rgba(0, 17, 24, 1);
}

.close{
    color: #FFCB00;
    opacity: 1;
}

/* 平板 */
@media (max-width: 991px) {
    h4 {
        font-size: 18px;
        line-height: 28px;
        padding: 20px 10% 20px 10%;
    }

    .header {
        height: 72px;
    }

    .header-logo img {
        height: 56px;
        width: auto;
    }

    .header-logo {
        color: #FFF;
        font-size: 0px;
        padding: 5px 0px;
    }

    /* 平板導航列 */
    .menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s;
        position: absolute;
        z-index: 100;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(0, 10, 15, 0.95);
    }

    .menu li {
        float: none;
    }

    .menu li a:hover {
        color: #303030;
        background: #FFCB00;
    }

    .showmenu {
        display: block;
        float: right;
        color: #FFF;
        font-size: 2.7em;
        margin: 16px auto;
    }

    .showmenu:hover {
        color: rgba(255, 255, 255, 0.9)
    }

    /*jQuery點擊後動態在 body 加上 class */
    .menu-show .menu {
        max-height: 500px;
    }

    /* 平板選單漢堡 */
    .hamburger {
        width: 40px;
        cursor: pointer;
        opacity: 1;
    }

    .hamburger:hover {
        opacity: 0.8;
    }

    .hamburger .line {
        display: block;
        width: 80%;
        height: 5px;
        border-radius: 3px;
        background-color: #fff;
        /* opacity: 0.8; */
        margin-bottom: 6px;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

    #hamburger.active .line:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    #hamburger.active .line:nth-child(2) {
        opacity: 0;
    }

    #hamburger.active .line:nth-child(3) {
        transform: translateY(-16px) rotate(-45deg);
    }

    .language_family {
        position: relative;
        margin: 10px calc(50% - 30px);
    }

    /* 平板內容 */

    .welcome {
        height: 320px;
        background-size: cover;
    }

    .welcome h2 {
        top: 40%;
    }

    .btn-learnmore {
        width: 240px;
        height: 50px;
        margin: 0px;
    }

    .infobox {
        margin: 10px 0px;
    }

    /* .infobox img{
            left: 0px;
        } */

    .feature {
        height: 90%;
    }

    /* 平板頁尾 */
    .footer-logo {
        background-position: center;
        height: 100px;
    }

    .footer-contact p {
        text-align: center;
    }
}

@media (max-width: 590px) {
    .feature h5 {
        line-height: 20px;
    }

    .copyright {
        font-size: 10px;
    }
}