@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css");
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

* {
  padding: 0;
  margin: 0;
  list-style: none;
}

html,
body {
  scroll-behavior: smooth;
  user-select: none;
  font-family: "Noto Sans TC", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  h1 {
    font-size: 2em; /* 在小螢幕上 h1 縮小為 2em */
  }

  h2 {
    font-size: 1.75em; /* 在小螢幕上 h2 縮小為 1.75em */
  }

  h3 {
    font-size: 1.5em; /* 在小螢幕上 h3 縮小為 1.5em */
  }

  h4 {
    font-size: 1.25em; /* 在小螢幕上 h4 縮小為 1.25em */
  }

  h5 {
    font-size: 1.1em; /* 在小螢幕上 h5 縮小為 1.1em */
  }

  h6 {
    font-size: 0.9em; /* 在小螢幕上 h6 縮小為 0.9em */
  }
}

.wrapper {
  position: relative;
}

.header-container {
  position: absolute;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
}

.header-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  opacity: .4;
  background: #1b1b1b;
}

.header-container::after {
  content: "";
  width: 20px;
  height: 20px;
  position: absolute;
  left: 50%;
  bottom: 4%;
  border-left: 4px solid #00CCCC;
  border-bottom: 4px solid #00CCCC;
  border-radius: 2px;
  transform: rotate(-45deg) translateY(-20px);
}

.header-img {
  width: 100vw;
  height: 100vh;
  object-position: center;
  object-fit: cover;
}

header {
  width: 100%;
  position: absolute;
  top: 40vh;
}

.header-inner {
  max-width: 400px;
  height: 100vh;
}

header h1 {
  padding: .25em 2.125em;
  margin-bottom: 1rem;
  color: #fff;
  text-align: center;
}

header h5 {
  color: #fff;
  padding: .125em;
  text-align: center;
}

.btn {
  border-radius: 0;
  text-transform: uppercase;
  background-color: #00CCCC;
  border: none;
  padding: 1rem 2.5rem;
  margin: 1.5rem 0;
  font-size: .5rem;
  font-weight: 500;
}



/* nav */

nav {
  width: 100%;
  height: 100px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  background-color: none;
  display: flex;
  justify-content: center;
  transition: top .5s ease;
}

nav:hover {
  background-color: #161616;
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
}

.sticking {
  background-color: #161616;
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
}


.nav-container {
  display: flex;
  width: 80%;
  align-self: center;
  justify-content: space-between;
}

.brand {
  height: 40px;
}

.menu {
  display: flex;
  gap: 30px;
  align-self: center;
  justify-content: center;
}

.menu li {
  margin-top: 10px;
  position: relative;
}

.menu a {
  display: block;
  position: relative;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  text-transform: capitalize;
}

.menu li a:hover {
  color: #00CCCC;
}

.menu ul {
  position: absolute;
  top: 35px;
  margin-top: 10px;
}


.menu ul {
  background-color: #161616;
  margin-top: -5px;
  visibility: hidden;
}

.menu li:hover ul {
  visibility: visible;
}



@media(max-width: 769px) {
  .menu {
    visibility: hidden;
  }
}

/* toggle */

#toggle-menu {
  display: none;
}

.toggle {
  z-index: 999;
  position: fixed;
  right: 10%;
  top: -50%;
  cursor: pointer;
  transition: all .2s ease
}

.menu-btn i {
  display: block;
  width: 25px;
  height: 2px;
  background: #00CCCC;
  transition: transform .2s ease;
}

.menu-btn i:nth-child(1) {
  margin-top: 16px;
}

.menu-btn i:nth-child(2) {
  margin-top: 4px;
  opacity: 1;
}

.menu-btn i:nth-child(3) {
  margin-top: 4px;
}

#toggle-menu:checked+.menu-btn {
  transform: translate(6px, 2px) rotate(45deg);
  transition: transform .2s ease;
}

#toggle-menu:checked+.menu-btn i:nth-child(1) {
  transform: translateY(6px) rotate(90deg);
}

#toggle-menu:checked+.menu-btn i:nth-child(2) {
  opacity: 0;
}

