html,
body {
  position: relative;
  height: 100%;
  background-color: #1A1A1A;
  scroll-behavior: smooth;
}

body {
  font-family: "Gantari", sans-serif;
  font-size: 16px;
  color: #fff;
  margin: 0;
  padding: 0;
}

/* 全域 圖片zoom-in放大 */
img[data-aos="zoom-in"] {
  transform: scale(1.1);
}

img[data-aos="zoom-in"].aos-animate {
  transform: scale(1);
}

/* 全域 圖片zoom-in放大 */
video[data-aos="zoom-in"] {
  transform: scale(1.1);
}

video[data-aos="zoom-in"].aos-animate {
  transform: scale(1);
}

/* 偵測背景色，將文字顏色適應對比 */
.auto-contrast-text {
  filter: grayscale(1) contrast(999) invert(1);
}

/* 文章標籤 */
.pin-post-tag {
  font-size: 12px;
  color: #fff;
  background: #d90514;
  padding: 4px 8px;

}

/* 文章遮罩 */
.pin-post-mask {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0),
      rgba(0, 0, 0, 0.2),
      rgba(0, 0, 0, 1));
}

.text-shadow-md {
  text-shadow: 0px 1px 2px rgb(30 29 39 / 19%), 1px 2px 4px rgb(54 64 147 / 18%);
}

.text-shadow-lg {
  text-shadow: 3px 3px 6px rgb(0 0 0 / 26%), 0 0 5px rgb(15 3 86 / 22%);
}

.text-shadow-xl {
  text-shadow: 1px 1px 3px rgb(0 0 0 / 29%), 2px 4px 7px rgb(73 64 125 / 35%)
}

.required:after {
  content: '*';
  color: #d90514;
  font-size: 16px;
  font-weight: 700;
  margin-left: 4px;
}

.left-deco-title {
  padding-left: 0.5em;
  border-left: solid 6px #d90514;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.bottom-deco-title {
  position: relative;
  display: inline-block;
  padding-bottom: 0.5em;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;

}

.bottom-deco-title:after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 4rem;
  height: 4px;
  background-color: #d90514;
}

.slash-deco-title {
  position: relative;
  padding: 0 45px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  padding-left: 1em;
}

.slash-deco-title:before {
  content: ' ';
  position: absolute;
  width: 4px;
  height: 30px;
  background-color: black;
  -webkit-transform: rotate(20deg);
  transform: rotate(20deg);
  background-color: #d90514;
}

.outlined-deco-title {
  width: 100%;
  color: transparent;
  font-weight: 600;
  text-transform: uppercase;
  opacity: 0.8;
  -webkit-text-stroke: 1px white;

}