@import url(../css/fonts.css);
/* Works on Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #232522 #f3f3f3; }

/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 12px; }

*::-webkit-scrollbar-track {
  background: #333; }

*::-webkit-scrollbar-thumb {
  background-color: #f3f3f3;
  border-radius: 25px;
  border: 4px solid #333; }

.container {
  padding-right: calc(var(--bs-gutter-x) * .8) !important;
  padding-left: calc(var(--bs-gutter-x) * .8) !important; }

html {
  padding: 0 !important; }

body {
  font-family: Montserrat, 'Noto Sans TC', sans-serif;
  background-color: #232522;
  color: white;
  font-size: 16px;
  counter-reset: section; }
  @media (min-width: 769px) {
    body {
      font-size: 18px; } }

a {
  text-decoration: none;
  transition: all 0.2s ease-in; }

.font-primary {
  color: #339933; }

.mt-4 {
  margin-top: 0.7rem !important; }
  @media (min-width: 821px) {
    .mt-4 {
      margin-top: 1.5rem !important; } }

.mt-5 {
  margin-top: 1.5rem !important; }
  @media (min-width: 992px) {
    .mt-5 {
      margin-top: 3rem !important; } }

.ms-5 {
  margin-left: 0.7rem !important; }
  @media (min-width: 992px) {
    .ms-5 {
      margin-left: 1.5rem !important; } }

.btn {
  font-size: 0.85rem;
  padding: 0.5em 1.2em;
  border-radius: 35px; }
  @media (min-width: 769px) {
    .btn {
      font-size: 0.95rem;
      padding: 0.7em 1.4em; } }
  @media (min-width: 992px) {
    .btn {
      font-size: 1rem;
      padding: 0.7em 1.55em; } }
  @media (min-width: 1200px) {
    .btn {
      font-size: 1.1rem;
      padding: 0.7em 1em; } }

.btn-sm {
  padding: 0.8em 1.5em !important;
  border-radius: 35px; }
  @media (min-width: 769px) {
    .btn-sm {
      font-size: 0.95rem; } }
  @media (min-width: 1200px) {
    .btn-sm {
      font-size: 1rem; } }

.btn-more {
  background-color: transparent;
  border: 1px solid #339933;
  color: white;
  text-align: left;
  position: relative;
  transition: all 0.3s linear;
  display: inline-flex;
  align-items: center; }
  .btn-more img {
    width: auto;
    height: 1.2em; }
  .btn-more:after {
    position: absolute;
    content: "";
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid #3b3b3b;
    border-radius: 40px;
    transition: all 0.3s linear; }
  .btn-more:hover, .btn-more:active, .btn-more:focus {
    background-color: #339933;
    border: 1px solid #339933;
    color: white; }
    .btn-more:hover:after, .btn-more:active:after, .btn-more:focus:after {
      position: absolute;
      content: "";
      width: calc(100% + 10px);
      height: calc(100% + 10px);
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      border: 1px solid #339933;
      border-radius: 40px; }
  @media (min-width: 769px) {
    .btn-more:after {
      width: calc(100% + 12px);
      height: calc(100% + 12px); }
    .btn-more:hover:after, .btn-more:active:after {
      width: calc(100% + 12px);
      height: calc(100% + 12px); }
    .btn-more:focus {
      background-color: #339933 !important;
      border: 1px solid #339933 !important;
      color: white !important; }
      .btn-more:focus:after {
        width: calc(100% + 12px);
        height: calc(100% + 12px); } }

.btn-primary {
  background-color: #339933 !important;
  border: 0;
  color: white;
  border-radius: 7px;
  transition: all 0.3s linear; }
  .btn-primary:hover, .btn-primary:active, .btn-primary:focus {
    background-color: black !important;
    border: 0;
    color: white; }

.btn-outline-primary {
  border: 1px solid #339933;
  border-radius: 40px;
  color: #339933;
  padding: 0.4em 1.2em;
  font-size: 1rem; }
  @media (min-width: 769px) {
    .btn-outline-primary {
      font-size: 0.95rem;
      padding: 0.5em 1.4em; } }
  @media (min-width: 992px) {
    .btn-outline-primary {
      font-size: 0.95rem;
      padding: 0.4em 1.55em; } }
  @media (min-width: 1200px) {
    .btn-outline-primary {
      font-size: 1.1rem;
      padding: 0.5em 1.2em; } }
  .btn-outline-primary:hover, .btn-outline-primary:active {
    background-color: #339933;
    border: 1px solid transparent; }
  .btn-outline-primary:focus {
    background-color: #339933 !important;
    border: 1px solid transparent !important;
    color: white !important; }

.btn-none {
  padding: 0.5em 0;
  color: #999;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  text-transform: uppercase;
  font-size: 0.85em;
  transition: all 0.3s linear; }
  .btn-none:hover {
    color: white; }
  @media (min-width: 769px) {
    .btn-none {
      font-size: 1.1em; } }

html,
body {
  overflow-x: hidden;
  /* Prevent scroll on narrow devices */ }

.offcanvas {
  background-color: #333;
  padding: 2em 1.5em; }

@media (max-width: 991.98px) {
  .offcanvas-collapse {
    position: fixed;
    top: 0;
    /* Height of navbar */
    bottom: 0;
    left: 100%;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    visibility: hidden;
    background-color: #333;
    transition: transform .3s ease-in-out, visibility .3s ease-in-out; }

  .offcanvas-collapse.open {
    visibility: visible;
    transform: translateX(-100%); } }
.nav-scroller .nav {
  color: rgba(255, 255, 255, 0.75); }
.nav-scroller .nav-link {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: .875rem;
  color: #6c757d; }
.nav-scroller .nav-link:hover {
  color: #007bff; }
.nav-scroller .active {
  font-weight: 500;
  color: #343a40; }

.bg-purple {
  background-color: #6f42c1; }
