html {
    scroll-behavior: smooth;
}

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

::selection {
    background-color: #9BFDEA;
    color: #121212;
}

a {
    color: #3da9fc;
}

/* ------------------------------
                Navbar
   ------------------------------ */

.signup-nav {
    background-color: #3D4856;
    font-size: 18px;
    padding: 1.2rem;
}

.signup-nav a {
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s;
}


.signup-nav a:hover {
    color: #c6c6c6;
    text-decoration: none;
}

/* ------------------------------
                 btn
   ------------------------------ */

.btn-signup {
    color: #ffffff;
    background-color: #3da9fc;
    border-color: #3da9fc;
    padding: 15px 20px;
    border-radius: 30px;
}

.btn-signup:hover {
    background-color: #0e50e2;
    border-color: #0e50e2;
    color: #ffffff;
}

.btn-main {
    text-decoration: none;
    color: #333333;
    font-weight: 600;
    font-size: 1.5rem;
    border-radius: 20px;
    padding: 12px 60px;
    margin-bottom: 20px;
}

.btn-main:active {
    transform: translate(0px, 5px);
    -webkit-transform: translate(0px, 5px);
    box-shadow: 0px 1px 0px 0px;
}

.yellow {
    background-color: #ffd651;
    box-shadow: 0px 5px 0px 0px #ffad14;
}

.yellow:hover {
    background-color: #ffe98f;
}

.gray {
    color: #efefef;
    background-color: #999999;
    box-shadow: 0px 5px 0px 0px #666666;
}

.btn-sub {
    font-size: 1.2rem;
    color: #efefef;
    font-weight: 500;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 15px;
}

.green {
    background-color: #23a3f0;
    box-shadow: 0px 5px 0px 0px #3a76e4;
}

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

.kv-content {
    width: 40%;
    height: 100%;
    margin: 0 auto;
    text-align: center;
}

.kv-content:before {
    position: relative;
    content: '';
    display: inline-block;
    width: 0;
    height: 35%;
    vertical-align: middle;
}

.kv-signup-content {
    width: 40%;
    height: 100%;
    margin: 0 auto;
    text-align: center;
}

.kv-signup-content:before {
    position: relative;
    content: '';
    display: inline-block;
    width: 0;
    height: 35%;
    vertical-align: middle;
}


.kv-signup-content:after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-image: linear-gradient(180deg, #5197e700, #5197e7);
    content: "";
  }
  

@media (max-width: 768px) {
    .kv {
        height: 20vh;
    }

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


/* ------------------------------
        主頁 - section-main
   ------------------------------ */

.section-main {
    background-color: #5197e7;
    padding: 5rem 1rem;
}


.main-title {
    text-align: center;
    margin-bottom: 2rem;
    color: #ffe98f;
}

.subtitle {
    text-align: center;
    margin-bottom: 4rem;
    color: #ffffff;
}

.highlight-red {
    color: #f25042;
}


.card.signup-box {
    border: 1px solid #333333;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;

}

.signup-box .card-title {
    color: #121212;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin: 2rem 0 2.5rem;
}

.signup-box .card-body {
    padding: 2rem;
}

.signup-box .card-text {
    text-align: justify;
}

.signup-box .card-footer {
    border: none;
    background-color: #ffffff;
    border-radius: 10px;
}

/* ------------------------------
        主頁 - 注意事項 
   ------------------------------ */
.section-notice {
    font-size: 16px;
    padding: 4rem 1rem;
    background-color: #efefef;
}

.section-notice .fa-ul .fa-li {
    color: #232946;
}


/* ------------------------------
        報名表格頁 - 共用
   ------------------------------ */
.signup-list {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 2.5rem 2.5rem 3.5rem;
    box-shadow: inset 0 0 10px 0 #cfcfcf, 0px 3px 0px 0px #b3b3b3, 0px 4px 10px #073996;
}

.signup-title {
    color: #0f56d9;
    font-weight: bold;
    position: relative;
    text-align: center;
    margin: 1.5rem 0 2.5rem;
}

.signup-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 5px;
    margin: 20px auto 0;
    background: #5aa4ee;

}

.form-title {
    font-weight: bold;
    font-size: 20px;
}

