/*====================================
# 共同設定
==================================== */

html {
    scroll-behavior: smooth;
}

body {
    font-size: 18px;
    line-height: 1.8;
    color: #333333;
    font-family: 'Roboto', 'Noto Sans TC', Arial, '微軟正黑體', '新細明體', Helvetica, sans-serif;
}


a:hover {
    text-decoration: none;
}


/*====================================
# 中英自動空格
==================================== */
html hanla:after {
    content: " ";
    display: inline;
    font-family: Arial;
    font-size: 0.89em;
}

html code hanla,
html pre hanla,
html kbd hanla,
html samp hanla {
    display: none;
}

html ol>hanla,
html ul>hanla {
    display: none;
}

/*====================================
# header
==================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
    z-index: 100;
}

.header.solid {
    background-color: rgba(14, 20, 36, 0.55);
    background: linear-gradient(0deg, rgba(14, 20, 36, 0) 0%, rgba(14, 20, 36, 0.48) 30%, rgba(14, 20, 36, 1) 100%) !important;
    transition: background-color 1.5s ease 0s;
}


.header-wrapper {
    padding: 6px 3rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 1.4rem;
}

.nav-logo {
    width: 250px;
}


.nav-logo img {
    display: block;
    width: 100%;
}

.topbtn {
    display: inline-block;
    color: #212121;
    background-color: #ffffff;
    font-weight: 500;
    padding: 10px 25px;
    margin-left: 20px;
    transition: all 0.2s;
    border-radius: 25px;
}

.submit {
    font-weight: 700;
    background-color: #00c0e9;
    letter-spacing: 0.1rem;
}

.topbtn:hover {
    color: #ffffff;
    background-color: #ffc244;
    transform: scale(1.1);
    box-shadow: 7px 5px 56px -14px #ffc244;
}

.topbtn:active {
    transform: scale(0.9);
}

@media (max-width:800px) {
    .header-wrapper {
        padding: 1rem 1.5rem;
    }

    .nav-logo {
        width: 180px;
    }

    .topbtn {
        font-size: 18px;
        padding: 10px;
    }
}

@media (max-width:576px) {

    .nav-logo {
        width: 125px;
    }

    .topbtn {
        font-size: 17px;
        padding: 6px 8px;
        margin-left: 4px;
    }

}

@media (max-width:400px) {
    .header-wrapper {
        padding: 2rem 15px;
    }

    .nav-logo {
        width: 110px;
    }

    .topbtn {
        font-size: 16px;
    }

}

/*====================================
# 主頁
==================================== */
.layout {
    overflow: hidden;
}

.kv {
    background-color: #0c192a;
}

.foreword {
    position: relative;
    color: #fff;
    background-color: #0c192a;
    padding: 5rem 2rem 10rem;
    margin-bottom: -5.5rem;
}


.foreword-frame {
    padding: 8rem 2rem;
    background-color: #d2f5ff;
    position: relative;
    border-radius: 50%;
    margin: 0px -50% -110px;
}

.topic {
    font-size: 2.5rem;
    font-weight: 600;
    font-style: italic;
    color: #ff8906;
}


.sec-gift {
    padding: 12rem 2rem 6rem;
    text-align: center;
    background-color: #ffffff;
    background-image: radial-gradient(#b2d9ff 1.1px, #ffffff 1.1px);
    background-size: 22px 22px;
}

.download-icon {
    border: 1px solid #fff;
    opacity: 0.75;
    transition: all 0.2s ease-in-out;
}

.download-icon:hover {
    opacity: 1;
}

@media (max-width:576px) {
    .foreword-frame {
        margin: 0;
        border-radius: 0;
    }

    .foreword-frame,
    .sec-gift {
        padding: 3rem 2rem;
    }
}

.sec-tks {
    padding: 4rem 2rem;
    color: #ffffff;
    background-color: #0c192a;
}

/*====================================
# 按鈕
==================================== */
.m-btn {
    position: relative;
    display: block;
    max-width: 320px;
    margin: 0 auto;
    text-align: center;
    padding: 10px 20px;
    border-radius: 25px;
    background: #41acff;
    font-size: 20px;
    letter-spacing: 2px;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 0 0 0 transparent;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
}

.m-btn:hover {
    color: #fff;
    background: #0098ff;
    box-shadow: 0 0 30px 5px rgba(0, 142, 236, 0.7);
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

.m-btn:hover::before {
    -webkit-animation: sh02 0.5s 0s linear;
    -moz-animation: sh02 0.5s 0s linear;
    animation: sh02 0.5s 0s linear;
}

.m-btn::before {
    content: '';
    display: block;
    width: 0px;
    height: 86%;
    position: absolute;
    top: 7%;
    left: 0%;
    opacity: 0;
    background: #fff;
    box-shadow: 0 0 50px 30px #fff;
    -webkit-transform: skewX(-20deg);
    -moz-transform: skewX(-20deg);
    -ms-transform: skewX(-20deg);
    -o-transform: skewX(-20deg);
    transform: skewX(-20deg);
}

@keyframes sh02 {
    from {
        opacity: 0;
        left: 0%;
    }

    50% {
        opacity: 1;
    }

    to {
        opacity: 0;
        left: 100%;
    }
}

.m-btn:active {
    box-shadow: 0 0 0 0 transparent;
    -webkit-transition: box-shadow 0.2s ease-in;
    -moz-transition: box-shadow 0.2s ease-in;
    transition: box-shadow 0.2s ease-in;
}


/*====================================
# icon-box
==================================== */

.icon-box {
    text-align: center;
    padding: 40px 20px 30px 20px;
    transition: all ease-in-out 0.3s;
    background: #fff;
    margin: 2rem 0 4rem;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.icon-box .icon {
    margin: 0 auto;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: ease-in-out 0.3s;
    position: relative;
}

.icon-box .icon i {
    font-size: 36px;
    transition: 0.5s;
    position: relative;
}

.icon-box .icon svg {
    position: absolute;
    top: 0;
    left: 0;
}

.icon-box .icon svg path {
    transition: 0.5s;
    fill: #f5f5f5;
}

.iconbox-blue i {
    color: #0098ff;
}

.iconbox-blue:hover .icon i {
    color: #fff;
}

.iconbox-blue:hover .icon path {
    fill: #0098ff;
}


/*====================================
# 報名頁
==================================== */
.sec-signup {
    padding: 4rem 2rem;
    color: #ffffff;
    background-color: #0c192a;
}

.sec-signup h2 {
    padding: 5px;
    margin-bottom: 1.5rem;
}


.sec-signup input[type=checkbox],
.sec-signup input[type=radio] {
    margin-left: 10px;
    margin-right: 3px;
}

.sec-signup .help-block {
    font-size: 16px;
    color: #F6AB00;
}

@media (max-width:576px) {
    .sec-signup .required {
        text-align: left;
    }
}



/*====================================
# footer
==================================== */
footer {
    color: #fff;
    font-size: 15px;
    padding: 15px;
    background: linear-gradient(180deg, rgba(0, 82, 145, 1) 0%, rgba(2, 25, 54, 1) 100%);
    background-size: cover;
}

footer img {
    width: 300px;
    display: block;
    margin: 0 auto;
}