/* === photography.css === */
header#p-header nav ul li a {
  color: white; /* 預設文字顏色為白色 */
  transition: color 0.3s ease; /* 平滑過渡效果 */
}

.greycolor {
  color: #6D6D6D !important; /* 設置文字顏色為黑色 */
  transition: color 0.3s ease; /* 平滑過渡效果 */
}

/* 設置 #p-container 以使用 flexbox 排版，並確保其最小高度為頁面高度 */
#p-main {
  position: relative;
  height: 100vh;
  max-height: 1024px;
  background-color: black;
}
#p-gallery{
  position: relative;
  height: auto;
  background-color: black;
  padding: 40px;
}
.gallery-container{
  height: 100%;
  justify-content: center;
  display: flex;
  flex-direction: column;
}
/* 主內容區域，當內容區域較少時將推動 footer 到頁面底部 */
.mainpage {
  display: inline-flex;
  height: 100%;
  align-items: center;
}
img{
  object-fit: cover;
  width: 100%;
}

.medium-pic{
  height: 600px;
}
.small-pic{

  height: 300px;
}

.large-pic{
  height: 600px;
}
.half-medium-pic{
  height: 300px;
}


/* 文字樣式 */
.p-name {
  font-weight: 200;
  font-size: 120px;
  color: #e6e6e6;
  letter-spacing: -4px;
}

/* bio 區域 */
.bio {
  height: 100vh;
  max-height: 1024px;
  display: flex;
  flex-direction: column;  /* 垂直排列標題和圖片 */
  justify-content: center;
  background-color: white;
  width: 100%;  /* 確保寬度為全屏 */
}
.gray-line{
  height: 1px;
  background-color: #E5E5E5;
  width: 60%;
}

.bio-title {
  font-size: 90px;
  color: #E5E5E5;
  letter-spacing: 12px;
  font-weight: normal;
  text-align: start;
}
.ig{
  font-size: 14px;
  color:black;
  font-weight: normal;
}
.bio-content{
  display: flex;
  flex-direction: column;
}

#bio-text{
  color:black;
  font-weight: normal;
  text-align: start;
}

/* 響應式圖片 */
#overview-image {
  max-width: 100%;  /* 確保圖片不超過容器寬度 */
  height: 50vh;
}


/* === Header 樣式 === */
header#p-header {
  position: fixed;
  top: 20px;
  width: 100%;
  background-color: rgba(0, 0, 0, 0);
  color: white;
  z-index: 1000;
  opacity: 1;
}


#photography {
  position: relative;
  height: 100vh;
  max-height: 1024px;
  background-color: rgba(130, 130, 130, 0.5);
}

/* 響應式設置 */
@media (max-width: 767px) {
  .bio-title {
    font-size: 50px;
  }
  .bio-content h1 {
    font-size: 60px;
  }
}


