:root {
  --mian-bg: #edf2fb;
  --sub-bg: #e1e5f2;
}

html {
  scroll-behavior: smooth;
}

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

}

section {
  padding: 3em 1.5em;
}

::selection {
  color: #001233;
  background-color: #cdc1ff;
}

.main-title {
  position: relative;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.2rem;
  padding: 25px 0;
  text-align: center;
  color: #2c2a4a;
}


.main-heading {
  text-align: center;
  position: relative;
  margin-bottom: 3rem;
}

.main-heading .en {
  color: #f2f4f6;
  font-size: 6rem;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1;
  opacity: 0.8;
}

.main-heading .title {
  width: 100%;
  color: #212121;
  font-size: 3rem;
  line-height: 1;
  position: absolute;
  bottom: -0.5em;
  left: 50%;
  transform: translate(-50%, -50%);
}



@media (max-width:576px) {
  .main-heading .en {
    font-size: 3rem;
  }

  .main-heading .title {
    font-size: 2.5rem;
  }
}

.btn-main {
  position: relative;
  display: block;
  max-width: 300px;
  width: 100%;
  font-size: 24px;
  color: #fff;
  text-align: center;
  background-color: #ffaa00;
  border-radius: 32px;
  padding: 6px 20px;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.btn-main img {
  position: absolute;
  top: 25px;
  right: 0;
  max-width: 60px;
  transition: transform 0.3s ease;
}

.btn-main:hover {
  color: #fff;
  background-color: #ff9500;
  text-decoration: none;
  transform: translateY(4px);
}

.btn-main:hover img {
  transform: rotate(10deg) translateY(-4px);
}

.btn-main:focus {
  transform: scale(95%);
}

.btn-main-close {
  letter-spacing: 0.25rem;
  font-size: 20px;
  border-radius: 30px;
  border: 1px solid #bfbdc1;
  padding: 15px;
  margin: 25px 0;
  background-color: #6d6a75;
  cursor: not-allowed;
  color: #bfbdc1;
}

.highlight {
  background-image: linear-gradient(to top, #fde24f 0, #fde24f 30%, transparent 30%, transparent 100%);
}


/* =======================================
# scrolldown
========================================= */

.scrolldown {
  /*位置*/
  position: absolute;
  bottom: 30px;
  left: 50%;
}

.scrolldown .trail {
  margin-left: 3px;
  height: 15px;
  width: 15px;
  border: 1px solid;
  border-color: #fff transparent transparent #fff;
  transform: rotate(-135deg);
  -webkit-animation-delay: 0.1s;
  -moz-animation-delay: 0.1s;
  animation-delay: 0.1s;
  -webkit-animation: srcoll-trail 1.2s infinite;
  -moz-animation: srcoll-trail 1.2s infinite;
  animation: srcoll-trail 1.2s infinite;
}

.scrolldown .trail:nth-child(2) {
  -webkit-animation-delay: 0.2s;
  -moz-animation-delay: 0.2s;
  animation-delay: 0.2s;
}

@-webkit-keyframes scroll {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translateY(10px);
    transform: translateY(10px);
  }
}

@-moz-keyframes scroll {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translateY(10px);
    transform: translateY(10px);
  }
}

@-o-keyframes scroll {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translateY(10px);
    transform: translateY(10px);
  }
}

@keyframes scroll {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translateY(10px);
    transform: translateY(10px);
  }
}

