:root {
  /* 主要色系  rgb(242,68,114) */
  --themeColor: #f24472;
  /* 輔助色系 */
  --themeColor2: #732d4d;
  --themeColor3: #d941a4;
  --themeColor4: #92549c;
  --themeColor5: #53bbc6;

  /* 連結色系 */
  --themeHoverColor: #4eb4bf;
  /* 深色文字 */
  --themeTxt: #2f4858;
  /* 淺背景色 */
  --bgLight: #f7f5dd;
  /* 深背景色 */
  --bgDark: #0f0f1b;
  /* 漸層 */
  --bgLightGradient: linear-gradient(to top, #636fdf 0%, #bc4bbe 100%);
  --bgmedalGradient: linear-gradient(
    60deg,
    rgba(245, 194, 27, 1) 0%,
    rgba(209, 112, 0, 1) 100%
  );
  /* n-header 漸層 */
  --bgheadGradient: linear-gradient(45deg, #ea06ea 0%, #53bbc6 100%);

  /* 議程表色系 */
  --classA: #ff1d25;
  --classB: #00ffff;
  --classF: #ff00ff;
  --classG: #00ff00;
  --classM: #f7931e;
}

/*====================================
# 共同設定
==================================== */

html {
  scroll-behavior: smooth;
}

body {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  color: #ffffff;
  background-color: var(--bgDark);
  font-family: "Roboto", "Noto Sans TC", Arial, "微軟正黑體", "新細明體",
    Helvetica, sans-serif;
}

::selection {
  color: #ffffff;
  background-color: var(--themeColor3);
}

section {
  padding: 4.5rem 1.5rem;
}

a {
  color: var(--themeHoverColor);
}

a:hover {
  color: var(--themeColor);
  text-decoration: none;
}

p {
  margin: 0;
  padding: 0;
}

.fz-15 {
  font-size: 15px;
}

.mbmore {
  margin-bottom: 4rem;
}

.main-title {
  text-align: center;
  font-weight: 700;
  font-style: italic;
  text-shadow: 1px 3px 5px var(--themeColor);
}

.text-light-gray {
  color: #bababa;
}

.btn-main,
.btn-gray {
  display: block;
  text-align: center;
  font-style: italic;
  font-size: 20px;
  color: #ffffff;
  padding: 1rem 2rem;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transition: 0.2s;
}

.btn-main {
  background-image: url(../img/btn.svg);
}

.btn-gray {
  background-image: url(../img/btnend.svg);
}

.btn-main:hover,
.btn-main:focus {
  color: #f9bf3d;
  filter: drop-shadow(0px 0px 8px #efefef);
}

.btn-gray:hover,
.btn-gray:focus {
  cursor: default;
  color: #fff;
  opacity: 0.7;
}

/* =======================================
    scrollbar 滾軸
========================================= */
::-webkit-scrollbar {
  width: 12px;
  background-color: #d1d1e9;
}

::-webkit-scrollbar-track {
  border-radius: 3px;
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: var(--themeColor);
  border: 2px solid #d1d1e9;
}

/* =======================================
# sec_foreword
========================================= */
.sec_foreword {
  width: 100%;
  background-image: url(../img/bg-fore.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top;
  padding: 4rem 1.5rem 5rem;
}

.fore-box {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 500px;
  background-image: url(../img/box.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.fore-box .content {
  display: block;
  width: 80%;
  padding: 0 2rem;
}

.mwc-item {
  display: block;
  margin: 2rem auto;
  max-width: 250px;
  filter: drop-shadow(0px 0px 6px #44e3ee);
}

@media (max-width: 900px) {
  .fore-box {
    background-image: none;
  }
}

@media (max-width: 800px) {
  .fore-box .content {
    padding: 0;
    text-shadow: 2px 2px 2px var(--themeColor);
  }
}

/* =======================================
# sec_speaker 講者陣容
========================================= */
.index .sec_theme::before, .index .sec_theme::after{
  height: 60rem;
}

@media (max-width:768px) {

  .index .sec_theme::before,
  .index .sec_theme::after {
    height: 30rem;
  }
}
.sec_speaker {
  padding: 12rem 1rem 8rem;
  background-image: url(../img/bg.png);
  background-blend-mode: multiply;
  background-repeat: no-repeat;
  background-size: cover;
}

/* =======================================
# sec_news 最新消息
========================================= */
.sec_news {
  background-image: url(../img/bg2.png);
  background-blend-mode: multiply;
  background-repeat: no-repeat;
  background-size: cover;
}

/* =======================================
# sec_partner 合作夥伴
========================================= */
.sec_partner {
  background-image: url(../img/bg-city.png);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: contain;
}

.sec_partner .main-title {
  margin-bottom: 2rem;
}

.partner-logo {
  background-color: #ffffff;
  width: 100%;
  -webkit-clip-path: polygon(
    10% 0%,
    100% 0,
    100% 20%,
    100% 80%,
    90% 100%,
    0 100%,
    0% 80%,
    0% 20%
  );
  clip-path: polygon(
    10% 0%,
    100% 0,
    100% 20%,
    100% 80%,
    90% 100%,
    0 100%,
    0% 80%,
    0% 20%
  );
}

.logo-wrap {
  filter: drop-shadow(0px 0px 13px #ffffff);
  margin-bottom: 2rem;
  transition: 0.4s;
}

.logo-wrap:hover {
  filter: drop-shadow(0px 0px 3px #ffffff);
  transform: scale(0.9);
}

.partner-logo img {
  display: block;
}

/* =======================================
# Page Top
========================================= */

/* 連結的形狀 */
#page-top a {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #be3455;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  line-height: 60px;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.6rem;
  transition: all 0.3s;
}

#page-top a:hover {
  background: #d8cccf;
}

#page-top a::before {
  content: "";
  display: block;
  height: 15px;
  width: 15px;
  border: solid #ffffff;
  border-width: 3px 3px 0 0;
  transform: rotate(-45deg);
}

/* 位置右下跳出 */
#page-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  /*一開始隱藏*/
  opacity: 0;
  transform: translateY(100px);
}

/*　向上動畫設定　*/

#page-top.UpMove {
  animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*　向下動畫設定　*/

#page-top.DownMove {
  animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 1;
    transform: translateY(100px);
  }
}
