:root {
  --navbar: rgb(31, 31, 31);
  --navText: white;
  --navhover: rgb(144, 144, 144);
}
* {
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  scroll-behavior: smooth;
}
body {
  background-color: rgb(248, 248, 248);
  font-family: Arial,
    Helvetica,
    sans-serif;
  margin: 0;
}


img {
  width: 100%;
  height: auto;
}
p {
  font-size: 15px;
  letter-spacing: 1.6px;
}
a {
  text-decoration: none;
}
/* 導覽列 */
.nav-container {
  width: 100%;
  background-color: var(--navbar);
  z-index: 10;
  position: fixed;
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.265);
}
.navbar {
  display: grid;
  grid-template-columns: 0.2fr auto 1fr;
  align-items: center;
  height: 80px;
  width: 95%;
  max-width: 1720px;
  margin: 0 auto;
}
#navbar-logo {
  width: 30%;
  justify-self: start;
  margin-left: 20px;
  cursor: pointer;
}
.nav-menu {
  display: grid;
  grid-template-columns: repeat(7, auto);
  list-style: none;
  text-align: center;
  width: 90%;
  justify-self: end;
}
.nav-links {
  font-size: 18px;
  letter-spacing: 1.8px;
  color: var(--navText);
}
.nav-links:hover {
  color: var(--navhover);
  transition: all 0.2s ease-out;
}
.menu-toggle .bar {
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  background: white;
}
/* banner幻燈片 */
.swiper {
  width: 100%;
  height: 100%;
}
#product .swiper {
  width: 100%;
  height: 100%;
}
.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  overflow: initial;
}
.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 主要內容 */
section {
  padding: 80px 0px;
}
/* 關於我們 */
#about {
  display: flex;
  justify-content: space-between;
  width: 80%;
  margin: 0 auto;
  margin-top: 30px;
}
.aboutPic {
  width: 47%;
}
.aboutPic img {
  border-radius: 3px;
  box-shadow: -5px 5px 5px rgba(0, 0, 0, 0.292);
}
.aboutText {
  width: 47%;
}
.aboutText h1 {
  font-size: 28px;
  font-weight: 900;
  color: rgb(34, 34, 34);
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.aboutText h2 {
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 20px;
  color: rgb(85, 74, 64);
  font-size: 15px;
  text-align: justify;
}
.aboutText p {
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 20px;
  color: rgb(85, 74, 64);
}
.aboutText h3 {
  font-size: 20px;
  font-weight: 900;
  color: rgb(95, 78, 65);
  letter-spacing: 2px;
  margin-bottom: 10px;
}

/* 團隊介紹 */
#team {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 80%;
  margin: 0 auto;
}
.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  border-radius: 5px;
  width: 30%;
  margin-bottom: 50px;
}
.card a {
  color: rgb(85, 74, 64);
  font-size: 14px;
}
.card a:hover {
  color: rgb(132, 120, 109);
}
.card p {
  font-size: 20px;
}
.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}
.container {
  padding: 12px 16px;
}
/* hero */
.hero-image {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("img/hero.jpg");
  /* Set a specific height */
  height: 500px;
  /* Position and center the image to scale nicely on all screens */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
/* Place text in the middle of the image */
.hero-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}
.hero-text h4 {
  font-size: 36px;
  margin-bottom: 20px;
}
.hero-text p {
  font-size: 18px;
  margin-bottom: 30px;
}
.hero-text a {
  color: black;
}
.hero-text a:hover {
  color: rgb(253, 253, 253);
}
.hero-text a {
  border: none;
  outline: 0;
  display: inline-block;
  padding: 10px 25px;
  color: black;
  background-color: #ddd;
  text-align: center;
  cursor: pointer;
  border-radius: 2px;
}
.hero-text a:hover {
  background-color: rgb(132, 120, 109);
  color: white;
}
/* list部分 */
.listMenuArea {
  width: 90%;
  margin: auto;
}
.listMenuArea p {
  color: #000;
  text-align: center;
  font-size: 24px;
  border-bottom:1.5px solid #000;
  padding-bottom: 10px;
}
.listMenuItem {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(59,59,59,0.2);
}
.listMenuItem li {
  width: 100%;
  padding: 10px;
  text-align: center;
  font-weight: 500;
}
ul li::marker {
  color: rgba(255, 0, 0, 0);
  font-size: 1.5em;
}
/* list部分 */
/* 菜單開始 */
.menuArea{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.item3 {
  width: 40%;
  margin:30px;
  padding: 0 2%;
}
.menuItem p {
  font-weight: bold;
  color: rgb(73, 73, 73);
  font-size: 24px;
  border-bottom:1.5px solid #000;
  padding-bottom: 10px;
}
.menuItem ul li {
  margin: 15px 0;
  font-size: 18px;
}
/* 菜單結束 */

/* 服務項目 */
#service {
  width: 80%;
  margin: auto;
}
.serviceArea {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#service .card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  max-width: 30%;
  margin-bottom: 50px;
  text-align: center;
  font-family: arial;
}
#service .price {
  color: grey;
  font-size: 18px;
}
#service .card p {
  font-size: 16px;
}
#service .card .title {
  font-size: 26px;
  font-weight: 600;
}
#service .card button {
  border: none;
  outline: 0;
  padding: 12px;
  color: white;
  background-color: #000;
  text-align: center;
  cursor: pointer;
  width: 100%;
  font-size: 18px;
}
#service .card button:hover {
  opacity: 0.7;
}
/* 社群媒體icon */
#social {
  position: sticky;
  bottom: 0;
  left: 0;
  width: 20%;
  margin-top: 50px;
}
#social ul {
  display: flex;
  justify-content: space-around;
  margin: 0px;
}
#social ul li {
  filter: brightness(1);
  border-bottom: none;
  padding: 10px 0;
  display: block;
}
#social ul li a {
  opacity: 0.7;
  width: 25px;
  height: 25px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100%;
  display: block;
}
#social .ig {
  background-image: url(https://www.shop1688.com.tw/sys/ig.svg);
}
#social .fb {
  background-image: url(https://www.shop1688.com.tw/sys/fb.svg);
}
#social .line {
  background-image: url(https://www.shop1688.com.tw/sys/line.svg);
}
#social .pchome {
  background-image: url(https://www.shop1688.com.tw/sys/pchome.svg);
}
#social .pchomeStore {
  background-image: url(https://www.shop1688.com.tw/sys/pchomeStore.svg);
}
#social .reten {
  background-image: url(https://www.shop1688.com.tw/sys/reten.svg);
}
#social .shopee {
  background-image: url(https://www.shop1688.com.tw/sys/shopee.svg);
}
#social .tumblr {
  background-image: url(https://www.shop1688.com.tw/sys/tumblr.svg);
}
#social .web {
  background-image: url(https://www.shop1688.com.tw/sys/web.svg);
}
#social .yahoo {
  background-image: url(https://www.shop1688.com.tw/sys/yahoo.svg);
}
#social .youtube {
  background-image: url(https://www.shop1688.com.tw/sys/youtube.svg);
}
#social .tag {
  background-image: url(https://www.shop1688.com.tw/sys/tagBorder.svg);
}
#social .momo {
  background-image: url(https://www.shop1688.com.tw/sys/momo.svg);
}
#social .rakuten {
  background-image: url(https://www.shop1688.com.tw/sys/rakuten.svg);
}
#social .pixnet {
  background-image: url(https://www.shop1688.com.tw/sys/pixnet.svg);
}
#social .bandq {
  background-image: url(https://www.shop1688.com.tw/sys/bandq.svg);
}
#social .taobao {
  background-image: url(https://www.shop1688.com.tw/sys/taobao.svg);
}
#social .books {
  background-image: url(https://www.shop1688.com.tw/sys/books.svg);
}
#social .gomaji {
  background-image: url(https://www.shop1688.com.tw/sys/gomaji.svg);
}
#social .foodpanda {
  background-image: url(https://www.shop1688.com.tw/sys/foodpanda.svg);
}
#social .top {
  background-image: url(https://www.shop1688.com.tw/sys/top.svg);
  transition: 0.5s;
}
/* 聯絡我們 */
#contact {
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* background-color: rgb(213, 209, 201); */
  background-image: url(./img/bg.jpg);
  background-size: cover;
  padding-bottom: 150px;
}
#contact h5 {
  font-size: 36px;
}
#contact .map {
  width: 80%;
}
iframe {
  margin-top: 50px;
  width: 100%;
}
/* footer頁腳 */
#footer {
  background-color: rgb(26, 26, 26);
}
.footerArea {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 50%;
  margin: auto;
}
#footer .logo {
  width: 20%;
}
.footerText {
  width: 100%;
  display: flex;
  justify-content: space-between;
  color: white;
  margin-top: 50px;
}
.footerText h5 {
  margin-bottom: 20px;
}

