html {
    scroll-behavior: smooth;
}

body {
    font-size: 16px;
    line-height: 1.8em;
    color: #333333;
    font-family: 'Noto Sans TC', 'Roboto', Arial, "Microsoft JhengHei", '新細明體', Helvetica, sans-serif;
    background-color: #24264c;
}

::selection {
    background-color: #D8F3FF;
    color: #121212;
}

a {
    color: #006997;
}

a:hover {
    text-decoration: none;
}


/* ------------------------------
                kv
   ------------------------------ */
.kv-reward {
    width: 100%;
    height: 450px;
    background-color: #efefef;
    background-image: url(../img/kv_articles_bg.jpg);
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
}

.kv-bear {
    position: absolute;
    bottom: 0;
    right: 0;
    max-width: 350px;
}

.kv-reward>.kv-content {
    width: 60%;
    height: 100%;
    margin: 0 auto;
    text-align: center;
    z-index: 1000;
}

.kv-content:before {
    position: relative;
    content: '';
    display: inline-block;
    width: 0;
    height: 20%;
    /*依據kv高度調整位置，改變kv主文字位置*/
    vertical-align: middle;
}

.kv-reward-logo {
    width: 70%;
    margin: 0 auto;
}

.kv-reward-subtitle {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 500;
    text-shadow: 0 0 5px #ffffff, 0 0 5px #ffffff, 0 0 2px #ffffff
}

@media (max-width: 1200px) {
    .kv-reward>.kv-content {
        width: 40%;
    }

    .kv-reward-logo {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .kv-reward {
        height: 400px;
    }

    .kv-reward>.kv-content {
        width: 90%;
    }

    .kv-bear {
        max-width: 120px;
    }

}



/* ------------------------------
         btn-winner
   ------------------------------ */
.btn-winner-switch-group {
    background-color: #00000061;
    border: 3px solid #0000005e;
    border-radius: 50px;
    padding: 8px;
    max-width: 300px;
    width: 100%;
    margin: 2% auto;
    display: -ms-flexbox;
    display: flex;
    justify-content: space-between;
}


.btn-winner-switch-right,
.btn-winner-switch-left {
    padding: 15px;
    font-size: 22px;
    border: none;
    transition: all .3s ease;
    position: relative;
    width: 48%;
    display: inline-block;
    border-radius: 50px;
    background: transparent;
    color: #ffffff;
}

.btn-winner-switch-right:hover,
.btn-winner-switch-left:hover {
    background-color: rgba(255, 255, 255, 0.7);
}


.btn-winner-switch-right.actived,
.btn-winner-switch-left.actived {
    background: #ffd025;
    color: #00448d;
    user-select: none;
    cursor: inherit;
}

/* ------------------------------
        個人
   ------------------------------ */
.winner-item {
    position: relative;
    max-width: 300px;
    margin: 0 auto;
    margin-bottom: 60px;
}

.winner-item:before {
    content: '';
    position: absolute;
    left: -20px;
    top: 4px;
    width: calc(100% + 40px);
    height: 20px;
    border-radius: 6px;
    background-image: linear-gradient(to bottom, #edc386 14%, #f2a609 14%, #f2a609 80%, #d98c20 80%);
}

.winner-item__body {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    z-index: 1;
}

.winner-item__body:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.15);
}

.winner-item__body img {
    user-select: none;
    max-width: 100%;
}

.winner-item .flag-wreath {
    position: absolute;
    width: 100%;
    top: -45px;
    left: 0;
    z-index: 1;
}

.winner-item__content {
    position: absolute;
    left: 0;
    top: 30px;
    width: 100%;
    padding: 20px 30px;
    text-align: center;
}

.winner-item__body:after {
    content: '';
    position: absolute;
    left: 0;
    top: 22px;
    width: 100%;
    height: 6px;
    background-color: rgba(0, 0, 0, 0.2);
}

