html {
    scroll-behavior: smooth;
}

body {
    font-size: 18px;
    line-height: 1.8em;
    color: #333333;
    font-family: 'Noto Sans TC', '微軟正黑體', '新細明體', Arial, Helvetica, sans-serif;
}

section {
    padding: 2em 1.5em;
}

/*** nav ***/
nav {   
    /* background-color: #121212;  */
    box-shadow: 0 0 3px rgb(0 0 0 / 20%);  
}

.navbar-dark .navbar-nav .nav-link{
    color: #fff;
}
.donate-link {
    background-color: #fdd000;
    transition-duration: 0.3s;    
    padding: 8px 30px;
    border-radius: 25px;
}
.donate-link:hover {
    background-color: #E6B100;
}
.donate-link-mobile {
    opacity: 1;
    visibility: visible;
    transition-property: opacity, visibility;
    transition-duration: 0.5s;
    transition-timing-function: ease;
    transition-delay: 0.5ms;
}
.donate-link-desktop {
    display: none;
}

@media(min-width: 992px) {
    .donate-link-mobile {
        opacity: 0;
        visibility: hidden;
        transition-property: opacity, visibility;
        transition-duration: 0.1ms;
    }
    .donate-link-desktop {
        display: block;
    }
}
/*** nav end ***/

a {
    color: #fdd000;
}

a:hover {
    color: #E6B100;
    text-decoration: none;
}

.btn-main {
    color: #fff;
    background-color: #0063A3;
    border-color: #0063A3;
    padding: 15px 20px;
    border-radius: 30px;
    margin-bottom: 10px;
}

.btn-main:hover {
    color: #efefef;
    background-color: #014c7e;
    border-color: #014c7e;
}



.kv {
    padding-top: 75px;
    background-color: #000000;
}