.copyright p {
  text-align: center;
  font-size: 12px;
  margin: 5px 0px;
  color: rgb(85, 74, 64);
}
@media screen and (max-width: 900px) {
  .nav-menu {
    width: 90%;
  }
  #about {
    flex-direction: column;
  }
  .aboutPic {
    width: 100%;
  }
  .aboutText {
    width: 100%;
  }
  .footerArea {
    width: 80%;
  }
}
@media screen and (max-width: 600px) {
  .item3 {
    width: 100%;
  }
  section {
    padding: 40px 0px;
  }
  .swiper {
    padding-top: 80px;
  }
  .nav-container {
    position: fixed;
  }
  .nav-menu {
    display: grid;
    grid-template-columns: auto;
    background: var(--navbar);
    margin: 0;
    width: 100%;
    position: absolute;
    top: 80px;
    left: -100%;
    opacity: 0;
    transition: all 0.5s ease;
  }
  #navbar-logo {
    width: 130%;
    margin-left: 20px;
  }
  .nav-menu.active {
    background: var(--navbar);
    left: 0;
    opacity: 1;
    transition: all 0.5s ease;
  }
  .nav-links {
    text-align: center;
    line-height: 60px;
    width: 100%;
    display: table;
  }
  .nav-links:hover {
    background-color: rgb(103, 82, 65);
    color: white;
    transition: all 0.4s ease-out;
  }
  .navbar {
    width: 100%;
  }
  #mobile-menu {
    position: absolute;
    top: 20%;
    right: 5%;
    transform: translate(5%, 20%);
  }
  .menu-toggle .bar {
    display: block;
    cursor: pointer;
  }
  .menu-toggle:hover {
    cursor: pointer;
  }
  #mobile-menu.is-active .bar:nth-child(2) {
    opacity: 0;
  }
  #mobile-menu.is-active .bar:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
  }
  #mobile-menu.is-active .bar:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }
  #about {
    flex-direction: column;
  }
  .aboutText,
  .aboutPic {
    width: 100%;
  }
  .aboutPic {
    margin-bottom: 20px;
  }
  .aboutText p {
    text-align: justify;
  }
  .aboutText h4 {
    font-size: 16px;
  }
  .card {
    width: 100%;
  }
  .hero-text {
    width: 80%;
  }
  .hero-text h4 {
    font-size: 26px;
  }
  .hero-text p {
    font-size: 14px;
  }
  #service .card {
    max-width: 100%;
  }
  #contact h5 {
    font-size: 22px;
  }
  .footerArea {
    width: 80%;
  }
  #social {
    margin-top: 20px;
    width: 50%;
  }
  iframe {
    margin-top: 30px;
  }
  .footerText {
    flex-direction: column;
    margin-top: 30px;
    width: 80%;
  }
  .footerText p {
    margin-bottom: 5px;
  }
  .footerText .item {
    margin-bottom: 20px;
  }
  #footer .logo {
    width: 50%;
  }
}