@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@500;600;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+SC:wght@400;500;600;700&family=Limelight&display=swap');

:root {
  --light-primary: #DBCBD0;
  --primary: #956472;
  --deep-primary: #4A3239;
  /* --secondary: #DECED3;
  --deep-secondary: #786F72; */
  --secondary: #BAD9D0;
  --deep-secondary: #4E5C5A;

  --pink: #E897B1;
  --light-yellow: #FEFAF5;
  --yellow: #F2C288;
  /* --light-orange: #DECED3; */
  --light-orange: #F2BBAE;
  
  --white: #F8F9FA;
}


/* 文字反白的狀況 */
::-moz-selection {
  /* Code for Firefox */
  color: var(--white);
  background: var(--light-primary);
}

::selection {
  color: var(--white);
  background: var(--light-primary);
}

/* 網頁捲軸【寬度】 */
::-webkit-scrollbar {
  width: 10px;
}

/* 網頁捲軸【背景】顏色 */
::-webkit-scrollbar-track {
  background: var(--light-yellow);
}

/* 網頁捲軸【把手】顏色 */
::-webkit-scrollbar-thumb {
  background: var(--light-primary);
}

/* 網頁捲軸【滑過時】把手的顏色 */
::-webkit-scrollbar-thumb:hover {
  background: var(--light-primary);
}

.btn:focus,
button:focus,
.btn:active,
button:active {
  border: 0 !important;
  box-shadow: 0 0 0 0 !important;
}

/* BS5修改預設 */
html,
body {
  overflow-x: hidden;
  margin: 0%;
}

html {
  height: 100%;
}

html,
body {
  font-family: 'Cormorant SC', 'Arial', 'Noto Serif TC', '黑體-繁', '微軟正黑體', sans-serif;
  line-height: 1.75;
  letter-spacing: 1.5px;
  background-color: var(--light-yellow);
  color: var(--deep-primary);
  background-repeat: repeat;
  background-image: url(../../img/pattern.png);
  font-weight: 500;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 900;
  font-family: 'Cormorant SC', 'Arial', 'Noto Serif TC', '黑體-繁', '微軟正黑體',
    sans-serif;
  letter-spacing: 2px;
}

.bg-yellow {
  background-color: var(--yellow);
  background-repeat: repeat;
  background-image: url(../../img/pattern.png);
  background-blend-mode: darken;
}

.bg-light-primary {
  background-color: var(--light-primary);
  background-repeat: repeat;
  background-image: url(../../img/pattern.png);
  background-blend-mode: darken;
}

.bg-secondary {
  background-color: var(--secondary) !important;
  background-repeat: repeat;
  background-image: url(../../img/pattern.png);
  background-blend-mode: darken;
}

.bg-deep-secondary {
  background-color: var(--deep-secondary);
  background-repeat: repeat;
  background-image: url(../../img/pattern.png);
  background-blend-mode: darken;
}

.text-pink {
  color: var(--pink) !important;
}

.text-primary {
  color: var(--primary) !important;
}

.text-deep-secondary {
  color: var(--deep-secondary);
}


/* section 標題 副標 start */
.section-title {
  color: var(--primary);
  position: relative;
  z-index: 2 !important;
}

.section-subtitle span {
  position: relative;
  z-index: 2 !important;
  padding-left: 0.1rem !important;
}

.section-subtitle {
  color: var(--pink);
  font-family: 'Cormorant SC', 'Arial', 'Noto Serif TC', '黑體-繁', '微軟正黑體', sans-serif;
  /* letter-spacing: 5px;
  font-weight: 500;
  margin-bottom: 0px;
  position: relative; */
}

/* .section-subtitle::before {
  content: "";
  width: 45px;
  height: 120%;
  background: var(--light-primary);
  position: absolute;
  left: -25px;
  top: 60%;
  z-index: 1 !important;
}

.section-subtitle::after {
  content: "";
  width: 70%;
  height: 2px;
  background: var(--primary);
  position: absolute;
  right: -75%;
  top: 55%;
} */

