html {
  width: 100%;
  height: 100%;
}
body {
  display: flex; /*使物件依序排列*/
  flex-direction: column; /*使物件垂直排列*/
  height: 100%;
}

* {
  box-sizing: border-box;
}
p,
h1,
h2,
h3,
h4,
h4,
h6,
div,
span {
  font-family: PingFangSC-Regular, sans-serif, Microsoft JhengHei;
}

p {
  font-size: 16px;
}
.navbar-brand img {
  height: 50px;
}

@media (min-width: 768px) {
  /*nav選單*/
  .navbar {
    padding-left: 50px !important;
    padding-right: 50px !important;
  }
}

/*member*/
.title {
  font-size: 30px;
  font-weight: bold;
  padding: 100px 0px 0px 0px;
  text-align: center;
}
.title_line {
  border-color: #ffffff;
  margin-bottom: 30px;
}

.activity {
  background-color: #f0e5de;
  padding-bottom: 70px;
  flex-grow: 1; /*可佔滿垂直剩餘的空間*/
}

.activity img:hover {
  opacity: 0.8;
}

body {
  margin: 0;
  padding: 0;
  background-color: black;
}
.container2 {
  width: 100%;
  margin: 0 auto;
}
.zoomwall {
  overflow: hidden;
}

.zoomwall img {
  height: 30vw;
  opacity: 1;
  vertical-align: top;
  transform-origin: 0% 0%;
  transition-property: transform, opacity;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
  -webkit-transform-origin: 0% 0%;
  -webkit-transition-property: transform, opacity;
  -webkit-transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  margin-bottom: 3px;
}
.custom-size {
  width: auto; /* 設置圖片的寬度為 300px，你可以根據需要修改此值 */
  height: auto; /* 高度自動調整，保持圖片比例 */
}

footer {
  background-color: #c1adad;
  padding: 20px 0;
  height: 200px;
}

footer p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 12px;
}

.nav-link-fan {
  background-image: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet);
  -webkit-background-clip: text;  
  background-clip: text; /* 將背景應用到文字 */
  color: transparent; /* 設置文字顏色為透明 */
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5), 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #ff00de, 0 0 60px #ff00de, 0 0 80px #ff00de, 0 0 110px #ff00de, 0 0 150px #ff00de; /* 調整文字陰影效果使其更突出 */ /* 文字陰影 */
  animation: rainbow 5s linear infinite; /* 添加彩虹動畫 */
}

@keyframes rainbow {
  0% { background-position: 0 0; }
  100% { background-position: 200% 0; }
}
