html {
  width: 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;
}
.title_line {
  border-color: #ffffff;
  margin-bottom: 30px;
}

.member {
  background-color: #f0e5de;
  padding-bottom: 70px;
}
.member .card {
  background-color: #ffffff;
  padding: 10px 10px;
  height: 450px; /* 設定固定高度 */
  margin-bottom: 10px;
}
.card img {
  width: 80%;
  height: 300px; /* 設定固定高度 */
  object-fit: cover; /* 確保圖片以填充方式顯示 */
}
.member img {
  width: 100%;
  max-height: 300px; /* 設定最大高度 */
  margin-bottom: 30px;
}

.member img:hover {
  opacity: 0.8;
}
.member_name {
  padding: 10px;
}
/* research.html */
.introduction2 {
  padding: 30px 0;
  font-size: 20px;
}

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; }
}
