@import url('https://fonts.googleapis.com/css2?family=Bitcount+Grid+Double:wght@100..900&family=Cactus+Classical+Serif&family=Chiron+GoRound+TC:wght@200..900&family=Poiret+One&display=swap');

body {
    background-color: #d6c99c30;
    /* 淺灰色背景 */
    /* padding: 2rem 0; */
    /* 上下內邊距 */
    /* text-align: center; */
    /* 文字置中 */

}

/* .navbar-expand-lg {
    background-color: #1fa0f130;
} */


.introduction .container h1 {
    font-family: "Chiron GoRound TC", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 50px;

}

.introduction .container h2 {
    font-family: "Chiron GoRound TC", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 40px;

}

.navbar-brand {
    font-size: 2rem;
    /* 調整字體大小 */
    font-family: "Chiron GoRound TC", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    
}

.navbar-brand .header-text {
    color: rgb(41, 104, 141);
    font-size: 2rem;
    /* 調整字體大小 */
    font-family: "Chiron GoRound TC", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

.navbar {
    background-color: #060606;
    /* 淺灰色背景 */
    /* padding: 0.5rem; */
    /* 調整內邊距 */
}

.nav-link {
    font-size: 1.2rem;
    /* 調整字體大小 */
    margin-right: 1.5rem;
    /* 調整選項之間的距離 */
}

.container-fluid img {
    height: 100px;
    /* 調整圖片高度 */
    width: auto;
    /* 保持圖片寬高比 */
    margin-right: 10px;
    /* 調整圖片與文字之間的距離 */
}

#bannerCarousel .carousel-item img {
    height: 250px;
    /* 統一高度，可依需求調整 */
    width: 400px;
    /* 統一寬度，可依需求調整 */
    object-fit: cover;
    /* 裁切填滿，不變形 */
    margin: auto;
    /* 水平置中 */
    border-radius: 12px;
    /* 圓角，可選 */
}

.container .home-text {
    font-family: "Cactus Classical Serif", serif;
    font-weight: 400;
    font-style: normal;
}


/* professor */


#profCarousel .carousel-item img {
    height: 350px;
    width: 100%;
    object-fit: cover;
}

.prof-hr {
    width: 120px;
    /* 長度 */
    border: 2px solid #2a2929;
    /* 粗細與顏色 */
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    margin-left: 0;
    /* 起點與標題左側對齊 */
}

.environment img {
    height: 390px;
    width: auto;
    object-fit: cover;
}

.exp-date {
    width: 160px;
    /* 固定寬度，依需求調整 */
    text-align: right;
    /* 右對齊 */
    font-size: 0.8rem;
    /* 字體大小一致 */
    flex-shrink: 0;
    /* 不壓縮 */
}

.featured .about-text {
    font-family: "Chiron GoRound TC", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-align: justify;
    /* 兩端對齊 */
}

.container .about-text {
    font-family: "Chiron GoRound TC", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-align: justify;
    /* 兩端對齊 */
}

.container .prof-exp {
    font-family: "Chiron GoRound TC", sans-serif;
    font-weight: 400;
    font-style: normal;

}

/* aboutus */
.container .card-text {
    font-family: "Chiron GoRound TC", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 20px;
    text-align: justify;
    /* 兩端對齊 */
}

.figure-img {
    width: 100%;
    /* 讓圖片寬度填滿欄位 */
    height: 300px;
    /* 固定高度，可依需求調整 */
    object-fit: cover;
    /* 裁切填滿，不變形 */
}
.about-img {
    width: 100%;
    /* 讓圖片寬度填滿欄位 */
    height: 100%;
    /* 固定高度，可依需求調整 */
    object-fit: cover;
    /* 裁切填滿，不變形 */
}

 .card-hover {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  /* 滑鼠移過去放大效果 */
  .card-hover:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    z-index: 10;
  }

  /* 預設隱藏說明文字 */
  .card-hover .detail {
    display: none;
    margin-top: 10px;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.4;
  }

  /* hover 時顯示文字，卡片高度會自動增加 */
  .card-hover:hover .detail {
    display: block;
  }
/* member */
.member-card {
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
}

.member-section-title {
    border-bottom: 2px solid #444;
}

#bannerCarousel img {
    height: auto;
    width: auto;
}

/* footer {
    background:#d6c99c0e;
} */