/* section 標題 副標 end */

.uppercase {
  text-transform: uppercase !important;
}

.card-text {
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-line-clamp: 4;
  /*行數*/
  -webkit-box-orient: vertical;
  white-space: normal;
  /* word-wrap: break-word;
  word-break: break-all; */
  hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
}


/* navbar start */
.navbar-brand {
  color: var(--deep-primary) !important;
  font-weight: 700;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  background-color: var(--primary) !important;
  color: var(--light-yellow) !important;
}

.navbar-nav .nav-link {
  color: var(--deep-primary)
}

li.nav-item a {
  min-width: 11vw;
  font-weight: 500;
}

li.nav-item a:hover span:nth-child(1),
li.nav-item a span:nth-child(2) {
  display: none;
}

li.nav-item a:hover span:nth-child(2) {
  display: block;
}

@media (max-width: 912px){
  li.nav-item a:hover span:nth-child(1),
  li.nav-item a span:nth-child(2) {
    display: block;
  }
  
  li.nav-item a:hover span:nth-child(2) {
    display: none;
  }

  li.nav-item a:hover span:nth-child(2),
  li.nav-item a span:nth-child(1) {
    display: none;
  }

  li.nav-item a:hover span:nth-child(1) {
    display: block;
  }
}

/* navbar end */


/* 漢堡選單 start */
.mobile-but .lines,
.mobile-but .lines::after,
.mobile-but .lines::before {
  height: 2px;
  width: 25px;
}

.mobile-but .lines::after,
.mobile-but .lines::before {
  content: ' ';
  display: block;
}

.mobile-but .lines::after,
.mobile-but .lines::before {
  background: var(--primary);
}

.mobile-but .lines::after {
  transform: translate(0px, 4px) rotate(0deg);
  -webkit-transform: translate(0px, 4px) rotate(0deg);
  -ms-transform: translate(0px, 4px) rotate(0deg);
  -moz-transform: translate(0px, 4px) rotate(0deg);
}

.mobile-but .lines::before {
  transform: translate(0px, -4px) rotate(0deg);
  -webkit-transform: translate(0px, -4px) rotate(0deg);
  -ms-transform: translate(0px, -4px) rotate(0deg);
  -moz-transform: translate(0px, -4px) rotate(0deg);
}

.active .mobile-but .lines::after {
  transform: translate(0px, -1px) rotate(45deg);
  -webkit-transform: translate(0px, -1px) rotate(45deg);
  -ms-transform: translate(0px, -1px) rotate(45deg);
  -moz-transform: translate(0px, -1px) rotate(45deg);
}

.active .mobile-but .lines::before {
  transform: translate(0px, 1px) rotate(-45deg);
  -webkit-transform: translate(0px, 1px) rotate(-45deg);
  -ms-transform: translate(0px, 1px) rotate(-45deg);
  -moz-transform: translate(0px, 1px) rotate(-45deg);
}

/* 漢堡選單 end */


/* mouse scroll icon start */
.scroll {
  position: relative;
  bottom: -1.8rem;
  display: block;
  width: 20px;
  height: 20px;
  -webkit-animation: finger 1s infinite;
  animation: finger 1s infinite;
  z-index: 100;
  margin-left: auto;
  margin-right: auto;
}

.scroll::before {
  content: '';
  width: 0;
  height: 0;
  display: block;
  border-left: 10px solid transparent;
  border-top: 10px solid var(--light-yellow);
  border-right: 10px solid transparent;
  position: absolute;
  bottom: 0;
  right: 0;
}

.scroll::after {
  content: '';
  width: 0;
  height: 0;
  display: block;
  border-left: 10px solid transparent;
  border-bottom: 10px solid var(--light-yellow);
  border-right: 10px solid transparent;
  position: absolute;
  top: 0;
  right: 0;
}