.btn-signup-block {
    border-top: 1px solid #efefef;
    padding-top: 2rem;
    margin-top: 3rem;
}

.note {
    font-size: 16px;
    color: #23a3f0;
    padding-left: 20px;
}

/* ------------------------------
     signup-team(團隊報名頁) 
   ------------------------------ */

.step-title {
    color: #FF8749;
    font-weight: bold;
    text-align: center;
    position: relative;
}

.step-title:after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7.5px 0 7.5px 15px;
    border-color: transparent transparent transparent #FF8749;
    top: 16px;
    margin-left: 15px;
}

.highlight-blue {
    color: #1f5fb3;
}

.leader-tag {
    color: #f25042;
    border: 1px solid #f25042;
    padding: 0 8px;
    border-radius: 6px;
    margin-left: 20px;
}

.btn-invite {
    color: #ffffff;
    background-color: #2cb67d;
}

.btn-invite:hover {
    color: #efefef;
    background-color: #209C75;
}

.btn-remove {
    color: #ef4565;
}

.btn-remove:hover {
    color: #b3334a;
}

.inviting-tag {
    color: #757687;
}

.invit-modal .btn-main{
 font-size: 16px;
}

/* ------------------------------
    signup-profile (我的報名頁)
   ------------------------------ */
.signup-profile {
    min-height: 800px;
}

.profile-area {
    padding: 1rem 0 2rem;
}

.proflie-img {
    border: 1px solid #cfcfcf;
}

.proflie-img img{
    object-fit: cover;
    width: 100%;
}

.account span,
.name span {
    margin-right: 6px;
}

@media (max-width: 576px) {
    .account {
        margin-top: 20px;
    }
}

.signup-profile-title {
    font-weight: 600;
    padding-right: 15px;
    color: #121212;
}

.signup-profile-list {
    font-size: 18px;
    padding: 15px 0;
    line-height: 1.8;
    border-top: 1px solid #dfdfdf;
}

.signup-profile-list .date {
    font-size: 16px;
}

.btn-profile {
    text-decoration: none;
    color: #333333;
    font-weight: 600;
    border-radius: 12px;
    font-size: 18px;
    padding: 10px 30px;
    margin: 10px 0;
}

.btn-profile:active {
    transform: translate(0px, 5px);
    -webkit-transform: translate(0px, 5px);
    box-shadow: 0px 1px 0px 0px;
}

.btn-profile.green:hover {
    background-color: #30D6FF;    
}


.s-line {
    border-bottom: 4px dotted #cfcfcf;
    margin: 20px 0;
}

.btn-edit {
    color: #81A3FF;
}

.btn-edit:hover {
    color: #0D71B5;
}

/* ------------------------------
    我的報名 - 文章按鈕
   ------------------------------ */
.on-blue,
.off-gray {
    margin: 0;
    padding: 5px 10px;
    border-radius: 12px;
}

.on-blue {
    color: #ffffff;
    background-color: #1396D8;
    box-shadow: 0px 5px 0px 0px #0D71B5;
}

.on-blue:hover {
    color: #2F4858;
    background-color: #1BC0FC;
}

.off-gray {
    color: #666666;
    background-color: #DFE0DF;
    box-shadow: 0px 5px 0px 0px #cfcfcf;
}

/* ------------------------------
   鐵人發文 modal
   ------------------------------ */
   .ir-modal-list{
    position: relative;
    padding: 10px;
   }

.ir-modal-list:hover{
    border: 2px solid #ffcc14;
   }

.ir-modal-list a{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.group-badge{
    color: #fff;
    background-color: #0E50E2;
}

.post-select__topic{
    color: #0E50E2;
}
.team-gray{
    color: #7D7483;
}

/* 右下角得獎頁面 */
.top-up {
    position: fixed; /* 固定位置 */
    bottom: 20px; /* 距離下方 20px */
    right: 20px; /* 距離右側 20px */
    z-index: 9999; /* 確保在最上層 */
}

.top-up img {
max-width: 200px; /* 設定圖片最大寬度（可依需求調整） */
cursor: pointer; /* 滑鼠移過時顯示為點擊狀態 */
}