:root {
  --navbar: #f1eeec;
  --navText: rgb(79, 79, 79);
  --navhover: #7e5827;
}

* {
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  background-color: #f1eeec;
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
}

img {
  width: 100%;
  height: auto;
}

p {
  font-size: 24px;
  letter-spacing: 1.6px;
}

a {
  text-decoration: none;
  font-size: 24px;
}

section {
  width: 80%;
  padding: 100px 0px;
  margin: auto;
}

.bg {
  /* The image used */
  background-image: url("img/6.jpg");
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-position: center;
  background-size: cover;
  z-index: -10;
}

.bgcover {
  background-color: #f1eeeccf;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
}

/* 導覽列 */
.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;
  width: 95%;
  max-width: 1720px;
  margin: 0 auto;
}

#navbar-logo {
  width: 30%;
  justify-self: start;
  margin-left: 20px;
  cursor: pointer;
}

#navbar-logo img {
  border-radius: 50%;
}

.nav-menu {
  display: grid;
  grid-template-columns: repeat(6, auto);
  list-style: none;
  text-align: center;
  width: 80%;
  justify-self: end;
}

.nav-links {
  font-size: 24px;
  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: 100vh;
  margin-bottom: 100px;
}

#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;
}

#photo .swiper {
  width: 100%;
  height: 100%;
}

#photo .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;
}

#photo .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-top: 70px;
}

.banner .swiper {
  width: 100%;
  height: 100%;
  margin-bottom: 100px;
}

/* 最新消息 */
.newsArea {
  display: flex;
  justify-content: space-between;
}

.newsItem {
  width: 30%;
}

.accordion {
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 20px;
  transition: 0.4s;
  transition: all 0.5s ease-out;
}

#news .active,
.accordion:hover {
  background-color: #ccc;
}

.panel {
  padding: 0 20px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s ease-out;
}

.panel p {
  font-size: 18px;
  letter-spacing: 1.8px;
  line-height: 1.8;
  text-align: justify;
  font-weight: 500;
}

.panel ol li {
  font-size: 14px;
  letter-spacing: 1.8px;
  line-height: 1.8;
  margin-left: 20px;
  margin-bottom: 15px;
  opacity: 0.8;
}

/* 關於我們 */
#about {
  width: 100%;
}

h1 {
  text-align: center;
  width: 100%;
  font-size: 60px;
  word-break: break-all;
  font-weight: 900;
  color: #7e5827;
}

.content .swiper {
  width: 100%;
  height: 100%;
}

.content .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;
}

.content .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aboutTitle {
  /* The image used */
  background-image: url("img/2.jpg");
  /* Set a specific height */
  min-height: 500px;
  /* Create the parallax scrolling effect */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  position: relative;
}

.aboutTitle p {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  background-color: #f1eeec;
  color: #7e5827;
  font-size: 48px;
  font-weight: 800;
  letter-spacing: 10px;
}

.aboutText {
  background-color: rgb(255, 255, 255);
  padding: 60px 0px;
}

.aboutText .title {
  text-align: center;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 3px;
  margin-bottom: 30px;
}

.aboutText p {
  text-align: center;
  width: 80%;
  margin: 0 auto;
  margin-top: 0px;
  letter-spacing: 1.8px;
  line-height: 2;
  font-size: 24px;
}

/* 住宿規劃 */
.tabs-container {
  font-family: "Roboto", sans-serif;
  max-width: 1200px;
  min-height: 400px;
  margin: 30px auto;
  display: flex;
  box-shadow: 0 4px 20px -8px rgba(0, 0, 0, 0.313);
}

.tabs-container .tabs {
  width: 300px;
  background-color: #7e5827;
  color: #000000;
  text-transform: uppercase;
  text-align: center;
}

.tabs-container .tabs .tab {
  padding: 24px 32px;
  background-color: #986b30;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.5s ease-out;
  font-size: 24px;
}

.tabs-container .tabs .active {
  background-color: #f1eeec;
  color: #986b30;
  font-size: 24px;
}

.tabs-container .content-container {
  width: 100%;
  background-color: #f1eeec;
}

.tabs-container .content-container .content {
  display: none;
  padding: 50px;
}

.tabs-container .content-container .content.active {
  height: 400px;
  display: block;
  background-color: #f1eeec;
  overflow: scroll;
  overflow-x: hidden;
}

.content .title {
  margin: 0;
  font-size: 36px;
  font-weight: 900;
}

.content li {
  line-height: 2;
  font-size: 24px;
  font-weight: 400;
  margin-left: 20px;
}

/* 房型介紹 */
#roomType img {
  height: 400px;
  object-fit: cover;
  transition: all 0.3s ease;
}

#roomType img:hover {
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.347);
}

#roomType .content2 img {
  height: 500px;
}

#roomType p {
  font-size: 24px;
  line-height: 1.8;
  letter-spacing: 1.8px;
  padding: 10px;
}

#roomType .title {
  font-size: 50px;
  word-break: break-all;
  font-weight: 900;
  color: #7e5827;
}

