html {
    scroll-behavior: smooth;
}

body {
    font-size: 18px;
    line-height: 1.8em;
    color: #333333;
    font-family: 'Klavika Regular',
        'Klavika Bold',
        'Klavika Light',
        'Noto Sans TC',
        '微軟正黑體',
        '新細明體',
        Arial,
        Helvetica,
        sans-serif;

}

section {
    padding: 2em 1.5em;
}


nav {
    background: #000;
    box-shadow: 0 0 3px rgb(0 0 0 / 20%);
}

.navbar {
    padding: 0px 5vw;
    margin: 0px;
}

.navbar-brand img {
    max-width: 75%;
}

.navbar-nav {
    width: 100%;
}

.hightlight {
    background-color: #3CC4F1;
}

.navbar-dark .navbar-nav .nav-link {
    color: #ffffff;
}

.nav-link {
    padding: 20px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
    transform: translate(2px, 1px);

}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: #fff;
}

a {
    color: #27aae1;
}

a:hover {
    color: #666;
    text-decoration: none;
}

.masthead {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    width: 100%;
    height: 65vh;
    /* if you don't want it to take up the full screen, reduce this number */
    overflow: hidden;
    background-size: cover !important;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0.65) 100%), url(../img/kvbg.jpg) no-repeat center center scroll;
    color: #ffffff;
}

h1 {
    font-style: normal;
    font-weight: bold;
    color: #eee;
    font-size: 8vmin;
    letter-spacing: 0.03em;
    line-height: 1;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 40px;
}

.masthead h3 {
    letter-spacing: 2px;
}

.masthead p {
    font-size: 1.8rem;
    padding-top: 1.2rem;
}

.kv {
   padding-top: 2.5em;
   background-color: #000000;
}



.logo1 {
    position: absolute;
    left: 0;
    top: 25px;

}

.logo2 {
    position: absolute;
    top: 25px;
    right: 25px;
}

.logo3 {
    position: absolute;
    left: 0;
    bottom: 0;
}

.logo4 {
    position: absolute;
    bottom: 0;
    right: 0;
}

@media (max-width: 576px) {

    .logo1,
    .logo2,
    .logo3,
    .logo4 {
        max-width: 40%;
    }

    .masthead h3 {
        font-size: 16px;
    }

    .masthead p {
        font-size: 18px;
    }

}

.marker {
    background: linear-gradient(transparent 65%, #fff810 35%);
}

.section-foreword {
    background-color: #636466;
    color: #fff;
}

.foreword-title {
    color: #e04010;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.8;
    text-align: center;
    font-size: 2.2em;
}


.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: #121212;
    text-align: center;
    margin: 2rem 0;
}


.four-box {
    text-align: center;
    padding: 34px 30px;
    border-radius: 20px;
    /* border: 1px solid #000; */
    background-color: #fff;
    min-height: 300px;
    margin-bottom: 20px;
}

.four-box h4 {
    color: #EC6604;
    font-weight: 700;
    font-size: 30px;
}

.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: #efefef;
}


.section-tech {
    background: linear-gradient(150deg, #000 50%, #06223a 50%);
}

.section-tech h2 {
    color: #fff;
}

.section-tech a {
    color: #333;
}

.section-tech a:hover {
    color: #ec9b01;
}

.feature-box {
    text-align: center;
    background-color: #fff;
    border: 2px solid #e7e7e7;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
    padding: 16px;
    min-height: 350px;
    margin-bottom: 25px;
    border-radius: 20px;
    min-height: 600px;

}


.feature-box img {
    margin: 6px;
    max-width: 200px;
    border-radius: 8px;
}

.gift-title {
    background-color: #007c97;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 700;
}

.add-sc {
    background-color: #007c97;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    margin-left: 8px;
}

.add-sc:hover {
    background-color: #00447c;
}

@media screen and (max-width: 768px) {
    .feature-box {
        min-height: 465px;
    }
}

@media screen and (max-width: 576px) {
    .feature-box {
        min-height: 300px;
    }

}

.feature-headline {
    font-size: 24px;
    color: #121212;
    font-weight: 600;
    margin: 20px;
    line-height: 1.3;
}

.feature-headline span {
    color: #666;
    font-weight: normal;
    font-size: 18px;
}

.feature-text {
    font-size: 15px;
    line-height: 1.5;
    text-align: justify;
}

.section-video {
    background-color: #fef2c0;
}

.dwonload-list {
    /* border: 1px solid #EC6604; */
    background-color: #fff;
    padding: 10px 6px;
    margin-bottom: 20px;
}

.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.6);
    padding: 30px 40px;
    color: #121212;
    font-size: 1.3rem;
    border-radius: 8px;
}

.gift-box h2 {
    text-align: center;
}




/*sponsor*/
.level-block {
    background-color: #171717;
}

.level-block-title {
    color: #fff;
    font-weight: 700;
    text-align: center;
    margin: 20px 0 10px;
}

.level-block img {
    max-width: 250px;
}

.alert-dark {
    background-color: #444;
    color: #fff;
    font-size: 16px;
}


footer {
    color: #fff;
    background-color: #121212;
    font-size: 16px;
    padding: 2rem 0;
    line-height: 1.4em;
}



/*sidebar*/
#sidebarReg .register {
    background-color: #007c97;
    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 0px rgba(58, 15, 228, 0.32);
}

#sidebarReg .register:hover {
    background-color: #082531;
}

#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(239, 132, 76, 0.5);
    color: #fff;
    cursor: pointer;
    /* Add a mouse pointer on hover */
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 18px;
}

#gotopBtn:hover {
    background-color: rgba(239, 132, 76, 0.9);
}

:target:before {
    content: "";
    display: block;
    height: 72px;
    /* fixed header height*/
    margin: -72px 0 0;
    /* negative fixed header height */
}