.marker {
    background: linear-gradient(transparent 65%, #F4DF19 35%);
}

.section-foreword {
    background-color: #fff;
    /* color: #fff; */
}


.foreword-info {
    background-color: #fff;
    padding: 10px;
    margin-bottom: 30px;
    color: #121212;
    font-size: 20px;
}

.fore-title{
    text-align: center;
    font-size: 2rem;
    padding: 3rem 1rem 2rem;
}
.fore-title span{
    display: block;
    border-radius: 10vw;
    padding: 2.5vw 0;
    box-sizing: border-box;
    border: 3px solid #0063A3;
    color: #0063A3;   
    
}

.main-title {
    font-size: 3.5rem;
    color: #fff;
    font-weight: 600;
    opacity: 0.6;
    letter-spacing: 0.05em;
    text-align: center;
    margin: 2rem 0;
    text-shadow: 0 3px 6px rgb(0 0 0 / 16%);
}

.agenda-content {
    color: #ffffff;
}


.section-agenda {
    background-color: #000;
    color: #fff;
}


.agenda-title {
    font-size: 20px;
    color: #124093;
}

.agenda-speak {
    font-size: 16px;
    color: #666666;
}

.thead-color {
    background-color: #124093;
    color: #fff;
    letter-spacing: 3px;
}

.section-info {
    position: relative;
    background-color: #0F9DE0;
    color: #fff;
}
/* .section-info::before {
    content: "";
    position: absolute;
    bottom: 30px;
    left: 0;
    background: #0F9DE0;
    width: 100%;
    height: 100%;
    clip-path: polygon(0 100px, 100% 0%, 100% calc(100% - 100px), 0% 100%);
    
} */



.section-tech {
    position: relative;
    background-color: #e4eef5;
}

/* .section-tech::before {
    content: "";
    position: absolute;
    bottom: 30px;
    left: 0;
    background: #f7f7fa;
    width: 100%;
    height: 100%;
    clip-path: polygon(0 100px, 100% 0%, 100% calc(100% - 100px), 0% 100%);
    
} */

.section-tech h2 {
    color: #0066B3;
}

.section-tech a {
    color: #333;
}

.section-tech a:hover {
    color: #ec9b01;
}

table{
    z-index: 100;
}

.pointbox {    
    cursor: pointer;
    position: relative;
    background-color: #F2F4F6;
    padding: 40px 15px;
    border-radius: 20px;    
    margin-bottom: 30px;
    text-align: center;
    transition: all .2s;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.pointbox:hover{
    transform: translateY(-5px);
 box-shadow: 0 10px 20px rgba(27, 27, 27, .2);
}

.pointbox h5 {
    font-size: 22px;
    color: #0063A3 ;
    /* font-weight: 600; */
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    min-height: 80px;
}

.pointbox h5::before {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    width: 34px;
    border-bottom: 2px solid #0063A3;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.gift-title {
    background-color: #7f5af0;
    padding: 3px 10px;
    border-radius: 4px;
}

.add-sc {
    background-color: #FF794C;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    margin-left: 8px;
    transition-duration: 0.5s;
}

.add-sc:hover {
    background-color: #DB5537;
}
.sp-img {
    border-radius: 50%;
    max-width: 85%;
}
.feature-box {
    background-color: #fff;
    padding: 10px 25px;
    position: relative;
}

.feature-text::before {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 20px 10px 0;
    border-color: transparent #fff transparent transparent;
    left: -20px;
}

.feature-text2::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 20px;
    border-color: transparent transparent transparent #fff;
    right: -20px;
    bottom: 100px;
}

@media(max-width: 576px) {
    .feature-text::before {
        position: absolute;
        content: "";
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0 15px 20px 15px;
        border-color: transparent transparent #fff transparent;
        top: -15px;
        left: 50%;
    }

    .feature-text2::after {
        position: absolute;
        content: "";
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 20px 15px 0 15px;
        border-color: #fff transparent transparent transparent;
        right: 45%;
        bottom: -15px;
        z-index: 1;
    }
    .sp-img {
        margin: 25px 10px;
    }
}

.feature-headline {
    font-size: 24px;
    color: #121212;
    font-weight: 600;
    margin: 20px 0;
    line-height: 1.3;
}

.feature-headline span {
    color: #666;
    font-weight: normal;
    font-size: 18px;
}

.feature-text,
.feature-text2 {
    font-size: 15px;
    line-height: 1.5;
    text-align: justify;
}


.section-gift {
    padding: 3.5em 0;
    background-size: cover;
    background: url('../img/background.jpg');
    background-attachment: fixed;

}


.gift-box {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 30px 40px;
    color: #121212;
    font-size: 1.3rem;
    border-radius: 8px;
}

.gift-box h2 {
    text-align: center;
}


/*sponsor*/
.level-block {
    background-color: #F2F4F6;
}

.level-block-title {
    color: #121212;
    font-weight: 700;
    text-align: center;
    margin: 20px 0 10px;
}

.level-block img {
    max-width: 250px;
}

.alert-dark {
    /* background-color: #444; */
    color: #666;
    font-size: 16px;
}

.info-list {
    background-color: #fff;
    margin-bottom: 20px;
    padding: 20px 30px;
}

footer {
    color: #fff;
    background-color: #0066B3;
    font-size: 16px;
    padding: 2rem 0;
    line-height: 1.4em;
}
footer a{
    color: #fff;
}


/*sidebar*/
#sidebarReg .register {
    background-color: #fdd000;
    color: #fff;
    position: fixed;
    bottom: 40%;
    right: 0;
    border: none;
    display: block;
    font-weight: bold;
    font-size: 20px;
    writing-mode: vertical-lr;
    padding: 25px 10px;
    z-index: 1000;
    border-radius: 10px 0 0 10px;
    box-shadow: 2px 3px 8px 0 rgba(58, 15, 228, 0.32);
}

#sidebarReg .register:hover {
    background-color: #E6B100;
}


:target:before {
    content: "";
    display: block;
    height: 72px;
    /* fixed header height*/
    margin: -72px 0 0;
    /* negative fixed header height */
}

/* 議程內容 */
thead{
    background-color: #0063a3;
    color: #fff;
    font-weight: normal;
}

.table th, .table td{
    border-top: 3px solid #e4eef5;
}
.table-striped tbody tr:nth-of-type(odd){
    background-color: rgba(85,174,232,0.2);
}
.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
    background-color: #fff8d1;
  }
.table-time{
    text-align: center;
}

.ag-title{
    color: #0063A3;
}

/* ag-btn */
.ag-btn {
    border: none;    
    font-size: 17px;
    background: transparent;
    color: #006bb3;
    border: solid 1px rgba(0, 107, 179, 0.2);
    padding: 6px 18px;
    border-radius: 4px;
    transition-duration: 0.2s;
   }
   
   .ag-btn:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f0d7";
    opacity: 0;
    margin-left: -15px;
    transition-duration: 0.2s;
   }
   
   .ag-btn:hover:before {
    margin-left: 0px;
    opacity: 1;
   }
   
   .ag-btn:hover {
    color: black;
    background: rgba(0, 0, 0, 0.02);
    border: solid 1px gainsboro;
   }