.my-header {
  width: 100%;
  height: 80px;
  display: flex;
  z-index: 100;
  position: fixed;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(26, 28, 35, 0.9);
}
.header-menu {
  display: none;
}
.header-logo-text {
  color: rgb(255, 255, 255);
  font-size: 20px;
  font-style: normal;
  font-family: "Inter";
  font-weight: 400;
  line-height: 80px;
  margin-left: 20px;
  text-indent: 80px;
  letter-spacing: 5px;
  background-size: 50px 50px;
  background-image: url("https://storage.googleapis.com/cyvisionbot_test_2/Web_Static/Images/home_small_logo.png");
  background-repeat: no-repeat;
  background-position: left;
}
.header-nav {
  flex: 0 0 auto;
  display: flex;
  align-self: center;
  align-items: center;
  padding-right: 120px; /* leave space for translate button */
  flex-direction: row;
  justify-content: center;
}
.navhome-nav {
  gap: 50px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: center;
}
.navhome-link {
  display: contents;
}
.navhome-container {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.navhome-image {
  align-self: center;
  margin-right: 10px;
}
.navhome-text {
  color: #ffffff;
  font-size: 18px;
  align-self: center;
  font-style: normal;
  transition: 0.3s;
  font-family: "Noto Sans TC";
  font-weight: 300;
  letter-spacing: 5px;
}
.navhome-text:hover {
  text-decoration: underline;
  text-underline-offset: 8px;
}
.navhome-text-en-US {
  color: #ffffff;
  font-size: 18px;
  align-self: center;
  font-style: normal;
  transition: 0.3s;
  font-family: "Noto Sans TC";
  font-weight: 300;
  letter-spacing: 2px;
}
.navhome-text-en-US:hover {
  text-decoration: underline;
  text-underline-offset: 8px;
}

/* Square translate button with border and icon */
.translate-btn {
  position: absolute; /* inside header */
  top: 12px;
  right: 20px;
  z-index: 300;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  background: transparent;
}
.translate-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}
.translate-icon {
  width: 24px;
  height: 24px;
  display: block;
}

.side-menu {
  height: 100%; /* 全屏高度 */
  width: 0; /* 初始寬度設為0 */
  position: fixed; /* 固定位置 */
  z-index: 200; /* 保持在頂層 */
  top: 60px;
  left: 0;
  background-color: rgba(26, 28, 35, 0.9); /* 選單背景色 */
  overflow-x: hidden; /* 隱藏水平滾動條 */
  transition: 0.5s; /* 過渡效果 */
  padding-top: 0px; /* 頂部填充 */
}

.side-menu ul {
  list-style-type: none;
}
.side-menu li {
  margin: 50px 0px 50px 50px;
  font-weight: 500;
  letter-spacing: 5px;
}
/* 選單內按鈕樣式 */
.side-menu a {
  color:white;
  text-decoration: none;
  /* margin: 50px 0px 50px 50px; */
}

.side-menu a:hover {
  text-decoration: underline;
  text-underline-offset: 8px;
}
.side-menu-en-US {
  height: 100%; /* 全屏高度 */
  width: 0; /* 初始寬度設為0 */
  position: fixed; /* 固定位置 */
  z-index: 200; /* 保持在頂層 */
  top: 60px;
  left: 0;
  background-color: rgba(26, 28, 35, 0.9); /* 選單背景色 */
  overflow-x: hidden; /* 隱藏水平滾動條 */
  transition: 0.5s; /* 過渡效果 */
  padding-top: 0px; /* 頂部填充 */
}

.side-menu-en-US ul {
  list-style-type: none;
}
.side-menu-en-US li {
  margin: 50px 0px 50px 30px;
  font-weight: 500;
  letter-spacing: 2px;
}
/* 選單內按鈕樣式 */
.side-menu-en-US a {
  color:white;
  text-decoration: none;
  /* margin: 50px 0px 50px 50px; */
}

.side-menu-en-US a:hover {
  text-decoration: underline;
  text-underline-offset: 8px;
}


@media(max-width: 1200px) {
  .header-logo-text {
    text-indent: 65px;
    font-size: 18px;
    letter-spacing: 5px;
  }
  .header-nav {
    padding-right: 100px;
  }
  .navhome-nav {
    gap: 30px;
  }
}

@media(max-width: 991px) {
  .header-logo-text {
    font-size: 16px;
    margin-left: 10px;
    text-indent: 60px;
    letter-spacing: 5px;
  }
  .header-nav {
    padding-right: 80px;
  }
  .navhome-nav {
    gap: 15px;
  }
  .navhome-image {
    width: 16px;
    margin-right: 5px;
  }
  .navhome-text {
    font-size: 16px;
    letter-spacing: 3px;
  }
  .navhome-text-en-US {
    font-size: 16px;
    letter-spacing: 1px;
  }
}

@media(max-width: 767px) {
  .my-header {
    height: 60px;
    align-items: center;
    justify-content: flex-start;
  }
  .header-menu {
    width: 30px;
    height: 30px;
    display: flex;
    margin-left: 20px;
    background-size: 30px 30px;
    background-image: url('https://storage.googleapis.com/cyvisionbot_test_2/Web_Static/Images/menu_svg.svg');
  }
  .header-logo-text {
    font-size: 16px;
    line-height: 60px;
    margin-left: 20px;
    text-indent: 50px;
    background-size: 35px 35px;
  }
  .header-nav {
    display: none;
    padding-right: 70px;
  }
  .navhome-nav {
    align-items: flex-start;
    flex-direction: column;
  }
  .translate-btn {
    top: 8px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-width: 2px;
  }
  .translate-icon {
    width: 20px;
    height: 20px;
  }
  .navhome-text {
    margin-bottom: var(--dl-space-space-unit);
  }
  .navhome-text-en-US {
    margin-bottom: var(--dl-space-space-unit);
  }
}