@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;700&family=Noto+Sans+TC:wght@200;400;600;700;900&family=Lato:wght@300;400;600&display=swap');
/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */ :root {
  --default-font: 'Lato', 'Noto Sans TC', "微軟正黑體", 'Microsoft JhengHei', sans-serif;
  --heading-font: 'Lato', 'Noto Sans TC', "微軟正黑體", 'Microsoft JhengHei', sans-serif;
  --nav-font: 'Lato', 'Noto Sans TC', "微軟正黑體", 'Microsoft JhengHei', sans-serif;
}
/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */ :root {
  --background-color: #d4c6bc; /* Background color for the entire website, including individual sections */
  --default-color: #333333; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #ec6941; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #FFE60E; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}
/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */ :root {
  --nav-color: #fff; /* The default color of the main navmenu links */
  --nav-hover-color: #FFE60E; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #6a4b3e; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #fff; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #FFE60E; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}
/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */
.light-background {
  --background-color: #d4c6bc;
  --surface-color: #333333;
}
.dark-background {
  --background-color: #7d6255;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #9e9e9e;
  --contrast-color: #ffffff;
}
/* Smooth scroll */ :root {
  scroll-behavior: smooth;
}
::selection {
  background: #f09845;
  color: #fff;
}
::-moz-selection {
  background: #f09845;
  color: #fff;
}
:root {
  scroll-padding-top: 85px;
}
@media (max-width: 465px) {
  :root {
    scroll-padding-top: 60px;
  }
}
/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  background-image: url("../img/texture.jpg");
  background-position: center top;
  background-repeat: repeat-y;
  font-size: 20px;
  line-height: 1.8;
}
@media (max-width: 1024px) {
  body {
    font-size: 18px;
  }
}
@media (max-width: 567px) {
  body {
    font-size: 18px;
  }
}
a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}
a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}
p:last-child {
  margin-bottom: 0;
}
/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: #6a4b3e;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 10px 0;
  transition: all 0.5s;
  z-index: 997;
}
.header .logo {
  line-height: 1;
}
.header .logo img {
  max-height: 50px;
  margin-right: 8px;
  padding-right: 10px;
}
.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 4700;
  color: var(--heading-color);
}
.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}
/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: hsla(18, 26%, 33%, 0.90);
}
/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }
  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }
  .navmenu li {
    position: relative;
  }
  .navmenu ul li img {
    max-height: 50px;
    margin-right: 10px;
  }
  .navmenu a, .navmenu a:focus {
    color: var(--nav-color);
    padding: 4px 15px;
    font-size: 20px;
    font-family: var(--nav-font);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }
  .navmenu a i, .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }
  .navmenu li:last-child a {
    padding-right: 0;
  }
  .navmenu li:hover > a, .navmenu .active, .navmenu .active:focus {
    color: var(--nav-hover-color);
  }
  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }
  .navmenu .dropdown ul li {
    min-width: 200px;
  }
  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }
  .navmenu .dropdown ul a i {
    font-size: 15px;
  }
  .navmenu .dropdown ul a:hover, .navmenu .dropdown ul .active:hover, .navmenu .dropdown ul li:hover > a {
    color: var(--nav-dropdown-hover-color);
  }
  .navmenu .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }
  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }
  .navmenu .dropdown .dropdown:hover > ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}
/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }
  .navmenu {
    padding: 0;
    z-index: 9997;
  }
  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }
  .navmenu ul img {
    margin-right: 16px;
  }
  .navmenu a, .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 21px;
    font-weight: 600;
    letter-spacing: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }
  .navmenu a i, .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }
  .navmenu a i:hover, .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }
  .navmenu a:hover, .navmenu .active, .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }
  .navmenu .active i, .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }
  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }
  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }
  .navmenu .dropdown > .dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }
  .mobile-nav-active {
    overflow: hidden;
  }
  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }
  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }
  .mobile-nav-active .navmenu > ul {
    display: block;
  }
}
@media (max-width: 576px) {
  .navmenu ul li img {
    max-height: 50px;
    margin-right: 10px;
  }
}
/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  text-align: center;
  padding: 10px 0;
  position: relative;
}
.footer h3 {
  font-size: 36px;
  font-weight: 700;
  position: relative;
  padding: 0;
  margin: 0 0 15px 0;
}
.footer p {
  font-size: 15;
  font-style: italic;
  padding: 0;
  margin: 0 0 30px 0;
}
.footer .social-links {
  margin: 0 0 30px 0;
}
.footer .social-links a {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  line-height: 1;
  margin: 0 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}