@-webkit-keyframes finger {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }
}

/* mouse scroll icon end */


/* header start */
.header-banner {
  position: relative;
}

.header-banner img {
  padding-top: 60px;
  height: 100%;
  max-height: 100vh;
  width: 100%;
  object-fit: cover;
  object-position: left bottom;
}

.header-box {
  position: relative;
}

.header-content {
  position: absolute;
  z-index: 10;
  color: var(--white);
  width: 85vw;
  padding: 1vw;
  text-align: center;
  left: calc(50% - 40vw);
  bottom: 3rem;
}

.header-content .next {
  position: absolute;
  width: 85vw;
  bottom: 1vh;
}


.header-title {
  font-family: 'Cormorant SC', 'Arial', 'Noto Serif TC', '黑體-繁', '微軟正黑體', sans-serif;
  margin-bottom: 0px;
  font-size: 3.4375em;
  text-transform: none;
  line-height: 1.5em;
  color: var(--light-yellow);
}


.header-subtitle {
  font-family: 'Limelight', 'Arial', 'Noto Serif TC', '黑體-繁', '微軟正黑體', sans-serif;
  margin-bottom: 0px;
  font-size: 1em;
  color: var(--light-yellow);
}


@media all and (max-width: 1160px) {
  .header-title {
    font-size: 3em;
  }
}

@media all and (max-width: 990px) {
  .header-title {
    font-size: 2.8125em;
  }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
  .header-title {
    font-size: 1.8125em;
  }

  .header-subtitle {
    font-size: 0.8em;
  }
}

@media only screen and (max-width: 479px) {
  .header-title {
    font-size: 1.4125em;
  }

  .header-subtitle {
    font-size: 0.8em;
  }
}


/* header end */

.about-img img {
  border-radius: 50% 50% 0% 0% / 35% 35% 0% 0%;
  /* border-radius: 50% 20% / 10% 40%; */
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center center;
  position: relative;
  z-index: 3;
}

.about-img {
  position: relative;
  z-index: 2;
}

.about-img::before {
  content: "";
  /*沒用到仍然要寫，雙引號內容留空*/
  position: absolute;
  right: -40px;
  top: -40px;
  width: 20vw;
  height: 20vw;
  max-width: 150px;
  max-height: 150px;
  background-color: var(--yellow);
  background-image: url(../../img/pattern.png);
  background-repeat: repeat;
  background-blend-mode: darken;
  border-radius: 50%;
  z-index: 4;
}

.about-img::after {
  content: "";
  /*沒用到仍然要寫，雙引號內容留空*/
  position: absolute;
  left: -23vw;
  bottom: -18vw;
  width: 40vw;
  height: 40vw;
  max-width: 600px;
  max-height: 600px;
  background-color: var(--light-orange);
  background-image: url(../../img/pattern.png);
  background-repeat: repeat;
  background-blend-mode: darken;
  border-radius: 50%;
  z-index: 2;
}

/* about end */


/* room start */
.room {
  position: relative;
  z-index: 5;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

.room-img::before {
  content: "";
  /*沒用到仍然要寫，雙引號內容留空*/
  position: absolute;
  right: -5vw;
  top: -4vw;
  width: 10vw;
  height: 10vw;
  border: 1px var(--yellow) solid;
  border-radius: 60% 80% 50% 60% / 30% 50% 40% 30%;
  z-index: 3;
}

.room-img::after {
  content: "";
  /*沒用到仍然要寫，雙引號內容留空*/
  position: absolute;
  right: -4.5vw;
  top: -3vw;
  width: 10vw;
  height: 10vw;
  border: 1px var(--yellow) solid;
  border-radius: 50% 20% 60% 30% / 80% 50% 40% 20%;
  z-index: 3;
}

.room-img img {
  border-radius: 20% 0 0 0;
  /* border-radius: 10% 40% /50% 20%; */
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center center;
  max-height: 480px;
  position: relative;
  z-index: 2;
}

.room-item-img {
  position: relative;
  border-radius: 50% 20% / 10% 40%;
  height: 100%;
  /* overflow:hidden; */
}

.room-item-img::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  border-radius: 50% 20% / 10% 40%;
  left: -5px;
  top: -7px;
  border: 1px var(--yellow) solid;
  z-index: 10;
}

