@charset "UTF-8";
body {
  font-family: "Noto Sans TC", serif;
  font-optical-sizing: auto;
  font-style: normal;
  margin: 0;
}

.MainDiv {
  background-image: url(/skin/images/bg-top.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  background-size: 100%;
  padding-top: 3%;
  width: 100%;

  /* 2. 建立相對定位上下文 */
  position: relative;
  z-index: 1; /* 確保內容在疊加層之上 */

  /* 其他樣式，如高度 */

  color: white; /* 為了讓內容在疊加層上顯示清晰 */
}
.MainDiv * {
  position: relative;
  z-index: 2;
}
.MainDiv::before {
  content: ""; /* 偽元素必須有 content 屬性 */
  position: absolute; /* 絕對定位 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  /* 設置疊加顏色和透明度 */
  /* 使用 rgba() 設置為半透明的白色 (讓圖片變淡) */
  background-color: rgba(255, 255, 255, 0.5);

  /* 設置疊加層在背景圖片之上，但在內容之下 */
  z-index: 0;
}

.titleDiv {
  text-align: center;
  width: 100%;
}

.pageBox {
  width: 75%;
  margin: 0 auto;
  padding: 0 0 3% 0;
}
.divBox {
  background-color: rgba(0, 0, 0, 0.8);
  width: 90%;
  margin: 2% auto;
  height: auto;
  border: 2px solid #e0804c;
  padding: 3%;
}
.divBox p {
  color: #ffffff;
  font-size: 15px;
}
.footerDiv .footerMiddleDiv .footerGameIntro {
  text-align: left;
}
.footerDiv {
  margin-top: 0;
}

@media screen and (max-width: 720px) {
  .divBox {
    width: 93%;
    margin: 0;
  }
  .divBox p {
    font-size: 14px;
  }
  #topMenu {
    display: none;
  }
  .MainDiv {
    background-image: url(/skin/images/m/bg-top.jpg);
    padding-top: 0;
    background-size: cover;
  }
  .pageBox {
    width: 95%;
    margin: 0 2.5%;
    padding: 5% 0;
  }
  .titleDiv {
    font-size: 36px;
    width: 70%;
    margin: 0 auto;
  }
  .titleDiv h1{
    font-size: 1.1em;
  }

}