#roomType .title2 {
  font-size: 32px;
  font-weight: 900;
  color: #7e5827;
}

#roomType .title3 {
  padding: 0px 10px;
  font-size: 18px;
  font-weight: 600;
  opacity: 0.7;
}

#roomType .row {
  margin: 8px -16px;
}

#roomType .row,
#roomType .row>.column {
  padding: 8px;
}

#roomType .column {
  float: left;
  width: 50%;
}

#roomType .row:after {
  content: "";
  display: table;
  clear: both;
}

.text {
  height: 300px;
  overflow: scroll;
  overflow-x: hidden;
}

/* Content */
.content {
  background-color: white;
  padding: 10px;
}

/* 精選照片 */
#photo {
  width: 80%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.photoItem {
  position: relative;
  width: 33%;
  margin-bottom: 20px;
}

#photo img {
  display: block;
  box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.272);
  border-radius: 5px;
}

#photo img:hover {
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.238);
  transition: all 0.5s ease;
}

.overlay {
  position: absolute;
  bottom: 0;
  background: #cbb8a0ab;
  /* Black see-through */
  color: #f1f1f1;
  width: 100%;
  transition: 0.5s ease;
  opacity: 0;
  color: white;
  font-size: 20px;
  padding: 20px;
  text-align: center;
  letter-spacing: 1.8px;
}

.photoItem:hover .overlay {
  opacity: 1;
}

/* 聯絡我們 */
#contact {
  background-color: #cbb8a0;
  padding: 100px 150px;
  width: 100%;
  display: flex;
}

.contactText {
  background-color: #7e5827;
  padding: 20px 30px;
  width: 50%;
}

.contactText .title {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 1.8px;
  margin-bottom: 5px;
}

.contactText hr {
  width: 30%;
  color: rgb(0, 0, 0);
  background-color: rgb(0, 0, 0);
  float: left;
}

.contactText p {
  color: rgb(255, 255, 255);
  font-size: 24px;
  letter-spacing: 1.8px;
}

.map {
  width: 50%;
}

iframe {
  width: 100%;
  height: 100%;
}

/* 社群媒體icon */
#social {
  position: sticky;
  bottom: 0;
  left: 0;
  width: 100%;
  margin-top: 30px;
}

#social ul {
  display: flex;
  margin: 0px;
}

#social ul li {
  filter: brightness(1);
  border-bottom: none;
  margin-right: 20px;
  display: block;
}

#social ul li a {
  opacity: 0.7;
  width: 35px;
  height: 35px;
  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;
}

.copyright {
  background-color: #ddd;
}

.copyright p {
  text-align: center;
  font-size: 14px;
  margin: 5px 0px;
  color: #7e5827;
}

#project .proArea {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 50px 0px;
}

#project .projectItem {
  width: 70%;
}

#project .projectItem1 {
  width: 20%;
}

#project .swiper {
  width: 100%;
  height: 100%;
}

#project .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;
}

#project .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#project .swiper {
  width: 100%;
  height: 400px;
  margin-left: auto;
  margin-right: auto;
}

#project .swiper-slide {
  background-size: cover;
  background-position: center;
}

#project .mySwiper-top {
  height: 100%;
  width: 100%;
  margin-bottom: 20px;
}

#project .mySwiper-down {
  height: 20%;
  box-sizing: border-box;
  padding: 10px 0;
  margin-bottom: 0px;
}

#project .mySwiper-down .swiper-slide {
  width: 25%;
  height: 100%;
}

#project .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#project .title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

#project hr {
  height: 1.5px;
  background-color: rgba(34, 34, 34, 0.733);
  border: 0px;
}

#project p {
  font-size: 20px;
  letter-spacing: 1.8px;
  line-height: 2;
  text-align: justify;
}

.btn {
  position: relative;
}

.btn a {
  position: absolute;
  right: 24px;
  top: 0;
  width: 140px;
  height: 60px;
  display: block;
  text-align: center;
  cursor: pointer;
  line-height: 60px;
  color: #7e5827;
  background-color: transparent;
  border: 1px solid #7e5827;
  transition: all 0.3s linear;
  margin: 20px auto;
}

.btn a:hover {
  background-color: #7e5827;
  color: #f1eeec;
}

.btn_a {
  margin: auto;
}

.btn_a a {
  width: 300px;
  height: 40px;
  display: block;
  text-align: center;
  cursor: pointer;
  line-height: 40px;
  color: #7e5827;
  background-color: transparent;
  border: 1px solid #7e5827;
  transition: all 0.3s linear;
  margin: 20px auto;
}

.btn_a a:hover {
  background-color: #7e5827;
  color: #f1eeec;
}

.btn_b a {
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 12px;
  display: block;
  text-align: center;
  font-weight: 800;
  color: #fff;
  background-color: #7e5827;
  z-index: 10;
  transition: all 0.3s linear;
}

.btn_b a:hover {
  color: #7e5827;
  background-color: #fff;
}

table {
  border: 0;
  border-collapse: collapse;
  border-radius: 8px;
  width: 100%;
}

