@charset "UTF-8";

/*bootstrap*/

:root {
  --bs-font-sans-serif: "Noto Sans TC", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
  font-weight: 700;
}
.btn-info {
  --bs-btn-color: #ffffff;
  --bs-btn-bg: #0dcaf0;
  --bs-btn-border-color: #0dcaf0;
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: #31d2f2;
  --bs-btn-hover-border-color: #25cff2;
  --bs-btn-focus-shadow-rgb: 11, 172, 204;
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: #3dd5f3;
  --bs-btn-active-border-color: #25cff2;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #ffffff;
  --bs-btn-disabled-bg: #0dcaf0;
  --bs-btn-disabled-border-color: #0dcaf0;
}

/*custom*/

p {
  line-height: 1.75;
}
.btn-xl, .btn-group-xl > .btn {
  --bs-btn-padding-y: 1.25rem;
  --bs-btn-padding-x: 2.5rem;
  --bs-btn-font-size: 1.125rem;
  --bs-btn-font-weight: 700;
}
.footer {
  text-align: center;
  font-size: 0.9rem;
}

/*color-mode*/

.color-modes .dark-mode {
  display: none;
}
.color-modes .light-mode {
  display: inline;
}
[data-bs-theme="dark"] {
  .color-modes .light-mode {
    display: none;
  }
  .color-modes .dark-mode {
    display: inline;
  }
}

/*navbar*/

#mainNav {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  background-color: #3f56c9;
}
#mainNav .navbar-toggler {
  font-size: 1rem;
  color: #fff;
  border: 0;
  border-radius: 0;
}
#mainNav .navbar-toggler:focus {
  box-shadow: 0 0 0 0;
}
#mainNav .navbar-brand {
  margin-left: 0rem;
  margin-right: 0rem; 
}
#mainNav .navbar-brand img {
  height: 1.5rem; 
}
#mainNav .navbar-toggler, #mainNav #theme-toggle {
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
}
#mainNav .navbar-nav .nav-item .nav-link {
  font-size: 0.95rem;
  color: #fff;
}
#mainNav .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover {
  color: #00f2ff;
}
#mainNav .theme-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%); 
}
#mainNav .theme-icon.light-icon {
  background-image: url("/image/light-mode.svg");
  }
#mainNav .theme-icon.dark-icon {
  background-image: url("/image/dark-mode.svg");
}
#mainNav .theme-icon.auto-icon {
  background-image: url("/image/auto-mode.svg");
}
@media (max-width: 991.98px) {
  #mainNav .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding-left: 1.4rem;
    background-color: #3f56c9;
    z-index: 1000;
  }
}
@media (min-width: 992px) {
  #mainNav {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    border: none;
    background-color: transparent;
    transition: padding-top 0.3s ease-in-out, padding-bottom 0.3s ease-in-out, background-color 0.3s ease-in-out;
  }
  #mainNav .navbar-brand {
    font-size: 1.5em;
    transition: font-size 0.3s ease-in-out;
  }
  #mainNav .navbar-brand img {
    height: 2rem;
    transition: height 0.3s ease-in-out;
  }
  #mainNav.navbar-shrink {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: #3f56c9;
  }
  #mainNav.navbar-shrink .navbar-brand {
    font-size: 1.25em;
  }
  #mainNav.navbar-shrink .navbar-brand svg, #mainNav.navbar-shrink .navbar-brand img {
    height: 1.5rem;
  }
  #mainNav .navbar-nav .nav-item {
    margin-right: 1rem;
  }
  #mainNav .navbar-nav .nav-item:last-child {
    margin-right: 0;
  }
  #mainNav .navbar-item {
    margin-right: 1rem;
  }
  #mainNav #theme-toggle {
    margin-left: 1rem;
  }
}

/*header*/

header.masthead {
  padding-top: 10.5rem;
  padding-bottom: 6rem;
  text-align: center;
  color: #fff;
  background-image: url("/image/header-bg.jpg");
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
  background-size: cover;
}
header.masthead .masthead-subheading {
  font-size: 1.5rem;
  font-style: normal;
  line-height: 1.5rem;
  margin-bottom: 25px;
}
header.masthead .masthead-heading {
  font-size: 3rem;
  font-weight: 700;
  line-height: 3rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  header.masthead {
    padding-top: 17rem;
    padding-bottom: 12.5rem;
  }
  header.masthead .masthead-subheading {
    font-size: 2.25rem;
    font-style: normal;
    line-height: 2.25rem;
    margin-bottom: 2rem;
  }
  header.masthead .masthead-heading {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 4.5rem;
    margin-bottom: 4rem;
  }
}

/*section*/

.page-section {
  padding: 5rem 0;
}
.page-section h2.section-heading, .page-section .section-heading.h2 {
  font-size: 2.5rem;
  margin-top: 0;
  margin-bottom: 1rem;
}
.page-section h3.section-subheading, .page-section .section-subheading.h3 {
  font-size: 1rem;
  font-weight: 400;
  font-style: normal;
  margin-bottom: 4rem;
}

/*products-modal*/

.products-modal .modal-header {
  display: grid;
}
.products-modal .modal-header h2 {
  font-size: 3rem;
  line-height: 3rem;
}
.products-modal .modal-header p {
  margin-bottom: 0;
}
.products-modal .carousel-item img {
  width: 100%;
  aspect-ratio: 210 / 297;
  object-fit: contain;
}

.products-modal .modal-text {
  min-height: 15rem;
}

/*test*/

.test-member img {
  width: 14rem;
  height: 14rem;
  object-fit: cover;
}