html {
  scroll-behavior: smooth;
}

body {
  font-size: 17px;
  line-height: 1.8;
  color: #FFFFFF;
  font-family: 'Roboto', 'Noto Sans TC', Arial, '微軟正黑體', '新細明體', Helvetica, sans-serif;
  background: #12054e;
}

p {
  font-size: 18px;
  line-height: 1.6;
}

small {
  font-size: 16px;
}

a {
  text-decoration: none;
  color: #f97de9;
}

a:hover {
  text-decoration: none;
  color: #FFF;
  text-shadow: 0 0 20px #ffed74;
}


.p10 {
  padding: 10px;
}

.pt10 {
  padding-top: 10px;
}

.pb10 {
  padding-bottom: 10px;
}

.pt20 {
  padding-top: 20px;
}

.pb20 {
  padding-bottom: 20px;
}

.pt30 {
  padding-top: 30px;
}

.main-title {
  font-size: 1.6rem;
  letter-spacing: 0.5rem;
  padding: 20px 0;
}

/* nav */
.nav-logo {
  position: absolute;
  position: fixed;
  padding: 0 1rem;
  z-index: 10;
  transition: 0.4s;
}

.nav-logo.is-active {
  background: rgba(0, 0, 0, 0.75);
  transition: 0.4s;
  width: 100%;
}

@media screen and (max-width: 768px) {
  .kv {
    margin-top: 50px;
  }

  .nav-logo {
    top: 0;
    background-color: #000;
  }

  .nav-logo img {
    margin: auto;
  }
}

