/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  --main: #5c9eff;
  scroll-padding-top: 3rem;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-size: 18px;
  line-height: 1.8;
  color: #fff;
  font-family: 'Roboto', 'Noto Sans TC', Arial, '微軟正黑體', '新細明體', Helvetica, sans-serif;
}

a {
  color: #fff;
  text-shadow: 0 0 5px #ffffff80;
}

a:hover {
  color: #c9e9ff;
}

.a-link {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

section {
  padding: 40px 0;
  overflow: hidden;
}

.section-bg {
  background-color: #000722;
}

.section-title {
  padding-bottom: 50px;
}

.section-title h2 {
  text-align: center;
  font-size: 36px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
}

.heading {
  -webkit-clip-path: polygon(0 0, 94% 0, 100% 19%, 100% 80%, 100% 100%, 6% 100%, 0 81%, 0 20%);
  clip-path: polygon(0 0, 94% 0, 100% 19%, 100% 80%, 100% 100%, 6% 100%, 0 81%, 0 20%);
  background: linear-gradient(90deg, #2cbed5 0%, #2650fc 100%);
  position: relative;
  padding: 1em 1.5em;
  margin-bottom: 2rem;
  width: max-content;
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  letter-spacing: 1px;
}

.solid-heading {
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  text-align: center;
  background: none;
  transition: background-color .2s ease-out, border-color .2s ease-out, color .2s ease-out;
  border-radius: 0;
  border: 0;
  background-color: transparent;
  color: #fff;
}

.solid-heading::after {
  content: "";
  width: 100%;
  height: 100%;
  display: block;
  background-color: #aeb6c2;
  position: absolute;
  inset: 0;
  z-index: -1;
  transition: background-color .2s ease-out;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 6.5%, 100% 6.5%, 100% 100%, 0 100%, 100% 100%, 0 100%, 0 0, .08vw .08vw, .08vw 80%, 6.5% 100%, 0 98%, 99.5% 98%, 99.5% 0, 100% 22%, 93.9% .08vw, .08vw .08vw);
  clip-path: polygon(0 0, 100% 0, 100% 6.5%, 100% 6.5%, 100% 100%, 0 100%, 100% 100%, 0 100%, 0 0, .08vw .08vw, .08vw 80%, 6.5% 100%, 0 98%, 99.5% 98%, 99.5% 0, 100% 22%, 93.9% .08vw, .08vw .08vw);
}

@media (max-width: 1400px) {
  .solid-heading::after {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 6.5%, 100% 6.5%, 100% 100%, 0 100%, 100% 100%, 0 100%, 0 0, .12vw .09vw, .12vw 80%, 6.5% 100%, 0 98%, 99.5% 98%, 99.5% 0, 100% 22%, 93.9% .12vw, .12vw .12vw);
    clip-path: polygon(0 0, 100% 0, 100% 6.5%, 100% 6.5%, 100% 100%, 0 100%, 100% 100%, 0 100%, 0 0, .12vw .09vw, .12vw 80%, 6.5% 100%, 0 98%, 99.5% 98%, 99.5% 0, 100% 22%, 93.9% .12vw, .12vw .12vw);
  }
}

@media (max-width: 992px) {
  .solid-heading::after {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 6.5%, 100% 6.5%, 100% 100%, 0 100%, 100% 100%, 0 100%, 0 0, .2vw .2vw, .2vw 80%, 6.5% 100%, 0 98%, 99.5% 98%, 99.5% 0, 100% 22%, 93.9% .2vw, .2vw .2vw);
    clip-path: polygon(0 0, 100% 0, 100% 6.5%, 100% 6.5%, 100% 100%, 0 100%, 100% 100%, 0 100%, 0 0, .2vw .2vw, .2vw 80%, 6.5% 100%, 0 98%, 99.5% 98%, 99.5% 0, 100% 22%, 93.9% .2vw, .2vw .2vw);
  }
}

@media (max-width: 768px) {
  .solid-heading::after {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 6.5%, 100% 6.5%, 100% 100%, 0 100%, 100% 100%, 0 100%, 0 0, .4vw .4vw, .4vw 80%, 6.5% 100%, 0 98%, 99.5% 98%, 99.5% 0, 100% 22%, 93.9% .4vw, .4vw .4vw);
    clip-path: polygon(0 0, 100% 0, 100% 6.5%, 100% 6.5%, 100% 100%, 0 100%, 100% 100%, 0 100%, 0 0, .4vw .4vw, .4vw 80%, 6.5% 100%, 0 98%, 99.5% 98%, 99.5% 0, 100% 22%, 93.9% .4vw, .4vw .4vw);
  }
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background-color: #a5a5a5;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background-color: #c9c9c9;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/* ------------------------------
      nav
   ------------------------------ */
.main-nav {
  background-color: rgba(238, 238, 238, 0.95);
  backdrop-filter: contrast(.9) blur(7px);
  box-shadow: rgba(14, 12, 107, 0.6) 0px 5px 15px;
  padding: 0.5rem 0;
}

