/*====================================
# 共同設定
==================================== */

html {
    scroll-behavior: smooth;
}

body {
    font-size: 18px;
    line-height: 1.8;
    color: #212121;
    font-family: 'Roboto', 'Noto Sans TC', Arial, '微軟正黑體', '新細明體', Helvetica, sans-serif;
}

section {
    padding: 4.5rem 1.5rem;
}

/*====================================
# hero
==================================== */
#hero {
    color: #fff;
    text-shadow: 2px 2px 5px #16161a;
    position: relative;
    width: 100%;
    height: 650px;
    background: linear-gradient(45deg, rgba(86, 58, 250, 0.2) 0%, rgba(116, 15, 214, 0.5) 100%), url("../img/kvbg.jpg") center center no-repeat;
    background-size: cover;
}

#hero h1 {
    margin: 0;
    font-weight: 700;
    line-height: 64px;
    font-size: 4rem;
}

#hero h1 .xcolor{
  color: #2cb67d;
}

#hero h2 {
    font-size: 3rem;
    margin: 1rem 0 2rem;
    letter-spacing: 0.2rem;
}

#hero h3 {
    line-height: 1.5;
}

#hero h3 .date {
    font-size: 2.5rem;
}

#hero .btn-get-started {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 28px;
    border-radius: 5px;
    transition: 0.5s;
    margin-top: 30px;
    color: #fff;
    border: 2px solid #fff;
}


@media (min-width: 1200px) {
    #hero {
        background-attachment: fixed;
    }
}

@media (max-width: 991px) {
    #hero {
        text-align: center;
    }

}

@media (max-width: 768px) {
    #hero h1 {
        font-size:2.5rem;
        line-height: 45px;
    }

    #hero h2 {
        font-size: 2rem;
        line-height: 40px;
    }

}


/* =======================================
# scrolldown
========================================= */


.scrolldown {
    position: absolute;
    bottom: 10px;
    left: 50%;
}

.scrolldown span {
    position: absolute;
    left: 10px;
    bottom: 10px;
    color: #eee;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}

/* 圓 */
.scrolldown:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #eee;
    animation:
        circlemove 1.6s ease-in-out infinite,
        cirlemovehide 1.6s ease-out infinite;
}


@keyframes circlemove {
    0% {
        bottom: 45px;
    }

    100% {
        bottom: -5px;
    }
}

@keyframes cirlemovehide {
    0% {
        opacity: 0
    }

    50% {
        opacity: 1;
    }

    80% {
        opacity: 0.9;
    }

    100% {
        opacity: 0;
    }
}

/* 線 */
.scrolldown:after {
    content: "";
    /*位置*/
    position: absolute;
    bottom: 0;
    left: 0;
    /*形状*/
    width: 2px;
    height: 50px;
    background: #eee;
}


/*====================================
# 按鈕
==================================== */
.btn-main {
    display: inline-block;
    padding: 12px 50px;
    margin: 10px;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.1rem;
    color: #fff;
    background-image: linear-gradient(to bottom right, #7f5af0, #462DAC);
    border: none;
    border-radius: 40px;
    box-shadow: 0px 4px 0px #462DAC;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.btn-main:hover {
    color: #FFE088;
    transform: translateY(-2px);
    box-shadow: 0px 6px 0px #462DAC;
    text-decoration: none;
}

.btn-main:active {
    transform: translateY(0px);
    box-shadow: none;
    background-image: linear-gradient(to bottom right, #462DAC, #7f5af0);
}




/*====================================
# 內容
==================================== */
.note {
    color: #fffffe;
}

.foreword {
    position: relative;
    color: #fff;
    background-color: #16161a;
    padding: 5rem 2rem 2rem;
}


.foreword::after {
    content: "";
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 40px 100px 0 100px;
    z-index: 1;
    bottom: -40px;
    border-color: #16161a transparent transparent transparent;
}

.info {    
    text-align: center;
    color: #ffffff;
    background-color: #242629;
}

.title {
    color: #7f5af0;
    margin: 2rem 0 1rem;
}

.info-box {
    background-color: #16161a;
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

.info-box h4{
    color: #2cb67d;
}

.info-box p {
    margin-bottom: 0;
    color: #fffffe;
}

.gift {
    background-color: #94a1b2;
}

.form{
    color: #fffffe;
    background-color: #16161a;
}

.form .form-control{
    background-color: #fffffe;
}

.help-block{
    color: #94a1b2;
}

/*====================================
# footer
==================================== */
footer {
    padding: 2rem 1rem;
    color: #fff;
    font-size: 15px;
    background: linear-gradient(45deg, rgba(22, 22, 26, 0.6) 0%, rgba(22, 22, 26, 0.9) 100%), url("../img/kvbg.jpg") bottom center no-repeat;
    background-size: cover;
}