:root {
  --primary-color: #fabf3e;
  --secondary-color: #d2cd22;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #fff;
  font-family: "Noto Sans TC", sans-serif;
  position: relative;
  /* max-width: 1880px; */
  margin: 0 auto;
}

img {
  width: 100%;
  height: auto;
  max-width: 100%;
}

.btn {
  background-color: var(--primary-color);
  color: #333;
  border-radius: 2px;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input[type="radio"] {
  display: none;
}

.event-title {
  height: 80px;
  width: auto;
}

/*Bootstrap tab*/
.tab {
  display: none;
}

.nav-item {
  background-color: rgba(0, 167, 59, 0.6);
  border-radius: 4px 4px 0 0;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  background-color: #fff23f;
  color: #006834;
}
/*End of tab*/

/*Carousel*/
.carousel-control-prev-icon,
.carousel-control-next-icon {
  height: 50px;
  width: 50px;
  outline: black;
  background-size: 100%, 100%;
  border-radius: 50%;
  /* border: 1px solid black; */
  background-color: #0c1f5f;
  background-image: none;
}

.carousel-control-next-icon:after
{
  content: '>';
  font-size: 28px;
  color: #ffbf03;
  font-weight: bold;
  line-height: 50px;
}

.carousel-control-prev-icon:after {
  content: '<';
  font-size: 28px;
  color: #ffbf03;
  font-weight: bold;
  line-height: 50px;
}
/*End of Carousel*/

.cta-button {
  /* background-image: linear-gradient(
    to right bottom,
    var(--primary-color),
    #ef9a29
  ); */
  background-color: #f75785;
  box-shadow: 2px 2px 30px rgba(247, 87, 133, 0.6);
  border-radius: 40px;
  color: #fff;
  border: none;
  padding: 16px 32px;
  font-size: 24px;
  margin-top: 16px;
  letter-spacing: 2px;
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all linear 0.3s;
}

.cta-button-mobile {
  display: none;
}

.cta-button:hover {
  color: #fff;
  /* background-color: #d3a137;
  transform: translateY(-4px); */
  box-shadow: 0 2 15px rgba(0, 0, 0, 0.4);
}

/*Sticky button on mobile*/
.sticky-btn-mobile {
  /* display: none; */
  position: fixed;
  bottom: 0;
  z-index: 999;
  max-width: 1880px;
  background-color: rgba(0, 0, 0, 0.6);
  margin: 0 auto;
  width: 100vw;
  padding: 10px 0;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/*Qr code*/
/* .qr-icon {
  position: fixed;
  bottom: 50px;
  right: 0;
  z-index: 999;
  width: 100px;
  height: 100px;
} */

/*Banner*/
.banner {
  position: relative;
  overflow: visible;
}

.form-mobile {
  display: none;
}

.banner-img-mobile {
  display: none;
}
.logo {
  position: absolute;
  top: 3%;
  left: 3%;
  width: 250px;
}
/*End of Banner*/

/*Feature section*/
.feature {
  background-image: url("images/bg_desktop-03.jpg");
  /* background-size: cover;  */
  background-repeat: repeat;
  padding: 50px 0;
  position: relative;
  z-index: 2;
  display: none;
}
/*End of feature section*/

/*Form section*/
.form {
  /* padding: 0px 0px 56px 0px; */
  text-align: left;
  position: relative;
  /* margin-top: calc(100% - 130%); */
}

.form-container {
  max-width: 900px;
  margin: 0 auto;
  background-image: url("./images/bg_form.svg");
  padding: 120px 80px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  -webkit-filter: drop-shadow(8px 8px 15px rgba(96, 64, 43, 0.6));
  filter: drop-shadow(8px 8px 15px rgba(96, 64, 43, 0.6));
  border-radius: 20px;
}

.form-desktop {
  /* position: absolute !important; */
  width: 700px;
  /* top: 15%;
  left: 55%; */
}

.form-title-img {
  width: 380px;
}

.form-title {
  font-size: 40px;
  color: #333;
  margin-bottom: 0;
  font-weight: bold;
}

.form-subtitle {
  color: #333;
  font-size: 24px;
}

.form-input {
  padding: 15px 10px;
  font-size: 18px;
}

.form-button {
  width: 100%;
  padding: 10px 15px;
  letter-spacing: 1.2px;
  font-size: 24px;
  background-image: linear-gradient(to right bottom, #48a84b, #2e682e);
  /* background-color: #f2d932; */
  border: none;
  color: #fff;
}

/* .form-line {
  display: none;
} */

.form-hotline {
  color: #333;
  font-size: 18px;
  margin: 8px 0 0 0;
}
/*End of form section*/

/*Footer*/
.footer {
  padding: 40px 0;
  text-align: center;
  background-color: #565251;
}

.footer-media {
  padding-bottom: 16px;
  width: 100%;
  margin: 0 auto;
}

.footer-media-icon {
  color: #999;
  font-size: 48px;
  text-decoration: none;
  transition: all linear 0.2s;
}

.footer-media-icon:hover {
  color: #fff;
}

.footer-info {
  text-align: left;
  color: #999;
  letter-spacing: 1px;
}

.footer-copyright {
  color: #999;
  font-size: 8px;
  margin: 16px auto 0 auto;
  letter-spacing: 4px;
}

/*M-Desktop*/
@media (max-width: 1440px) {
  .form-desktop {
    width: 600px;
    /* left: 50%; */
  }

  .form-container {
    padding: 70px 120px;
  }

  .form-title {
    font-size: 40px;
  }
}

/*Laptop*/
@media (max-width: 1280px) {
  .form-desktop {
    width: 550px;
  }

  .course {
    margin-top: 96px;
  }
}

/*iPad Pro*/
@media (max-width: 1024px) {
  .cta-button {
    font-size: 24px;
  }

  /*Banner*/
  .logo {
    width: 200px;
  }
  /*End of Banner*/

  .form-desktop {
    width: 480px;
    /* left: 52%; */
  }

  .form-container {
    padding: 30px 85px;
  }
  /* 
  .course {
    margin-top: 96px;
  } */
}

/*iPad*/
@media (max-width: 768px) {
  .row {
    margin-right: 0;
    padding-right: 0;
  }

  .sticky-btn-mobile {
    display: block;
  }

  /*Banner*/
  .banner-img-desktop {
    display: none;
  }

  .banner-img-mobile {
    display: block;
    background-repeat: no-repeat;
  }

  .logo {
    width: 150px;
  }
  /*End of Banner*/

  .feature {
    display: block;
  }

  /*Form*/
  .form {
    margin-top: 0px;
    transform: translateX(0px);
  }

  .form-container {
    padding: 100px 80px;
  }

  .form-desktop {
    display: none;
  }

  .form-mobile {
    display: block;
  }

  .form-container {
    transform: translateX(0px);
  }

  .course {
    margin-top: 0px;
  }
}

/*Mobile*/
@media (max-width: 428px) {
  .cta-button-mobile {
    display: block;
    position: absolute;
    top:85%;
    left: 30%;
    transform: translateX(-50%);
    font-size: 18px;
    padding: 8px 32px;
  }

  .event-title {
    height: 50px;
    width: auto;
  
  }

  /*Tab*/
  .tab {
    display: block;
  }
  /*End of Tab*/

  /*Course*/
  .course {
    display: none;
  }

  .row {
    margin-left: 0;
  }

  .logo {
    width: 100px;
    right: 70%;
    top: 2%;
  }

  /*Banner*/
  .banner-img-desktop {
    display: none;
  }

  .banner-img-mobile {
    display: block;
  }
  /*End of Banner*/

  /*Feature*/
  .feature {
    /* background-image: url("images/bg_mobile.jpg"); */
    padding: 10px 0 20px 0;
  }
  /*End of Feature*/

  /*Form*/
  .form {
    padding: 0px 10px;
    margin-top: 0px;
    transform: translateX(0px);
  }

  .form-desktop {
    display: none;
  }

  .form-mobile {
    display: block;
  }

  .form-container {
    margin: 0;
    padding: 65px 40px;
    border-radius: 2px;
    background-image: url("images/bg_form_mobile.svg");
  }

  .form-title {
    font-size: 32px;
  }

  .form-subtitle {
    font-size: 18px;
  }
  /*End of Form*/

  /*Footer*/
  .footer-media-container {
    border-bottom: 1px solid #999;
    margin-bottom: 24px;
  }
}

/* XS-Mobile
@media (max-width: 390px) {
  .form-container {
    padding: 30px 20px;
    background-size: cover;
  }
} */

/*XS-Mobile*/
@media (max-width: 375px) {
  .form-container {
    padding: 75px 10px;
  }
  .cta-button {
    margin-top: 0;
  }

  .cta-button-mobile {
    padding: 8px 16px;
  }
}

/*XXS-Mobile*/
@media (max-width: 320px) {

}


