* {
  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);
  background-repeat: no-repeat;
  background-position: center;
  height: 100vh;
  width: 100vw;
  position: fixed;
  z-index: -1;
}

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

/* 回到最上層按鈕 */
.arrow i:hover {
  background-color: rgba(0, 0, 0, 0.7);
}
.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%;
  }
  .arrow i {
    font-size: 6vw;
    border-radius: 1vw;
  }
}
