
/* Navigator base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

a {
    color: #fff;
}
a:visited {
    color: #fff;
}
a:hover {
    color: #c0c0c0;

}


.navbar2-sticky {
  position: fixed;   /* 固定在頁面頂部 */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;    /* 確保導覽列在最上層 */
}

/* 調整內部 logo 高度 */
.logo-brand {
  height: 0px;   /* 或你希望的高度 */
  transition: height 0.3s ease; /* 如果需要動畫效果 */
}

/* 選單項目 */
.nav-menu li a {
  line-height: 0px;  /* 與 logo 高度對齊 */
  padding: 0 0px;
  text-decoration: none;
  color: #000;
}

/* off-screen-menu */

/* PC Styles */
@media (min-width: 1025px) {
.off-screen-menu {
    background:  #000;
    height: 100vh;
    width: 100%;
    max-width: 100%;
    position: fixed;
    top: 0;
    right: 0;      /* 固定在螢幕內 */
    opacity: 0;    /* 初始透明 */
    pointer-events: none; /* 避免點擊隱藏狀態的選單 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 7rem;
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
      font-style: italic;
    font-weight: 100;
    transition: opacity 0.5s ease;
}

.off-screen-menu2 {
  position: relative;
  bottom: 0;
  width: 100%;     /* 撐滿整個視窗寬度 */
  align-items: center;    
  justify-content: center;
  text-align: center;
  padding: 10px;
  font-size: 3rem;
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
}

.off-screen-menu.active {
   opacity: 1;
    pointer-events: auto;
}
}

/* Tablet Styles */
@media (min-width: 601px) and (max-width: 1024px) {
.off-screen-menu {
    background:  #000;
    height: 100vh;
    width: 100%;
    max-width: 100%;
    position: fixed;
    top: 0;
    right: 0;      /* 固定在螢幕內 */
    opacity: 0;    /* 初始透明 */
    pointer-events: none; /* 避免點擊隱藏狀態的選單 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 5rem;
        font-style: italic;
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
    font-weight: 100;
    transition: opacity 0.5s ease;
}
.off-screen-menu.active {
    opacity: 1;
    pointer-events: auto;
}

.off-screen-menu2 {
  position: relative;
  bottom: 0;
  width: 100%;     /* 撐滿整個視窗寬度 */
  align-items: center;    
  justify-content: center;
  text-align: center;
  padding: 10px;
  font-size: 3rem;
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
}

}


/* Mobile Styles */
@media (max-width: 600px) {
.off-screen-menu {
    background:  #000;
    height: 100vh;
    width: 100%;
    max-width: 100%;
    position: fixed;
    top: 0;
    right: 0;      /* 固定在螢幕內 */
    opacity: 0;    /* 初始透明 */
    pointer-events: none; /* 避免點擊隱藏狀態的選單 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 3rem;
   font-style: italic;
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
    font-weight: 100;
    transition: opacity 0.5s ease;
}
.off-screen-menu.active {
    opacity: 1;
    pointer-events: auto;
}

.off-screen-menu2 {
  position: relative;
  bottom: 0;
  width: 100%;     /* 撐滿整個視窗寬度 */
  align-items: center;    
  justify-content: center;
  text-align: center;
  padding: 10px;
  font-size: 2rem;
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
}

}


/* nav */
nav {
    padding: 1rem;
    display: flex;
}



/* ham menu */
.ham-menu {
    height: 50px;
    width: 50px;
    margin-left: auto;
    position: relative;
}
.ham-menu span {
    height: 1px;
    width: 50%;
    background-color: #c0c0c0;
    border-radius: 25px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: .3s ease;
}
.ham-menu span:nth-child(1) {
    top: 25%;
}
.ham-menu span:nth-child(3) {
    top: 75%;
}
.ham-menu.active span {
    background-color: #c0c0c0;
}
.ham-menu.active span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}
.ham-menu.active span:nth-child(2) {
    opacity: 0;
}
.ham-menu.active span:nth-child(3) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