@-webkit-keyframes srcoll-trail {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@-moz-keyframes srcoll-trail {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@-o-keyframes srcoll-trail {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes srcoll-trail {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

/* ---------------
     前言
   --------------- */

.foreword-title {
  font-size: 2.2rem;
  font-weight: bold;
  padding: 1.5rem 0;
}

.titlelink {
  color: #00214d;
  background-image: linear-gradient(#ffffff 50%, #80ffdb 50%);
  background-size: auto 175%;
  transition: background 0.3s ease-in-out;
}

.titlelink:hover {
  background-position-y: 100%;
  text-decoration: none;
}

.sec-intro {
  position: relative;
  background-color: var(--mian-bg);
  padding-top: 6rem;
}

.sec-intro::before {
  content: "";
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 40px 100px 0 100px;
  z-index: 1;
  top: 0;
  border-color: #ffffff transparent transparent transparent;
}

@media (max-width:576px) {

  .foreword-title {
    font-size: 2.5rem;
    line-height: 1.5;
  }
}


.intro-title {
  position: relative;
  padding: 3rem 2rem;
  color: #0083C6;
  font-weight: 700;
  line-height: 1.5;
}

.intro-title::before,
.intro-title::after {
  display: inline-block;
  position: absolute;
  width: 1em;
  height: 1em;
  content: '';
}

.intro-title::before {
  top: 0;
  left: 0;
  border-top: 5px solid #2589d0;
  border-left: 5px solid #2589d0;
}

.intro-title::after {
  bottom: 0;
  right: 0;
  border-bottom: 5px solid #2589d0;
  border-right: 5px solid #2589d0;
}

.intro-title p {
  margin-top: 1rem;
  font-size: 28px;
  color: #212121;
  font-style: italic;
  letter-spacing: 0.08rem;
}

@media (max-width:576px) {
  .sec-intro::before {
    width: 96%;
  }
}



/* ---------------
     徵稿類別
   --------------- */
.sec-type {
  overflow: hidden;
  background-color: var(--mian-bg);
}


.type-wrap {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: rgba(198, 214, 241, 0.3) 0px 20px 25px -5px, rgba(198, 214, 241, 0.1) 0px 10px 10px -5px;
}

.stroke-text {
  color: #d2eeea;
  font-weight: 600;
  font-size: 5em;
  /* -webkit-text-stroke: 3px #c7ccdb;
  paint-order: stroke fill; */
}

.type-title {
  position: relative;
  color: #212121;
}

.type-box {
  padding: 2rem 1rem;
}


.type-title .en {
  font-size: 25px;
}

.sec-type ul {
  margin: 0;
}

.sec-type ul li {
  list-style: square;
}

.news-tag {
  position: absolute;
  right: 6rem;
  top: 0;
  color: #ffffff;
  padding: 0 5px;
  background-color: #fa5246;
  transform: rotate(10deg);
  font-size: 25px;
}

@media (max-width:768px) {
  .type-title {
    margin-bottom: 2rem;
  }
}


@media (max-width:576px) {

  .type-title::before {
    top: -25px;
    left: 0;
    font-size: 2.5em;
  }

  .news-tag {
    right: 1rem;
    top: 2rem;
  }
}

hr {
  border-width: 0 0 1px;
  margin: 1rem auto;
  max-width: 85%;
  box-sizing: border-box;
}

.fade-line {
  color: #c7ccdb;
  border-image: linear-gradient(90deg, rgba(199, 204, 219, 0), #c7ccdb 50%, rgba(199, 204, 219, 0) 100%) 0 0 100%;
  border-style: solid;
}


/* ---------------
    徵稿主題
   --------------- */

.sec-theme {
  position: relative;
  background: var(--mian-bg);
  padding-bottom: 6rem;
}

.sec-theme::after {
  content: "";
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 40px 100px 0 100px;
  z-index: 1;
  bottom: -40px;
  border-color: var(--mian-bg) transparent transparent transparent;
}


.sec-theme .main-heading .en {
  color: #ffffff;
  opacity: 0.6;
}


.sec-theme .tag {
  padding: 10px 20px;
  line-height: 20px;
  margin: 6px;
  color: #1b2d45;
  background-color: #ffffff;
  border: 1px solid #abc4ff;
  border-radius: 20px;
  transition: 0.2s;
}

.sec-theme .tag:hover {
  background-color: #caf0f8;
  transform: scale(1.05);
}

@media (max-width:576px) {
  .sec-theme::before {
    width: 96%;
  }

  .sec-theme .tag {
    font-size: 16px;
  }
}

.fs-md {
	font-size: 16px;
}

/* ---------------
    徵稿時程
   --------------- */

.flowList {
  position: relative;
  display: flex;
  gap: calc(0.5rem * 3);
  counter-reset: num;
  flex-direction: column;
  list-style: none;
}

.flowList-item {
  position: relative;
  padding: calc(0.5rem * 3) calc(0.5rem * 2);
  border-radius: 8px;
  border: 1px solid #7785ac;
  background-color: #FFF;
  flex-basis: 25%;
  text-align: center;
}

.flowList-item::before {
  counter-increment: num;
  content: "STEP " counter(num);
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  position: absolute;
  top: -12px;
  left: 12px;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: bold;
  color: #7785ac;
  background-color: #FFF;
  padding: 4px;
}

.flowList::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0px;
  left: 50%;
  transform: translate(-50%, 0px);
  width: 1px;
  height: 100%;
  background-color: #193446;
}

@media screen and (min-width: 768px) {
  .flowList {
    flex-direction: row;
  }

  .flowList-item {
    padding: calc(0.5rem * 4) calc(0.5rem * 3);
  }

  .flowList-item::before {
    font-size: 2rem;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
  }

  .flowList::after {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 1px;
  }
}

@media (min-width: 768px) and (max-width: 1200px) {
  .flowList-item::before {
    top: -45px;

  }
}

@media (max-width:576px) {
  .flowList {
    padding-left: 0;
  }

  .flowList-item p {
    margin-bottom: 0;
  }
}


/* ---------------
     徵稿條件
   --------------- */

.v-title,
.x-title {
  font-size: 22px;
  font-weight: bold;
  padding-bottom: 15px;
}

.v-box,
.x-box {
  border-radius: 12px;
  font-size: 20px;
  position: relative;
  margin-bottom: 15px;
  border: 6px double;
}


.x-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 245px;
  font-size: 24px;
  /* background-color: #f54952; */
  border-color: #f54952;
  color: #cc3d44;
}

.v-box {
  padding: 12px;
  color: #058b87;
  border-color: #07beb8;
  /* background-color: #07beb8; */
}

.v-title {
  color: #07beb8;
}

.x-title {
  color: #f54952;
}


@media (max-width:576px) {
  .x-box {
    min-height: 62px;
    font-size: 18px;
  }
}

.info-title {
  border: 1px solid #333333;
  border-radius: 2px;
  text-align: center;
  margin-bottom: 20px;
}



/* ---------------
    講者權利義務
   --------------- */
.sec-rules {
  position: relative;
  background-color: var(--sub-bg);
}

.sec-rules::before {
  content: "";
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 40px 100px 0 100px;
  z-index: 1;
  top: 0;
  border-color: #ffffff transparent transparent transparent;
}


.sec-rules h4 {
  margin-top: 25px;
}


.sec-rules .main-heading .en {
  color: #ffffff;
  opacity: 0.8;
}


.rule-list li {
  list-style-type: none;
  position: relative;
}

.rule-list li::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: #00214d;
  left: -15px;
  top: 10px;
}

.mx-55 {
  width: 100%;
  max-width: 550px;
  margin-bottom: 15px;
}


/* ---------------
   徵稿聯絡信箱
   --------------- */

.sec-mail {
  position: relative;
  background-color: var(--sub-bg);
  margin-top: -1px;
}

.sec-mail::before {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-color: #00171f;
}

.mail-box {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border: 4px solid var(--mian-bg);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: rgba(50, 48, 70, 0.24) 0px 3px 8px;
}

.mail-img {
  max-width: 100px;
  display: block;
}

.mail-txt {
  font-size: 24px;
  margin-left: 2rem;
}

@media (max-width:768px) {
  .mail-box {
    text-align: center;
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width:576px) {
  .mail-txt {
    font-size: 18px;
    margin-left: 0;
    margin-top: 2rem;
  }

}

/* ---------------
     講者回顧
   --------------- */
.sec-link {
  color: #ffffff;
  background-color: #00171f;
}

.sec-link h2 {
  font-size: 2.5rem;
}

.year-link a {
  font-size: 1.8rem;
  color: #e5d9f2;
  text-decoration: none;
}

.year-link a:hover {
  color: #4cc9f0;
}

.year-link li::after {
  content: "/";
  margin-left: 10px;
}

.year-link li:last-child::after {
  content: "";
}

@media (max-width:576px) {
  .sec-link h2 {
    font-size: 2.2rem;
  }
}

/* ---------------
       goTop 
   --------------- */

/*形狀*/
#page-top a {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #2e2e2e;
  background: #ffffff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  color: #2e2e2e;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s;
  opacity: 0.5;
}

#page-top a:hover {
  opacity: 1;
}

/*右下固定*/
#page-top {
  position: fixed;
  right: 15px;
  bottom: 10px;
  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);
  }
}