.footer .social-links a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  text-decoration: none;
}
.footer .social {
  font-size: 13px;
  line-height: 160%;
}
.footer .social a {
  color: var(--contrast-color);
}
.footer .social a:hover {
  text-decoration: none;
  color: var(--accent-color);
}
.footer .copyright {
  padding-top: 10px;
  font-size: 11px;
  line-height: 160%;
}
.footer .copyright a {
  color: var(--contrast-color);
}
.footer .copyright a:hover {
  text-decoration: none;
  color: var(--accent-color);
}
.footer .credits {
  font-size: 13px;
  padding-top: 5px;
}
/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}
#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}
@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 20px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  color: var(--heading-color);
  font-size: 20px;
  width: 60px;
  height: 60px;
  transition: all 0.4s;
}
.scroll-top i {
  font-size: 50px;
  color: var(--heading-color);
  line-height: 0;
}
.scroll-top:hover {
  /*background-color: color-mix(in srgb, var(--heading-color), transparent 0%);*/
  color: var(--heading-color);
}
.scroll-top.active {
  visibility: visible;
  opacity: 1;
}
@media (max-width: 576px) {
  .scroll-top {
    right: 20px;
    bottom: 40px;
    width: 50px;
    height: 50px;
  }
}
/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}
/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.main {
  background-image: url("../img/main.jpg");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: contain;
}
.page-title {
  color: var(--default-color);
  padding: 120px 0 0 0;
  text-align: center;
  position: relative;
}
@media (max-width: 1024px) {
  .main {
    background-image: url("../img/main-md.jpg");
    background-position: center top;
    background-repeat: no-repeat;
  }
}
@media (max-width: 576px) {
  .main {
    background-image: url("../img/main-s.jpg");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: contain;
  }
  .page-title {
    padding: 100px 0 0 0;
  }
}
/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
.section {
  color: var(--default-color);
  background-color: white;
  padding: 30px 0;
  scroll-margin-top: 80px;
  overflow: clip;
  max-width: 1120px;
  margin: 0 auto 60px auto;
  border-radius: 20px;
  border: dashed 6px #FF9100;
}
@media (max-width: 1199px) {
  .section {
    scroll-margin-top: 56px;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 36px 0;
    border: dashed 4px #FF9100;
  }
}
/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 20px;
  position: relative;
  font-size: 56px;
  color: var(--heading-color);
  font-weight: 600;
  letter-spacing: 30px;
}
.section-icon {
  max-height: 80px;
  width: auto;
}
@media (max-width: 768px) {
  .section-title {
    font-size: 40px;
    letter-spacing: 3px;
    padding-bottom: 0px;
  }
  .section-icon {
    max-height: 50px;
    width: auto;
  }
}
/*--------------------------------------------------------------
# kv Section
--------------------------------------------------------------*/
.video {
  padding-top: 40px;
  padding-bottom: 110px;
}
@media (max-width: 1024px) {
  .video {
    padding-bottom: 20px;
  }
}
@media (max-width: 567px) {
  .video {
    padding-top: 10px;
    padding-bottom: 20px;
  }
}
/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
#about .pic {}
@media (max-width: 768px) {
  #about .pic {
    width: 40%;
    height: auto;
  }
}
/*--------------------------------------------------------------
# Story Section
--------------------------------------------------------------*/
#story .book {
  text-align: center;
  margin: 0 10px 20px 10px;
}
#story .price {
  text-align: center;
  font-size: 18px;
  line-height: 1.2;
}
#story .price02 {
  font-size: 20px;
  font-weight: 600;
}
#story .price-r01 {
  font-size: 32px;
  color: #c60b16;
}
#story .info {
  text-align: center;
  font-size: 15px;
  line-height: 1.2;
}
#story h1 {
  font-size: 42px;
  font-weight: 600;
  letter-spacing: 4px;
  line-height: 1.6;
  color: #9B9B9B;
  margin: 10px auto;
}
#story h2 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  color: #5B3F2C;
  margin: 10px auto;
}
#story h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.6;
  color: #1bb2e1;
}
#story .btn-buy {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 1px;
  padding: 4px 20px;
  background-color: #FF6500;
  color: var(--surface-color);
}
#story .btn-buy02 {
  min-width: 140px;
}
@media (max-width: 1024px) {
  #story h1 {
    font-size: 30px;
    letter-spacing: 0;
  }
  #story h2 {
    font-size: 21px;
  }
  #story h3 {
    font-size: 21px;
  }
  #story .price {
    font-size: 16px;
    line-height: 1;
  }
  #story .price02 {
    font-size: 18px;
    font-weight: 600;
  }
  #story .price-r01 {
    font-size: 27px;
    color: #c60b16;
  }
  #story .btn-buy {
    font-size: 16px;
  }
}
@media (max-width: 567px) {
  #story h1 {
    font-size: 24px;
    letter-spacing: 0;
  }
  #story h2 {
    font-size: 18px;
  }
  #story h3 {
    font-size: 21px;
  }
  #story .btn-buy {
    font-size: 15px;
  }
  #story .btn-buy02 {
    min-width: 130px;
  }
  #story .info {
    font-size: 13px;
  }
}
/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-content {
  position: relative;
  overflow: hidden;
}
.portfolio .portfolio-content img {
  transition: 0.3s;
}
.portfolio .portfolio-content .portfolio-info {
  opacity: 1;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
  width: 100px;
  height: 100px;
  border-radius: 50px;
  top: calc(50% - 50px);
  left: calc(50% - 50px);
}
.portfolio .portfolio-content .portfolio-info h4 {
  font-size: 14px;
  padding: 5px 10px;
  font-weight: 400;
  color: #ffffff;
  display: inline-block;
  background-color: var(--accent-color);
}
.portfolio .portfolio-content .portfolio-info p {
  position: absolute;
  bottom: 10px;
  text-align: center;
  display: inline-block;
  left: 0;
  right: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}
