:root {
  --second_color: ;
  --info_radius: ;
  --section_distance: 99px;
  --section_distance_pc: 125px;
  --title_distance: 39px;
  --title_distance_pc: 45px;
  scroll-padding-top: 3rem;
}

@font-face {
  font-family: 'Mabry';
  src: url('../font/Mabry-Regular-Pro.woff') format("woff"),
    url('../fonts/Mabry-Regular-Pro.ttf') format("truetype"),
    url('../fonts/Mabry-Regular-Pro.eot') format("embedded-opentype");
}

html,
body {
  font-size: 18px;
  letter-spacing: 0;
  /* font-family: "Microsoft JhengHei", "微軟正黑", sans-serif; */
  font-family: "Mabry", "Noto Sans TC", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  line-height: 30px;
  color: #fff;
  background: #020E31;
}

.navbar {
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 2px;
  background: rgba(2, 14, 49, 0.50);
  padding: 0.5rem 1.3rem;
}

.navbar-brand {
  max-width: 150px;
  width: 100%;
  padding: 0;
}

.navbar-brand img {
  vertical-align: initial;
}

.navbar-dark .navbar-nav .nav-link {
  color: #fff;
  transition: 0.3s ease-in;
}

.navbar-toggler {
  border: 0;
  opacity: 0.8;
  padding: 0;
  font-size: 1rem;
}

button.navbar-toggler:focus {
  outline: 0;
  opacity: 1;
}

.navbar-dark .navbar-toggler-icon {
  background-image: url(../images/menu.svg);
}

.container {
  padding-right: 25px;
  padding-left: 25px;
}

.bt-fix {
  position: absolute;
  right: 1rem;
  top: 30%;
  max-width: 80px;
  width: 100%;
  z-index: 100;
}

.bt-fix.fixed {
  position: fixed;
  top: calc(60px + 0.5rem);
  /* navbar 高度 + padding */
  /* right: 1rem; */
}

.section_kv {
  background: url(../images/KV-bg.jpg) center bottom no-repeat;
  background-size: 630px auto;
  height: 350px;
  margin-top: 70px;
  padding-top: 1.5rem;
  padding-left: 20px;
  padding-right: 20px;
}

.bg-body {
  background: url(../images/bg-m.png) center top no-repeat;
  background-size: 100% auto;
  padding-bottom: 20px;
}

.title-line {
  height: 1px;
  flex: 1;
  opacity: 0.6;
}

.title-line.left {
  background: #64dcf0;
}

.title-line.right {
  background: #b491d7;
}

