html {
  scroll-behavior: smooth;
}

body {
  font-size: 18px;
  line-height: 1.8;
  color: #333333;
  font-family: 'Open Sans', 'Noto Sans TC', Arial, '微軟正黑體', '新細明體', Helvetica, sans-serif;
}

section {
  padding: 6rem 1.5rem 5rem;
}

a:hover {
  text-decoration: none;
}

.btn-info {
  padding: 15px 30px;
  border-radius: 30px;
  font-size: 20px;
}


.masthead {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  width: 100%;
  height: 650px; /* if you don't want it to take up the full screen, reduce this number */
  overflow: hidden;
  background-size: cover !important;
  background: url(../img/kvbg.jpg) no-repeat center center scroll;
}

.masthead::before{
  content: "";
  display: block;
  width: 100%;
  height: 15rem;
}

@media (max-width:576px) {
	.masthead{
    height: 500px;
  }

  .masthead::before{
    height: 8rem;
  }
}

/* ======== sec_fore ======== */
.sec_fore {
  padding-top: 8rem;
  padding-bottom: 7rem;
}

.sec_fore h1 {
  font-weight: 600;
  color: #00698C;
  margin-bottom: 1.6rem;
}

.sec_fore h1 span {
  border-bottom: 3px solid #00C6B8;
}

.fore-box {
  position: relative;
  border: 1px solid #00698C;
  border-left: 10px solid #00698C;
  padding: 2rem 2rem 1rem;
  background-color: #ffffff;
  z-index: 1;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.fore-box h5 {
  font-size: 22px;
  color: #212121;
}

.fore-box h5 i {
  color: #00C6B8;
}


.highlight {
  font-size: 28px;
  color: #00C6B8;
  font-weight: 600;
}

/* ======== Video ======== */
.sec_video {
  padding-top: 10rem;
  margin-top: -5rem;
  background-image: url(../img/bg01.jpg);
  background-size: cover;
  transform: skew(0deg, -8deg);
}

.vc {
  transform: skew(0deg, 8deg);
}


.btn-video {
  border: 2px solid #00B4FF;
  transition: 0.2s;
  margin-bottom: 3rem;
}

.btn-video:hover {
  filter: brightness(150%);
  transform: translateY(-5px);
}

/* ======== Features ======== */
.sec_features {
  position: relative;
  overflow: hidden;
  padding-bottom: 15rem;
  padding-top: 10rem;
}

.sec_features:after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10vw 0 0 100vw;
  border-color: transparent transparent transparent #DAF3FF;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
}

.heading {
  position: relative;
  padding: .5em .7em .4em;
  border-bottom: 3px solid #00BBBF;
  color: #333333;
  margin-bottom: 2rem;
  font-weight: 600;
}

.heading::before,
.heading::after {
  position: absolute;
  left: 30px;
  bottom: -15px;
  width: 30px;
  height: 15px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  content: '';
}

.heading::before {
  background-color: #00BBBF;
}

.heading::after {
  bottom: -11px;
  background-color: #fff;
}

.ftab {
  margin-top: 3rem;
}

.ftab .nav-item {
  transition: 0.2s ease-in-out;
}

.ftab .nav-item .nav-link {
  min-width: 234px;
  color: #212121;
  border: 2px solid #4BAAE6;
  border-radius: 15px;
  background-color: #ffffff;
}

.ftab .nav-item h4 {
  font-size: 22px;
  margin-bottom: 0;
}

.ftab .nav-item:hover {
  transform: scale(1.05);

}

.ftab .nav-item img {
  max-width: 120px;
}

.ftab .nav-item .active {
  color: #fff;
  background-color: #4BAAE6;
}

.ftab .nav-item .active img {
  max-width: 120px;
  filter: saturate(10);
}