#toggle-menu:checked+.menu-btn i:nth-child(3) {
  transform: translateY(-6px) rotate(180deg);
}

@media(max-width: 769px) {
  .toggle {
    top: 2.5%;
  }
}

/* resize */

.resize {
  width: 70%;
  height: 100vh;
  top: 0;
  right: 0;
  position: fixed;
  display: flex;
  padding-top: 100px;
  align-content: space-evenly;
  justify-content: flex-end;
  z-index: 99;
  background-color: #626262;
  transform: translateX(100%);
  transition: transform .3s ease;
}

.resize a {
  margin-right: 20px;
  font-size: 28px;
  color: #00CCCC !important;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
}

.resize .arrow::after {
  transition: .2s ease;
}

.resize .arrow::after {
  position: absolute;
  top: 12px;
  right: 3px;
  height: 10px;
  width: 10px;
  content: "";
  border-left: 2px solid #00CCCC;
  border-bottom: 2px solid #00CCCC;
  transform: rotate(-45deg);
}

.resize .arrow[aria-expanded=true]::after {
  transform: rotate(135deg);
  top: 18px;
}

.resize>ul {
  margin-right: 10%;
}

.resize ul li {
  width: 100%;
  text-align: right;
  margin-bottom: 10px;
  position: relative;
}

.resize ul li ul li a {
  color: #f1f1f2 !important;
  font-size: 16px;
  text-align: right;
}

.slide-out {
  transform: translateX(0%);
}

/* content */

.content {
  margin-top: 100vh;
  position: absolute;
}

section {
  width: 100%;
  padding: 2rem 0;
}

section h1 {
  text-transform: uppercase;
}

.products {
  width: 100%;
  background-color: #f1f1f2;
  padding: 4rem 0 6rem;
}

.item {
  padding: 1.25rem 0;
  background-color: #fff;
}

.item a {
  text-decoration: none;
  text-transform: uppercase;
  color: #161616;
  text-align: center;
  transition: transform 2s cubic-bezier(.165, .84, .44, 1);
}

.item a h4 {
  margin-bottom: 1.25rem;
}

.item a:hover {
  color: #00CCCC;
}

.item a:hover img {
  transform: scale(101%);
}

/* about section */

.about {
  padding: 100px 0;
  background: #161616;
}

.about h1,
.about p {
  color: #f1f1f2;
}

.about-content {
  order: 1;
}

.about-img {
  order: 1;
}

@media(max-width: 767px) {

  .about-content {
    order: 2;
  }
}


/* contact section */

.contact {
  padding: 100px 0;
  background-color: #f1f1f2;
  user-select: text;
}


/* footer */

footer {
  margin: 0 auto;
  padding: 3rem 0;
  background: #161616;
  text-transform: capitalize;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-inner {
  color: #a0a0a0;
  font-size: 1rem;
}

.footer-inner a{
  color: #a0a0a0;
  text-decoration: none;
}

/* products page */

.product-context {
  width: 100%;
  padding: 100px 0;
  background-color: #f1f1f2;
}

/* @media(max-width: 767px) {

  .product-context{
    padding: 140px 0;
  }
} */

.dark-nav a {
  color: #000;
}

.dark-nav:hover .nav-container a {
  color: #fff;
}

.dark-nav:hover #logo-ny {
  fill: #fff;
}

.dark-nav #logo-ny {
  fill: #000;
}


.dark-nav .menu a:hover {
  color: #00CCCC;
}


.breadcumb-box {
  width: 80%;
  margin: 0 auto;
  padding: .5rem 0;
  margin-bottom: .5rem;
}

.product-title {
  text-align: center;
  text-transform: uppercase;
  padding: 0 .25rem;
}

.breadcrumb-item a {
  text-decoration: none;
  color:#00CCCC;
}

.products-inner {
  background-color: #fff;
  margin: 0 1rem;
  padding: 2rem 0;
}

.carousel-inner {
  /* max-width: 400px; */
  background-color: #fff;
  padding: 1.5rem 0;
}