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

/*professor*/
.professor {
  background-color: #f0e5de;
  padding: 100px 0px 40px 0px;
}

.professor img {
  border-radius: 50%;
  width: 70%;
  height: 80%;
  margin-top: 35px;
  object-fit: cover;
}

.introduction {
  padding: 30px 0;
  font-size: 18px;
  margin-top: 20px;
}

.introduction span {
  font-style: normal;
  font-size: 30px;
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
}
.table {
  margin-left: -10px;
}
.title_line {
  border-color: #ffffff;
  margin-bottom: 50px;
}

/*education expertise patent experience*/
.education,
.expertise,
.patent {
  margin-top: -10px;
  background-color: #f0e5de;
  padding: 0px 0px 40px 0px;
}
.block {
  background-color: #adadad;
  width: auto;
}
.title3 {
  margin-top: 16px;
  font-size: 30px;
  font-weight: bold;
}
.list-group {
  margin-top: 30px;
}
.list-group p {
  font-size: 18px;
}
/*experience*/
.experience {
  margin-top: -10px;
  background-color: #f0e5de;
  padding: 0px 0px 60px 0px;
}

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