* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  font-family: "Roboto", "Noto Sans TC", sans-serif;
}
.bg {
  background-image: url(../images/main-background.jpg?t=1750146033826);
  background-repeat: repeat-y;
  background-position: center;
  height: 100vh;
  width: 100vw;
  position: fixed;
  z-index: -1; 
  background-size: cover;
  top:0%;
}

@font-face {
  font-family: "Noto Sans TC";
  unicode-range: U+4E00-9FFF; /* 覆蓋常用的中文漢字範圍 */
}

@media screen and (min-width: 960px) {
  /* 捲動條的樣式 */
  ::-webkit-scrollbar {
    width: 12px; /* 調整捲動條的寬度 */
  }

  /* 捲動條上捲動軌道的樣式 */
  ::-webkit-scrollbar-track {
    background-color: #fff; /* 捲動軌道的背景顏色 */
  }

  /* 捲動條上的捲動滑塊樣式 */
  ::-webkit-scrollbar-thumb {
    background-color: #d60620; /* 捲動滑塊的背景顏色 */
    border-radius: 10em; /* 捲動滑塊的圓角 */
  }
}



/* 回到最上層按鈕 */
.arrow i:hover {
  background-color: #d60620;
}
.arrow {
  position: fixed;
  right: 5%;
  bottom: 0%;
  z-index: 999;
  transition: transform 0.3s ease;
}
.arrow i {
  font-size: 2.3rem;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.4);
  cursor: pointer;
  float: right;
  padding: 30%;
  border-radius: 5px;
}
@media screen and (max-width: 959px) {
  .arrow {
    right: 3%;
    bottom: 0%;
    max-width: 10%;
    padding: 2%;
	display: none;
  }
  .arrow i {
    font-size: 6vw;
    border-radius: 1vw;
  }
}