.room-item img {
  border-radius: 50% 20% / 10% 40%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.room .table {
  color: var(--deep-primary) !important;
}

.border-deep-primary {
  border-color: var(--deep-primary) !important;
}

#room .slick-prev:before,#room .slick-next:before {
  color: var(--yellow) !important; 
  font-size: 2rem;
}

#room .slick-prev, #room .slick-next {
  top: 0;
  /* bottom: -3rem; */
}

#room .slick-prev {
  /* left: calc(50% - 3rem) !important; */
  left: auto;
  right: 4rem;
}

#room .slick-next {
  /* right: calc(50% - 3rem) !important; */
  right: 1.8rem;
}

/* room end */


/* facility start*/
#facility {
  color: var(--deep-secondary) !important;
}

#facility .slick-dots {
  top: -3rem;
  bottom: auto;
}

#facility .slick-dots li,
#facility .slick-dots li button {
  width: 4.5rem;
  height: 1.5rem;
  margin: 0 2vw;
}

#facility .slick-dots li.slick-active button:before,
#facility .slick-dots li button:before {
  font-family: 'Cormorant SC', 'Arial', 'Noto Serif TC', '黑體-繁', '微軟正黑體', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--deep-secondary) !important;
  width: auto;
  height: auto;
  justify-items: center;
}

#facility .slick-dots li:nth-child(1) button:before {
  content: '民宿環境';
}

#facility .slick-dots li:nth-child(2) button:before {
  content: '手作早餐';
}

#facility .slick-dots li:nth-child(3) button:before {
  content: '周邊景點';
}

.facility-list img {
  height: auto;
  width: 100%;
  object-fit: cover;
  object-position: center center;
  /* filter:blur(5px); */
}

.panes-box {
  position: relative;
  overflow: auto;
  background-color: var(--deep-secondary);
}

.panes-box .panes-info {
  display: none;
}

.panes-box:hover .panes-info {
  display: block;
  padding: 1.5vw !important;
  font-size: 0.9rem !important;
  width: 100% !important;
  height: 100% !important;
  background-color: rgba(78,92,90,.95);
  color: var(--white);
  position: absolute;
  top: 0;
  transition: all 1s;
}

/* facility end */


/* service start */
#service {
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

#service .img-box {
  position: relative;
  z-index: 1;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

#service .img-box img {
  border-radius: 60% 65% 55% 60% / 80% 50% 70% 50%;
}

#service .img-box::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: -10px;
  bottom: 20px;
  width: 100px;
  height: 100px;
  border: 2px var(--pink) solid;
  border-radius: 50% 20% 60% 30% / 80% 50% 40% 20%;
  /* background-color: var(--pink);
  background-image: url(../../img/pattern.png);
  background-repeat:repeat;
  background-size: auto;
  background-blend-mode: darken; */
}

#service .img-box::before {
  content: "";
  position: absolute;
  z-index: 2;
  right: 48px;
  bottom: -25px;
  width: 130px;
  height: 130px;
  border: 2px var(--light-primary) solid;
  border-radius: 60% 70% 50% 60% / 70% 50% 60% 40%;
  /* background-color: var(--light-primary);
  background-image: url(../../img/pattern.png);
  background-repeat:repeat;
  background-size: auto;
  background-blend-mode: darken; */
}

/* service end */


