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: #7f5af0;
    transition-duration: 0.3s;    
    padding: 8px 30px;
    border-radius: 25px;
}
.donate-link:hover {
    background-color: #462DAC;
}
.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: #27aae1;
}

a:hover {
    color: #666;
    text-decoration: none;
}

.btn-main {
    color: #fff;
    background-color: #7f5af0;
    border-color: #7f5af0;
    padding: 15px 20px;
    border-radius: 30px;
    margin-bottom: 10px;
}

.btn-main:hover {
    color: #efefef;
    background-color: #462DAC;
    border-color: #462DAC;
}



.kv {
    padding-top: 75px;
    background-color: #000000;
}


.marker {
    background: linear-gradient(transparent 65%, #fff810 35%);
}

.section-foreword {
    background-color: #151b2a;
    color: #fff;
}


.foreword-info {
    background-color: #fff;
    padding: 10px;
    margin-bottom: 30px;
    color: #121212;
    font-size: 20px;
}

.info-title {
    color: #06223a;
    margin: 1.5rem 0 0.5rem;
}

.main-title {
    font-size: 2.5rem;
    color: #151b2a;
    text-align: center;
    margin: 2rem 0;
}

.agenda-content {
    color: #ffffff;
}

.agenda-main-title {
    color: #FFF;
    text-align: center;
    font-size: 40px;
    margin-bottom: 1em;
}

.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 {
    background-color: #F2F4F6;
}


.section-tech {
    background: linear-gradient(150deg, #121212 50%, #151b2a 50%);
}

.section-tech h2 {
    color: #bff4ff;
}

.section-tech a {
    color: #333;
}

.section-tech a:hover {
    color: #ec9b01;
}

.pointbox {
    background-color: #F2F4F6;
    padding: 50px 20px;
    border-radius: 20px;
    min-height: 320px;
    margin-bottom: 20px;
}

.pointbox h5 {
    font-size: 1.6rem;
    color: #7f5af0;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.pointbox h5::before {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    width: 34px;
    border-bottom: 2px solid #6041CE;
    -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: #F2F4F6;
    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 #f2f4f6 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 #f2f4f6;
    right: -20px;
    bottom: 60px;
}

@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 #f2f4f6 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: #f2f4f6 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: #151b2a;
    font-size: 16px;
    padding: 2rem 0;
    line-height: 1.4em;
}


/*sidebar*/
#sidebarReg .register {
    background-color: #7f5af0;
    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: 10;
    border-radius: 10px 0 0 10px;
    box-shadow: 2px 3px 8px 0 rgba(58, 15, 228, 0.32);
}

#sidebarReg .register:hover {
    background-color: #462DAC;
}


:target:before {
    content: "";
    display: block;
    height: 72px;
    /* fixed header height*/
    margin: -72px 0 0;
    /* negative fixed header height */
}