.main-nav .logo img {
  max-height: 60px;
}

@media (max-width:1200px) {
  .main-nav .logo img {
    max-height: 50px;
  }
}

@media (max-width:576px) {
  .main-nav .logo img {
    max-height: 36px;
  }
}

.navbar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  width: max-content;
  display: flex;
  align-items: center;
  padding: 5px 30px;
  color: #fff;
  white-space: nowrap;
  position: relative;
  font-size: 1.5rem;
  background-color: #e7428b;
  border-radius: 0;
  border: 0;
  -webkit-clip-path: polygon(0 0, 94% 0, 100% 19%, 100% 80%, 100% 100%, 6% 100%, 0 81%, 0 20%);
  clip-path: polygon(0 0, 94% 0, 100% 19%, 100% 80%, 100% 100%, 6% 100%, 0 81%, 0 20%);
}

.navbar a i {
  font-size: 0;
  transition: all .3s ease;
}

.navbar a i,
.navbar a:focus i {
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover i,
.navbar .active i,
.navbar .active:focus i,
.navbar li:hover>a i {
  font-size: 25px;
}

@media (max-width:992px) {

  .navbar a,
  .navbar a:focus {
    font-size: 1.2rem;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #333;
  font-size: 40px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(28, 47, 65, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile>ul>li {
  padding: 0;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #2c4964;
}

.navbar-mobile a:hover:before,
.navbar-mobile li:hover>a:before,
.navbar-mobile .active:before {
  visibility: hidden;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: #5846f9;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

/* ------------------------------
       kv
   ------------------------------ */
.kv-box {
  width: 100%;
  height: 450px;
  background: linear-gradient(90deg, rgba(1, 10, 29, 0.8) 65%, rgba(1, 10, 29, 0) 80%), url(../img/KV.jpg) 90% center no-repeat;
  background-color: #0c1017;
  background-size: cover;
}

.kv-box h1 {
  letter-spacing: 2px;
  font-size: 52px;
}

.kv-box h1 span {
  background: linear-gradient(90deg, #2f6eff 0%, #4fc7ff 50%, #a8ffff 60%, #4fc7ff 80%, #2f6eff 100%);
  background-size: 1000% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  -webkit-animation: font-color-smooth 60s linear infinite;
  animation: font-color-smooth 60s linear infinite;
}

@keyframes font-color-smooth {
  0% {
    background-position: 0% 100%;
  }

  100% {
    background-position: 1000% 100%;
  }
}

.kv-box h1,
.kv-box h3,
.kv-box h4 {
  -webkit-animation: tracking-in-contract 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
  animation: tracking-in-contract 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

@-webkit-keyframes tracking-in-contract {
  0% {
    letter-spacing: 1em;
    opacity: 0;
  }

  40% {
    opacity: 0.6;
  }

  100% {
    letter-spacing: normal;
    opacity: 1;
  }
}

@keyframes tracking-in-contract {
  0% {
    letter-spacing: 1em;
    opacity: 0;
  }

  40% {
    opacity: 0.6;
  }

  100% {
    letter-spacing: normal;
    opacity: 1;
  }
}

.kv-box h3,
.kv-box h4 {
  font-size: 30px;
}

.kv-box h1,
.kv-box h3 {
  line-height: 2;
  font-weight: 700;
}

.kv-box h3 {
  text-shadow: 0px 3px 10px #212121;
}

.kv-box h4 {
  color: #fff4b3;
}

@media (max-width: 1200px) {
  .kv-box-sm {
    background-attachment: fixed;
    background-position: 80% center;
  }
}

@media (max-width: 991px) {
  .kv-box {
    height: 380px;
  }

  .kv-box h1,
  .kv-box h3,
  .kv-box h4 {
    text-align: center;
    -webkit-animation: none;
    animation: none;
  }

  .kv-box h1 {
    font-size: 46px;
    line-height: 1.2;
  }

  .kv-box h3 {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .kv-box {
    background: url("../img/KV-sm.jpg") center center no-repeat;
    background-color: rgba(0, 0, 0, 0.55);
    background-blend-mode: multiply;
    height: 460px;
  }
}

@media (max-width: 575px) {
  .kv-box {
    background: url("../img/KV-sm.jpg") 70% center no-repeat;
    background-color: rgba(0, 0, 0, 0.55);
    background-blend-mode: multiply;
    height: 500px;
  }

  .kv-box h3 {
    font-size: 24px;
  }

  .kv-box h4 {
    font-size: 20px;
  }
}

/* ------------------------------
       Services
   ------------------------------ */
.services ol {
  list-style: none;
  counter-reset: li;
  color: #fff4b3;
}

.services li {
  counter-increment: li;
  padding-bottom: 10px;
  line-height: 1.7;
}

@media (max-width:576px) {
  .icon-boxgroup {
    min-height: auto;
  }
}

/* ------------------------------
       agenda
   ------------------------------ */
.agenda {
  background: url(../img/bg.jpg) no-repeat center center fixed;
  background-color: #0c1017;
  overflow: hidden;
  position: relative;
}

.class-box {
  padding: 1rem;
  background-color: rgba(9, 11, 77, 0.85);
  border-radius: 10px;
  margin-bottom: 1rem;
  transition: all .2s ease;
}

.class-box:hover {
  transform: scale(1.01);
}

.class-box p {
  margin-bottom: 0;
  font-size: 18px;
}

.timeline {
  display: flex;
  align-items: center;
}

.timeline p::after {
  content: '|';
  padding: 0 10px;
}

.timeline strong {
  background-image: linear-gradient(90deg, #8fffe7 0%, #5bffc8 50%, #fff 50%, #fff 100%);
  background-clip: text;
  color: transparent;
  background-size: 200%;
  background-position: 100% 0;
  background-repeat: no-repeat;
  display: inline-block;
  transition: background-position .5s cubic-bezier(0.075, 0.820, 0.165, 1.000);
}

.class-box:hover .timeline strong {
  background-position-x: 0;
}

.agenda-box {
  display: flex;
  align-items: center;
}

.agenda-title p {
  font-weight: 600;
  font-size: 20px;
  display: block;
  line-height: 1.5;
  margin-bottom: 5px;
}

.agenda-title span {
  border-radius: 50px;
  color: #fff4b3;
  border: 1px solid #fff4b3;
  padding: 2px 10px;
  transition: all .3s ease;
}

.class-box:hover span {
  color: #8fffe7;
  border: 1px solid #8fffe7;
}

.agenda-name p {
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width:992px) {
  .sm-dec {
    border-top: 1px solid #193fbe;
    padding-top: 1rem;
    margin-top: 1rem;
  }
}

@media (max-width:576px) {
  .class-box {
    border-radius: 0;
  }
}

/* ------------------------------
       speaker
   ------------------------------ */
.sp-info {
  text-align: center;
}

.sp-info img {
  border-radius: 2000px;
  max-width: 250px;
  padding: 30px;

}

.sp-info h4 {
  margin-top: 10px;
}

.sp-info p {
  font-size: 17px;
  line-height: 24px;
  color: #fff4b3;
}

/* ------------------------------
       gift
   ------------------------------ */
.gift {
  background: linear-gradient(rgba(29, 52, 150, 0.9), rgba(29, 52, 150, 0.9)), url(../img/bg.jpg) no-repeat center center fixed;
  background-color: #0c1017;
  overflow: hidden;
  padding: 80px 0 60px 0;
}

.gift img {
  margin: 0 0 2rem;
  animation: move 5s infinite;
}

@keyframes move {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(5px);
  }

  100% {
    transform: translateY(0);
  }
}

.gift h5 {
  font-size: 26px;
  line-height: 1.5;
}

.gift h5 strong {
  color: #28e2ff;
}

.gift p {
  color: #fff4b3;
  font-size: 16px;
}

/* ------------------------------
       about
   ------------------------------ */
.about {
  background: linear-gradient(rgba(1, 10, 29, 0.7), rgba(1, 10, 29, 0.7)), url(../img/bg.jpg) no-repeat center center fixed;
  background-color: #0c1017;
  overflow: hidden;
  padding: 80px 0 60px 0;
}

.about-box {
  position: relative;
  min-width: 100%;
  padding: 10px 20px;
  margin-bottom: 20px;
  word-break: break-all;
}

.about-box a {
  text-decoration: underline;
}

.about-box i {
  margin-left: 15px;
  transition: all .3s ease;
}

/*--------------------------------------------------------------
# form
--------------------------------------------------------------*/
.form {
  color: #fff;
}

.form span {
  color: #e7428b;
  padding-right: 5px;
}

.form .help-block {
  color: #fff4b3;
  font-weight: 300;
  font-size: 15px;
}

.btn-main,
.btn-main:focus {
  margin-top: 40px;
  position: relative;
  border-radius: 50px;
  background-position: center;
  background-color: var(--main);
  color: #fff;
  font-size: 20px;
  letter-spacing: 2px;
  font-weight: bold;
  text-decoration: none;
  transition: all .2s;
  padding: 8px 0;
}

.btn-main:hover,
.btn-main:focus {
  background-color: #254aef;
  color: #fff;
}

/*--------------------------------------------------------------
# sidebar
--------------------------------------------------------------*/
#sidebar .register {
  background: linear-gradient(180deg, #e7428b 0%, #5e22d3 100%);
  color: #fff;
  position: fixed;
  bottom: 10%;
  right: 10px;
  border: none;
  display: block;
  font-size: 20px;
  writing-mode: vertical-lr;
  padding: 25px 10px;
  z-index: 10;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  border-radius: 10px 0 0 10px;
  transition: all .3s;
}

#sidebar .register:hover {
  padding: 25px 25px 25px 10px;
}

@media (max-width: 768px) {
  #sidebar {
    display: none;
  }
}