/* feedback start */
#feedback {
  position: relative;
  background-color: var(--light-primary);
  background-image: url(../../img/feedback-topbg-1200w.jpg), url(../../img/pattern.png);
  background-repeat: no-repeat, repeat;
  background-size: cover, auto;
  background-blend-mode: darken;
  background-attachment: fixed;
  width: 100%;
  height: auto;
  min-height: 600px;
  position: relative;
}

@media (max-width:1000px) {
  #feedback {
    background-image: url(../../img/feedback-topbg-768w.jpg), url(../../img/pattern.png);
  }
}

@media (max-width:576px) {
  #feedback {
    background-image: url(../../img/feedback-topbg-540w.jpg), url(../../img/pattern.png);
  }
}

#feedback .card {
  border-bottom: 5px var(--light-orange) solid;
  border-radius: 0 !important;
}

.feedback-bottom {
  width: 100%;
  position: absolute;
  bottom: 20px;
}

.fa-star {
  color: var(--yellow);
}

#feedback .slick-dots li.slick-active button:before,
#feedback .slick-dots li button:before {
  color: var(--pink);
}

/* feedback end */


/* remittance start */
#remittance .remittance-info {
  font-family: 'Arial', 'Noto Serif TC', '黑體-繁', '微軟正黑體', sans-serif;
  border-bottom: 10px var(--secondary) solid;
  background-color: var(--light-yellow);
  background-repeat: repeat;
  background-image: url(../../img/remittance-left-top.png), url(../../img/pattern.png);
  background-repeat: no-repeat, repeat;
  background-position: left 3vw top 0, left top;
  background-size: auto 290px, auto;
  /* background-image: url(../../img/remittance-left-top.png), url(../../img/remittance-right-bottom2.png), url(../../img/pattern.png);
  background-repeat: no-repeat, no-repeat, repeat;
  background-position: left 3vw top 0, right 5vw bottom 0, left top;
  background-size: auto 290px, auto 250px, auto; */
  background-blend-mode: normal;
}

#remittance .container {
  border: 2px solid;
  border-top: 0;
  border-left: 0;
  border-bottom: 0;
  border-image: linear-gradient(to bottom, var(--light-orange) 25%, var(--secondary) 100%) 1;
  position: relative;
}

#remittance .adorn {
  width: 200px;
  height: auto;
  position: absolute;
  top: 0;
  right: -100px;
  background-color: var(--light-yellow);
  background-repeat: repeat;
  background-image: url(../../img/pattern.png);
  border: 2px var(--light-orange) solid;
  border-top: 0;
  border-radius: 0% 0% 20% 20%;
  padding: 0 3px 3px 3px;
}

#remittance .adorn::after {
  content: "OFF";
  width: 180px;
  height: 180px;
  position: absolute;
  top: 250px;
  right: -100px;
  background-color: var(--light-primary);
  border-radius: 50%;
}

/* remittance end */

/* contact start */
#contact {
  font-family: 'Cormorant SC', 'Arial', 'Noto Serif TC', '黑體-繁', '微軟正黑體', sans-serif;
}

#contact a, #contact .btn{
  color: var(--deep-secondary) !important;
}

/* contact end */


/* top buttom start */
#topBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: calc(3vw - 4.5px);
  z-index: 999;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: var(--deep-secondary);
  color: var(--secondary);
  cursor: pointer;
  padding: 8px 20px;
  border-radius: 10px;
}

#topBtn:hover {
  background-color: var(--deep-secondary);
  color: var(--secondary);
}

.lineBtn {
  position: fixed;
  bottom: 80px;
  right: calc(3vw - 4.5px);
  z-index: 999;
  font-size: 18px;
  border: none;
  outline: none;
  /* color: var(--deep-secondary);
  background-color: var(--secondary); */
  cursor: pointer;
  padding: 0;
  border-radius: 10px;
  width: 49px;
  height: 49px;
}

.lineBtn:hover {
  color: var(--deep-secondary);
  background-color: var(--deep-secondary);
}



/* top buttom end */