.winner-item:after {
    content: '';
    position: absolute;
    left: -10px;
    top: 0;
    width: calc(100% + 20px);
    height: 28px;
    background-image: linear-gradient(to bottom, #f0cc98 14%, #F7B52D 14%, #F7B52D 80%, #E39F3F 80%);
}

.winner-item__content a {
    display: inline-block;
    line-height: 1.3;
}

.winner-item__avatar {
    width: 80px;
    height: 80px;
    background-color: #fff;
    border-radius: 50%;
    text-align: center;
    overflow: hidden;
}

.winner-item__avatar img {
    height: 100%;
    width: auto;
}

.winner-item__name {
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 700;
    color: #FFFFA6;
}

.winner-item__group {
    margin-bottom: 10px;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 700;
    color: #664935;
    border-radius: 20px;
    background-color: #FBCD3C;
}

.winner-item__topic {
    color: #fff;
}

/* ------------------------------
        團隊
   ------------------------------ */
.sec_team {
    padding: 3rem 1rem;
}

.winner-title {
    max-width: 500px;
    margin: 0 auto;
}

.reward-card {
    background-color: #ffffff;
    padding: 1.8rem 2.5rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
    border-radius: 8px;
    box-shadow: #54537D 0px 0px 0px 6px, #ABA9BB 0px 0px 0px 12px;
}

.reward-card-left {
    margin-top: -50px;
    padding-right: 40px;
}

.team-name {
    font-size: 1.8rem;
    line-height: 2;
}

.rc-photo {
    position: relative;
    width: 100%;
    margin: auto;
    overflow: hidden;
    border: 3px solid #ffffff;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 0 4px #8186f1, 0 0 0 5px #8186f1, 0 6px 8px 2px rgb(0 0 0 / 30%);
}

.rc-photo-image {
    width: 100%;
}


.team-member {
    border: 1px solid #006997;
    padding: 10px;
    margin: 15px 0;
    border-radius: 10px;
}

.member-tag {
    display: inline-block;
    padding: 0 10px;
    position: absolute;
    left: -45px;
    top: 15px;
    color: #ffffff;
    background-color: #006997;
    border-radius: 10px;
}

.tm-img {
    max-width: 50px;
    border-radius: 50%;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px, rgb(209, 213, 219) 0px 0px 0px 1px inset;
    display: inline-block;
    vertical-align: middle;
}

.member-name {
    display: inline-block;
    padding: 5px;
}

.t-icon {
    width: 30px;
}

.t-title {
    font-size: 18px;
    line-height: 1.5;
}

.t-title a {
    color: #006997;
}


.title-bg {
    background-color: #efefef;
    border-radius: 10px;
    padding: 8px 15px;
}

.icon-tag {
    font-size: 15px;
    color: #666666;

}

@media (max-width: 767px) {
    .tm-img-box {
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .reward-card {
        margin: 10px 15px;
    }
}


/* ------------------------------
              評審
   ------------------------------ */

.sec_adj {
    padding: 3rem 1.5rem;
}

.adj-img {
    position: relative;
    max-width: 100%;
    height: 150px;
    width: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    display: block;
    z-index: 1;
    top: 40px;
    border: 6px solid #ffffff;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.adj-img img {
    width: 100%;
}


.adj-card {
    background-color: #ffffff;
    padding: 3.5rem 20px 1.5rem;
    position: relative;
    min-height: 388px;
    border-radius: 15px;
    box-shadow: 8px 8px 0px 0 #00a199;
}


.adj-name {
    text-align: center;
    font-size: 24px;
    padding-bottom: 15px;
    color: #00a199;
}

.adj-intro {
    line-height: 1.5;
    color: #666666;
}


/* ribbon-banner */
.ribbon-banner {
    display: block;
    max-width: 85%;
    line-height: 1.1;
    position: relative;
    background: gray;
    background-image: linear-gradient(-60deg, #ff5858 0%, #f09819 100%);
    color: #fff;
    text-align: center;
    padding: .3em 1em .3em;
    margin: .75em auto 1.25em;
    text-shadow: 0 1px 3px #6c6c6c;
}

.ribbon-banner:before,
.ribbon-banner:after {
    content: "";
    position: absolute;
    display: block;
    bottom: -0.35em;
    border-width: .85em;
    border-style: solid;
    border-color: #e27917;
    z-index: -1;
}

.ribbon-banner:before {
    left: -1em;
    border-right-width: 1.5em;
    border-left-width: 0.5em;
    border-left-color: transparent;
}

.ribbon-banner:after {
    right: -1em;
    border-left-width: 1.5em;
    border-right-width: 0.5em;
    border-right-color: transparent;
}

.ribbon-banner span:before,
.ribbon-banner span:after {
    content: "";
    position: absolute;
    display: block;
    border-style: solid;
    border-color: #a86131 transparent transparent transparent;
    bottom: -0.35em;
}

.ribbon-banner span:before {
    left: 0;
    border-width: 0.35em 0 0 1em;
}

.ribbon-banner span:after {
    right: 0;
    border-width: 0.35em 1em 0 0;
}



/* ------------------------------
                 goTop
   ------------------------------ */

#gotopBtn {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Fixed/sticky position */
    bottom: 20px;
    /* Place the button at the bottom of the page */
    right: 30px;
    /* Place the button 30px from the right */
    z-index: 99;
    /* Make sure it does not overlap */
    border: none;
    /* Remove borders */
    outline: none;
    /* Remove outline */
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
    cursor: pointer;
    /* Add a mouse pointer on hover */
    padding: 10px 16px;
    border-radius: 50%;
    font-size: 18px;
    transition: 0.2s;
}

#gotopBtn:hover {
    color: #333;
    background-color: rgba(255, 255, 255, 0.5);
}

/* ------------------------------
           20230818 new
   ------------------------------ */

.top-up{
    position: fixed;
    right: 0;
    bottom: 5rem;
    z-index: 10;
    width: 200px;
}

.top-up img{
    width: 100%;
    display: block;
}

@media (max-width:576px) {
    .top-up{
    position: relative;
    right: 0;
    bottom: 0;
    margin: 2rem auto;
    width: 300px;
    }
}