.title-gradient {
  font-size: 28px;
  font-weight: 500;
  background: linear-gradient(90deg,
      #64dcf0 17%,
      #ffe664 37%,
      #ffe664 62%,
      #b491d7 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  letter-spacing: 15px;
}

.section_intro,
.section_agenda,
.section_speaker {
  margin-bottom: var(--section_distance);
}

.section_map {
  margin-bottom: 25px;
}

/* intro */
.section_intro {
  padding-top: 50px;
}

.intro_word {
  margin-bottom: 58px;
}

.topics {
  padding-left: 8%;
  padding-right: 8%;
}

.topics .box {
  margin-bottom: 15px;
}

.topics .box:last-child {
  margin-bottom: 0;
}

/* agenda */
.title-master {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  /* padding: 1em 0; */
  margin-bottom: var(--title_distance);
}

.agenda_warp {
  border: 0.708px solid rgba(255, 255, 255, 0.40);
  padding-left: 15px;
  padding-right: 15px;
  font-weight: 300;
}

.table-inside {
  padding-bottom: 15px;
  padding-top: 15px;
}

.table-inside b {
  font-weight: 600;
}

.table-dark {
  background: rgba(255, 255, 255, 0.10);
}

.table-light {
  border: 0.708px solid rgba(255, 255, 255, 0.40);
  border-left: 0;
  border-right: 0;
  background: rgba(255, 255, 255, 0.30);
}

/* speaker */
.speaker-wrap {
  margin-bottom: 20px;
}

.speaker {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 137%;
  background-size: 100% auto;
  background-position: top center;
  background-repeat: no-repeat;
}

.speaker:hover {
  background-size: 110% auto;
  transition: 0.3s ease-in;
}

.speaker p {
  background: linear-gradient(177deg, rgba(22, 39, 75, 0.00) 6.47%, rgba(22, 39, 75, 0.70) 40.41%, #16274B 75.36%);
  position: absolute;
  bottom: 0;
  margin-bottom: -1px;
  padding: 65px 22px 15px 22px;
  width: 100%;
}

.speaker .name {
  display: block;
}

.speaker .job {
  font-size: 15px;
  font-weight: 200;
  line-height: 20px;
  display: block;
}

.modal-content {
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(20px);
  color: #000;
}

.modal-header {
  border-bottom: 0;
  font-size: 23px;
}

.modal-header span {
  font-size: 18px;
  font-weight: 400;
}

.modal-header .close {
  opacity: 1;
  transition: 0.3s ease-in;
  padding: 0.2rem 0.4rem;
}

.modal-body {
  font-size: 16px;
  line-height: 25px;
}

.modal-body.line {
  padding-top: 0;
  padding-bottom: 0;
}

.modal-body.line div {
  padding: 0;
  margin: 0;
  height: 2px;
  background: #ACACAC;
}

/* map */
.map-img {
  margin-bottom: 35px;
}

/* footer */
footer {
  background: url(../images/footer-PC.jpg) no-repeat right bottom;
  background-size: 300% auto;
  background-position-x: 79%;
  font-size: 15px;
  padding: 45px 20px;
  text-align: center;
  /* padding-top: 3rem; */
  padding-bottom: 4rem;
  font-weight: 300;
}

.footer-logo img {
  max-width: 250px;
}

.copyright {
  margin-top: 10px;
}

.zoomin img:hover {
  transform: scale(1.1);
  transition: 0.1s ease-in;
}

.zoominzoomout-play {
  -webkit-animation-duration: 0.7s;
  animation-duration: 0.7s;
  animation-delay: -1s;
  -webkit-animation-name: zoominzoomout-play;
  animation-name: zoominzoomout-play;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
  animation-direction: alternate;
}

@-webkit-keyframes zoominzoomout-play {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  100% {
    -webkit-transform: scale(0.95);
    transform: scale(0.95);
    /* filter: hue-rotate(-180deg); */
  }
}

@keyframes zoominzoomout-play {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  100% {
    -webkit-transform: scale(0.95);
    transform: scale(0.95);
  }
}

@media (min-width: 431px) {
  .h1 {
    padding-right: 30px;
    padding-left: 30px;
  }

  .navbar-brand {
    max-width: 230px;
  }

  .section_kv {
    background-size: 768px auto;
    height: 450px;
  }

  .section_map {
    margin-bottom: 50px;
  }

  .speaker .job {
    line-height: 24px;
  }

  .modal-header,
  .modal-body {
    padding-left: 36px;
    padding-right: 36px;
  }

  .modal-header .close {
    margin-right: -1.6rem;
  }

  .map-info {
    padding-left: 15%;
    padding-right: 15%;
    /* margin-bottom: 55px; */
  }

  footer {
    font-size: 15px;
    padding-top: 4rem;
    padding-bottom: 7rem;
  }

  .footer-logo img {
    max-width: 452px;
  }
}

@media (min-width: 768px) {

  html,
  body {
    font-size: 23px;
    line-height: 35px;
  }

  .container {
    padding-right: 15px;
    padding-left: 15px;
  }

  .section_kv {
    height: 600px;
    background-size: 1000px auto;
    padding-top: 1.5rem;
    height: 600px;
  }

  .bt-fix {
    max-width: 113px;
  }

  .topics {
    padding-left: 0;
    padding-right: 0;
  }

  .title-master {
    margin-bottom: var(--title_distance_pc);
  }

  .title-gradient {
    font-size: 30px;
    font-weight: 400;
  }

  .section_map {
    margin-bottom: 100px;
  }

  .modal-body {
    font-size: 18px;
  }
}

@media (min-width: 992px) {
  .nav-item {
    display: flex;
  }

  .nav-item::after {
    content: "";
    width: 1px;
    height: 100%;
    display: block;
    position: relative;
    right: 0;
    background-color: rgba(255, 255, 255, 0.40);
  }

  .nav-item:last-child::after {
    display: none;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 0.1rem 1.4rem;
  }

  .navbar-collapse {
    justify-content: flex-end;
  }

  .navbar-dark .navbar-brand {
    margin-left: 30px;
  }

  .bt-fix {
    max-width: 150px;
    top: 50%;
    right: 3%;
  }

  .section_kv {
    height: 1080px;
    background-size: 1920px auto;
    padding-top: 3rem;
  }

  .bg-body {
    background: url(../images/bg.png) center top no-repeat;
    background-size: 100% auto;
    padding-bottom: 80px;
  }

  .section_intro,
  .section_agenda,
  .section_speaker {
    margin-bottom: var(--section_distance_pc);
  }

  .section_intro {
    padding-top: 150px;
  }

  .time.text-left {
    text-align: center !important;
  }

  .modal-header .close {
    padding-top: 0;
    padding-right: 0.5rem;
  }

  .section_speaker .row {
    margin-left: -9px;
    margin-right: -9px;
  }

  .section_speaker .col-lg-3 {
    max-width: 20%;
    padding-left: 9px;
    padding-right: 9px;
  }

  .speaker-wrap {
    margin-bottom: 0;
  }

  .map-info {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 0;
  }

  .map-info img {
    max-width: 378px;
  }

  footer {
    background-size: 100% auto;
    background-position-x: right;
    font-size: 18px;
    padding: 30px 3rem;
    text-align: left;
    margin-top: 50px;
  }

  .copyright {
    margin-top: 130px;
    margin-bottom: 0;
  }
}

@media (min-width: 1440px) {
  .container {
    max-width: 1200px;
  }
}