.portfolio .portfolio-content .portfolio-info .preview-link, .portfolio .portfolio-content .portfolio-info .details-link {
  position: absolute;
  left: calc(50% - 30px);
  font-size: 56px;
  top: calc(50% - 36px);
  color: #fff;
  transition: 0.3s;
  line-height: 1.2;
}
.portfolio .portfolio-content .portfolio-info .preview-link:hover, .portfolio .portfolio-content .portfolio-info .details-link:hover {
  color: var(--accent-color);
}
.portfolio .portfolio-content:hover .portfolio-info {
  opacity: .8;
}
.portfolio .portfolio-content:hover img {
  transform: scale(1.1);
}
@media (max-width: 768px) {
  .portfolio .portfolio-content .portfolio-info {
    width: 80px;
    height: 80px;
    border-radius: 40px;
    top: calc(50% - 40px);
    left: calc(50% - 40px);
  }
  .portfolio .portfolio-content .portfolio-info .preview-link, .portfolio .portfolio-content .portfolio-info .details-link {
    position: absolute;
    left: calc(50% - 20px);
    font-size: 40px;
    top: calc(50% - 24px);
    color: #fff;
    transition: 0.3s;
    line-height: 1.2;
  }
}
#best {
  margin: 0 auto;
  width: 100%;
  height: 600px;
  padding: 10px 6px 0 0;
  overflow-y: scroll;
  overflow-x: hidden;
}
#best h1 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.6;
  color: #1bb2e1;
  margin: 10px auto;
}
#best h2 {
  font-size: 27px;
  font-weight: 600;
  color: #7d6155;
  margin: 10px auto;
}
#best h4 {
  font-size: 18px;
  color: #333;
  margin: 10px auto 30px auto;
}
#best p {
  text-indent: 2em;
}
/* 美化 #best scrollbar */
#best::-webkit-scrollbar {
  width: 10px;
}
#best::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}
#best::-webkit-scrollbar-thumb {
  background-color: #7d6155;
  border-radius: 10px;
  border: 2px solid #f1f1f1;
}
#best::-webkit-scrollbar-thumb:hover {
  background-color: #d4c6bc;
}
@media (max-width: 1024px) {
  #best h1 {
    font-size: 27px;
  }
}
@media (max-width: 567px) {
  #best {
    height: 420px;
  }
  #best h1 {
    font-size: 22px;
  }
  #best h4 {
    font-size: 16px;
  }
}