.feat-pic {
  position: absolute;
  left: 3rem;
  top: 15rem;
  width: 28%;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.tab-pane {
  background-color: #F3FAFF;
  padding: 1rem 1rem 0.2rem;
  border-left: 3px solid #4BAAE6;
  margin: 2rem 0 3rem;
}

@media (max-width:768px) {
  .sec_features {
    padding-top: 40rem;
  }

  .feat-pic {
    width: 60%;
    left: 20%;
  }
}

@media (max-width:576px) {
  .sec_features {
    padding-top: 35rem;
  }

}

/* ======== EDR ======== */
.sec_edr {
  background-color: #DAF3FF;
  padding-top: 0;
  padding-bottom: 8rem;
}

.sec_edr .heading::after {
  bottom: -11px;
  background-color: #DAF3FF;
}

.sec_edr h1 {
  font-size: 3.5rem;
  font-weight: 600;
  color: #094067;
  margin-bottom: 2rem;
}

.sec_edr h3 {
  margin: 2rem 0 1.2rem;
}

.sec_edr h3 span {
  border: 1px solid #212121;
  padding: 0 5px;
}

.edrtxt strong {
  font-size: 22px;
  color: #00939B;
}


.desc {
  font-size: 16px;
  background-color: #F1FAFF;
  padding: 1rem;
  margin-top: 1rem;
}

.edr-card{
  border: none;  
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}

.edr-card .card-body{
  padding-top: 1.5rem;
}

.edr-card .card-footer{
  border: none;
  padding-bottom: 2rem;
}

.edr-card .card-footer .btn-outline-info{
  padding: 8px 25px;
  border-radius: 30px;
  font-size: 18px;
}

/*  */

.sec_01,
.sec_02,
.sec_03 {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.sec_01 {
  background-image: url(../img/bg.jpg);
}

.sec_02 {
  background-image: url(../img/bg_finance.jpg);
}

.sec_03 {
  background-image: url(../img/bg_medical.jpg);
}

.intro-box {
  position: relative;
  background: rgb(255, 255, 255);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgb(255, 255, 255);
  padding: 2rem 2rem 1rem;
  margin-bottom: 3rem;
  border-radius: 6px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.tag-title {
  position: absolute;
  display: block;
  background-color: #00698C;
  color: #ffffff;
  left: -2rem;
  padding: 6px 20px 6px 35px;
  font-size: 30px;
}

/* ======== gift ======== */
.sec_gift{
  background-color: #efefef;
  padding-top: 8rem;
}
.titlev {
  position: relative;
  padding: 10px;
  color: #00B4FF;
  text-align: center;
  font-size: 4rem;
  font-weight: 600;
  margin-bottom: 2.2rem;
  letter-spacing: 0.5rem;
}

.titlev::before,
.titlev::after {
  display: inline-block;
  position: absolute;
  width: 15px;
  height: 100%;
  border: 6px solid #00B4FF;
  box-sizing: border-box;
  content: '';
}

.titlev::before {
  top: 0;
  left: 0;
  border-right: none;
}

.titlev::after {
  bottom: 0;
  right: 0;
  border-left: none;
}

.sec_gift h4{
  text-align: center; 
  background-color: #fff;
  line-height: 2;
  display: block;
}

.sec_gift .btn-info{
  padding: 1rem 4rem;
  margin-top: 1.5rem;
}

/*  */

.event-title {
  display: inline-block;
  padding: .5em .7em;
  border: 2px solid #2589d0;
  box-shadow: 5px 5px #2589d0;
  color: #2589d0;
  background-color: #ffffff;
  margin-bottom: 2rem;
}

.event-box {
  text-align: center;
}

.event-box img {
  margin: 2rem auto;
}

.event-box p {
  margin: 1rem 0 2rem;
}

.gift-title {
  color: #ffffff;
  background-color: #00BBBF;
  padding: 8px 20px;
  border-radius: 15px;
}

/* ======== */
.sec_event,
.sec_thanks,
.sec_sinup {
  background-color: #F3FAFF;
}

.sec_sinup {
  font-size: 18px;
  padding-top: 1rem;
}


.sec_thanks {
  font-size: 20px;
  line-height: 2;
  text-align: center;
  padding: 10rem 2rem 5rem;
  min-height: 700px;
}

.sec_thanks h2 {
  margin: 2rem 0;
}

.sec_sinup input[type=checkbox],
input[type=radio] {
  margin-right: 5px;
}


/* ======== sidebar ======== */
.sidebar {
  position: fixed;
  right: 0;
  bottom: 5rem;
  padding: 2rem 1rem;
  color: #fff;
  font-size: 25px;
  background-color: #34ADFF;
  background-image: -webkit-linear-gradient(150deg, #34ADFF 40%, #4CBFFF 40%);
  -webkit-writing-mode: vertical-lr;
  writing-mode: vertical-lr;
  border-radius: 20px 0 0 20px;
  transition: 0.3s;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  z-index: 1200;
}

.sidebar:hover {
  color: #094067;
  background-image: -webkit-linear-gradient(150deg, #4CBFFF 40%, #34ADFF 40%);
}

/* ======== footer ======== */
.footer {
  font-size: 17px;
  background-color: #0A0D35;
  color: #ffffff;
  padding: 2rem 2rem 1rem;
}

.footer a {
  color: #fff;
}

.footer a:hover {
  color: #2589d0;
}