.nav-btn .register,
.nav-btn .register2 {
  background-image: linear-gradient(160deg, #894e26, #c38e5a, #fde5a3, #e4c083, #9f683a);
  color: #212121;
  position: fixed;
  top: -1%;
  right: 7%;
  border: none;
  display: block;
  font-weight: 500;
  font-size: 1rem;
  padding: 32px;
  z-index: 10;
  box-shadow: 0 2px 5px 0px rgb(50, 19, 97, 0.5);
  line-height: 1.2;
  letter-spacing: 2px;
  border-radius: 0 0 2rem 2rem;
  border: 1px #655636 solid;
  transition: all .2s ease;
}

.nav-btn .register2 {
  margin-right: 10px;
  right: 18%;
  padding: 25px 32px;
  border-radius: 0 0 1.8rem 1.8rem;
}

.nav-btn .register:hover,
.nav-btn .register2:hover {
  background-image: linear-gradient(160deg, #94572f, #c38e5a, #eed398, #c38e5a, #94572f);
  transform: translateY(5px);
  box-shadow: 2px 2px 10px 6px rgba(255, 214, 123, 0.9);
}

@media (max-width:1200px) {
  .nav-btn .register2 {
    right: 10rem;
  }

  .nav-btn .register {
    right: 1rem;
  }
}

@media screen and (max-width: 768px) {
  .nav-btn .register2 {
    right: 0;
    top: 18%;
    margin-right: 0;
    margin-bottom: 15px;
    border-radius: 20px 0 0 20px;
    display: block;
    writing-mode: vertical-rl;
    padding: 16px 10px;
  }

  .nav-btn .register {
    border: none;
    border-radius: 20px 0 0 20px;
    display: block;
    writing-mode: vertical-rl;
    padding: 16px 14px;
    top: 35%;
    right: 0%;
  }
}

.nav-btn-sm {
  background-color: rgba(18, 5, 78, 0.8);
  padding: 1rem 0;
}

.nav-inner {
  padding: 1rem;
  background-image: linear-gradient(160deg, #894e26, #c38e5a, #fde5a3, #e4c083, #9f683a);
  color: #212121;
  box-shadow: 0 2px 5px 0px rgb(50, 19, 97, 0.5);
  line-height: 1.2;
  letter-spacing: 2px;
  border-radius: 2rem;
  border: 2px #655636 solid;
  max-width: 100%;
  width: 45%;
}

.nav-inner:hover,
.nav-inner:active {
  background: #ffd16b;
  background-image: linear-gradient(160deg,
      #94572f,
      #c38e5a,
      #eed398,
      #c38e5a,
      #94572f);
  border: 2px solid #eed398;
  box-shadow: 1px 2px 1px #2b1c02;
  color: rgb(120, 50, 5);
}



/* ---------------
     
   --------------- */

.section-foreword {
  position: relative;
  padding: 0em 1em 5em;
  letter-spacing: 2px;
  overflow: hidden;
}

.section-foreword::before {
  content: '';
  background: url(../img/date-bg.png) center top no-repeat;
  /* background-size: contain; */
  position: absolute;
  width: 100%;
  height: auto;
  inset: 0;
  z-index: -1;
}

.section-foreword h4 {
  line-height: 2;
}

.foreword-title {
  font-size: 2.3rem;
  font-weight: 700;
  padding: 0.5rem 0;
  text-shadow: 4px 4px 4px #271c04;
  margin-top: -8rem;
}

.section-foreword .foreword-title {
  margin-top: 0;
}

.foreword-title span {
  font-size: 3rem;
}

.foreword-title strong {
  font-size: 4rem;
}

.foreword-title strong::after,
.foreword-title strong::before {
  content: '/';
  padding: 0 1rem;
  font-size: 3rem;
}

.foreword-title strong::before {
  content: '\\';
}

.foreword-subtitle2 {
  font-size: 1.5rem;
  font-weight: 700;
  padding-bottom: 1em;

}

.ft01 {
  color: #f7a141;
}

.ft02 {
  color: #a7ed6a;
}

.ft03 {
  color: #f161c4;
}


.brown {
  color: #f7cc9e;
}

.brown2 {
  color: #d3b571;
}

strong {
  color: #ffdf95;
}

@media screen and (max-width: 992px) {
  .foreword-title {
    margin-top: -2rem;
  }

  .foreword-title span {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 768px) {
  .foreword-title {
    font-size: 2rem;
    font-weight: 700;
    padding: 1.5rem 0;
  }

  .foreword-title span {
    font-size: 3rem;
  }
}

.foreword-subtitle {
  font-size: 1.8rem;
  color: #ffe080;
  text-shadow: 0px 0px 16px #ffe400;
}

.foreword-subtitle span {
  border-top: 4px #ffe080 dotted;
  border-bottom: 4px #ffe080 dotted;
  padding: 8px;
  letter-spacing: 3px;
}

.foreword-box {
  padding: 0 1em;
}

.foreword-box img {
  box-shadow: 0px 0px 18px #8c9fff;
  border-radius: 20px 0 20px 0;
}

.section-logo {
  background-color: #000;
  font-size: 22px;
  line-height: 1.2;
}

@media (max-width:768px) {
  .section-logo .row {
    padding-bottom: 7rem;
  }
}

.btn-invite {
  font-size: 20px;
  letter-spacing: 0.25rem;
  font-weight: 500;
  border-radius: 30px;
  border: 2px solid #be7d0b;
  box-shadow: 2px 5px 3px #2b1c02;
  padding: 15px 50px;
  margin: 30px 0 5px;
  background: #f2709c;
  background-image: linear-gradient(160deg,
      #894e26,
      #c38e5a,
      #fde5a3,
      #e4c083,
      #9f683a);
  color: rgb(120, 50, 5);
  transition: all .2s ease;
}

.btn-invite:hover,
.btn-invite:active {
  background: #ffd16b;
  background-image: linear-gradient(160deg,
      #94572f,
      #c38e5a,
      #eed398,
      #c38e5a,
      #94572f);
  transform: translateY(3px);
  border: 2px solid #eed398;
  box-shadow: 1px 2px 1px #2b1c02;
  color: rgb(120, 50, 5);
}

/*notcie*/

.section-notice {
  background-color: #eee;
}

/* form */

.signup-form {
  font-size: 18px;
  background-color: #0f0e17;
  padding: 4em 0.5em;
}

form span {
  color: #ff6a6a;
}

.help-block {
  font-size: 16px;
  margin-left: 10px;
  color: #ffdf95;
}

.signup-form input {
  font-size: 18px;
  box-shadow: 0px 0px 8px #8c9fff;
  accent-color: #ffd16b;
}

.signup-form textarea {
  font-size: 18px;
  box-shadow: 0px 0px 8px #8c9fff;
}

.signup-form label span {
  margin: 0 6px;
}

.signup-form input[type="radio"] {
  margin: 10px 16px;
  width: 20px;
  height: 20px;
  box-shadow: 0px 0px 0px #8c9fff;
}

.signup-form input[type="checkbox"] {
  margin: 24px 8px;
  width: 20px;
  height: 20px;
}

.signup-form .btn-invite {
  box-shadow: none;
}



/*table*/

.tg thead {
  color: #ffd991;
  font-size: 18px;
}

.tg th {
  padding: 12px;
}

.tb-head {
  background-color: #655c4b;
  box-shadow: 2px 2px 6px #2c2310;
  border-radius: 10px;
}

.tg td {
  padding: 10px;
  border-bottom: 1px #504c44 solid;
  vertical-align: top;
}


.tg tr:hover {
  background-color: #181207;
}

table {
  font-size: 16px;
  line-height: 1.6;
  padding: 16px 12px;
  font-weight: 300;
}

.bgline {
  position: relative;
}

.bgline::before {
  position: absolute;
  top: -20%;
  left: -35%;
  width: 100%;
  content: url(../img/date-bg.png);
}

.date-xs {
  display: none;
}

@media (max-width:992px) {
  .bgline::before {
    width: 50%;
    top: -50%;
  }
}

@media (max-width:768px) {
  .bgline {
    display: none;
  }
}


@media (min-width: 768px) {
  .date-md {
    display: none;
  }
}

@media (max-width: 567px) {
  .date-md {
    display: none;
  }

  .date-xs {
    display: block;
  }

}