body {
    font-size: 18px;
    line-height: 1.8em;
    color: #333;
    font-family: "微軟正黑體", "新細明體", Ariel, Helvetica, sans-serif;
}

h1 {
    font-weight: bold;
    color: #eee;
    font-size: 3.3rem;
    letter-spacing: 0.03em;
    line-height: 1;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 40px;
}

h2 {
    font-size: 2.4rem;
    letter-spacing: 3px;
    text-align: center;
    color: #017AD0;
    font-weight: 700;
    padding: 2rem 0 1rem;
}

h3 {
    color: #fff;
    letter-spacing: 5px;
}

h4 {
    text-align: center;
    margin-bottom: 1rem;

}

section {
    padding: 2em;
}

.masthead {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    width: 100%;
    height: 50vh;
    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/kv.jpg) no-repeat center center scroll;
}

.logo-left {
    position: absolute;
    left: 10px;
    top: 0;
    max-width: 300px;
}

.logo-right {
    position: absolute;
    right: 0;
    top: 0;
    max-width: 160px;
}

@media (max-width:576px) {
    .masthead {
        height: 40vh;
    }

    h1 {
        font-size: 2.2rem;
        margin-bottom: 20px
    }

    .logo-left {
        max-width: 200px;
    }

    .logo-right {
        max-width: 100px;
    }
}

.navbar {
    padding: 0rem 1rem;

}

.nav-item {
    padding: 0px 10px;
}

.nav-link {
    padding: 0.8rem 1rem;
}

.highlight {
    background-color: #ef4565 !important;
    color: #fff;
    text-shadow: none;
    font-weight: bold;
}


.navbar-dark {
    background-color: #3C2C25;
}

.navbar-dark .navbar-nav .nav-link {
    color: #fff;
}



.btn-index {
    color: #fff;
    background-color: #3da9fc;
    border: none;
    font-weight: 700;
    font-size: 1.4rem;
    margin: 2em 0 1.2em;
    border-radius: 50px;
    line-height: 2.5;
    box-shadow: 0 2px 6px rgb(125 55 4 / 26%);
}

.btn-index:hover {
    color: #fff;
    background-color: #017AD0;
}

.info {
    background-color: #f7f5f0;
    position: relative;
    padding: 5em 0 3em;
}

.info::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 70px 175px 0 175px;
    border-color: #fff transparent transparent transparent;
}

.lg-txt {
    font-size: 2.4rem;
    font-weight: 600;
    color: #3C2C25;
}

.title {
    font-size: 2rem;
    color: #3C2C25;
    font-weight: 600;
}


.card-title {
    color: #094067;
    font-size: 2rem;
}

.gift-title {
    margin-bottom: 20px;
}

.gift-title span {
    background-color: #3da9fc;
    padding: 15px 20px;
    border-radius: 25px;
    color: #fff;
    font-weight: 600;
}

.form_area {
    padding-left: 20%;
}

.help-block {
    color: #3da9fc;
}

label>span {
    color: red;
}

footer {
    color: #9c9c9c;
    background-color: #1a1b1b;
    font-size: 16px;
    padding: 2% 0;
    line-height: 1.4em;
}

/*sidebar*/
#sidebarReg .register {
    background-color: #ef4565;
    color: #fff;
    position: fixed;
    bottom: 15%;
    right: 0;
    border: none;
    display: block;
    font-weight: bold;
    font-size: 20px;
    writing-mode: vertical-lr;
    padding: 25px 10px;
    z-index: 10;
    border-radius: 15px 0 0 15px;
    box-shadow: 0 2px 6px rgb(125 55 4 / 26%);
}


#sidebarReg .register:hover {
    background-color: #CD325E;
}