th {
  border: solid 1px rgb(248, 177, 149);
  padding: 16px 8px;
}

td {
  border: solid 1px rgb(248, 177, 149);
  text-align: center;
  padding: 8px;
  color: #757575;
}

table td a {
  background-color: rgb(248, 177, 149);
  color: white;
  padding: 5px 20px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
}

.popular {
  position: relative;
}

.no1 {
  position: absolute;
  top: -10px;
  background: rgb(248, 177, 149);
  width: 60px;
  font-size: 10px;
  border-radius: 15px;
  line-height: 1;
  padding: 5px;
}

.basic {
  background-color: rgb(248, 177, 149);
  color: #fff;
}

.standard {
  background-color: rgb(248, 177, 149);
  border: 1px solid rgb(248, 177, 149);
  color: white;
}

.premium {
  border: 1px solid #2e3a4d;
  background-color: #2e3a4d;
  color: white;
}

.price {
  font-size: 20px;
  font-weight: 800;
}

.price td {
  color: black;
}

.form {
  width: 90%;
  margin: 20px auto;
  justify-content: center;
  align-items: center;
}

.form2 {
  width: 90%;
  margin: 20px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.form2 th {
  border: none;
  text-align: center;
  font-size: 24px;
}

.form2 th img {
  width: 100px;
  height: 100px !important;
}

@media screen and (max-width: 1024px) {
  .nav-links {
    width: 90%;
    font-size: 20px;
  }

  .nav-menu {
    width: 100%;
  }
}

@media screen and (max-width: 900px) {
  .swiper {
    width: 100%;
    height: 40vh;
    margin-bottom: 100px;
  }

  #roomType .title2 {
    font-size: 24px;
  }

  #contact {
    padding: 100px 80px;
  }

  .contactText p {
    font-size: 20px;
  }

  .contactText {
    width: 60%;
  }

  .map {
    height: auto;
    width: 50%;
  }

  .btn a {
    width: 80px;
  }

  .nav-links {
    width: 90%;
    font-size: 20px;
  }

  .nav-menu {
    width: 100%;
  }
}

@media screen and (max-width: 600px) {
  .aboutText p {
    font-size: 20px;
  }

  section {
    padding: 40px 0px;
  }

  .swiper {
    padding-top: 80px;
    height: 100%;
  }

  .navbar {
    height: 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: 100%;
    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: var(--navhover);
    color: white;
    transition: all 0.4s ease-out;
  }

  .navbar {
    width: 100%;
  }

  .menu-toggle .bar {
    background: var(--navhover);
  }

  #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);
  }

  #photo {
    width: 100%;
  }

  .photoItem {
    width: 100%;
  }

  .aboutTitle p {
    font-size: 20px;
    width: 70%;
    text-align: center;
  }

  .newsArea {
    flex-wrap: wrap;
  }

  .newsItem {
    width: 100%;
    margin-bottom: 30px;
  }

  .tabs-container .tabs {
    width: 100%;
  }

  .tabs-container {
    flex-direction: column;
  }

  .tabs-container .content-container .content.active {
    height: 300px;
  }

  .tabs-container .content-container .content {
    padding: 20px;
  }

  .content li {
    font-size: 18px;
  }

  #roomType p {
    font-size: 20px;
    padding: 0px;
  }

  #roomType .title2 {
    font-size: 24px;
    width: 60%;
  }

  #roomType .column {
    width: 100%;
    margin-bottom: 30px;
  }

  #roomType .title3 {
    font-size: 16px;
    letter-spacing: 1.5px;
  }

  #roomType img {
    height: 200px;
  }

  #roomType .content2 img {
    height: 240px;
  }

  #project .proArea {
    flex-wrap: wrap;
    margin: 50px 0px;
  }

  #project .projectItem {
    width: 100%;
  }

  #project .swiper {
    padding-top: 0px;
  }

  #contact {
    padding: 60px 30px;
    flex-wrap: wrap;
  }

  .contactText {
    width: 100%;
    padding: 25px 15px;
  }

  .map {
    height: auto;
    width: 100%;
  }

  .contactText .title {
    margin: 5px 0px;
  }

  .btn a {
    font-size: 16px;
    width: 80px;
    margin: 0;
    right: 12px;
  }

  .aboutTitle {
    /* The image used */
    background-image: url("img/2.jpg");
    /* Set a specific height */
    min-height: 300px;
    /* Create the parallax scrolling effect */
    width: 100%;
  }

  .form2 th {
    border: none;
    text-align: center;
    font-size: 20px;
  }

  .banner .swiper-slide img {
    margin-top: 0px;
  }
}

@media screen and (min-width: 450px) {

  .banner-computer-hide,
  .logo-m-show {
    display: none;
  }
}

@media screen and (max-width: 450px) {
  .navbar {
    grid-template-columns: 0.2fr auto 0.2fr;
  }

  .banner-m-hide {
    display: none;
  }

  .content li {
    font-size: 20px;
  }

  a {
    font-size: 20px;
    color: inherit;
  }
}