@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Kaushan+Script&family=Noto+Sans+TC:wght@100;300;400;500;700;900&family=Noto+Serif+TC:wght@200;300;400;500;600;700;900&family=Raleway&family=Righteous&display=swap');

:root {
  --brown: #A48362;
  --light-brown: #B29D8C;
  --light-yellow: #E8DEB7;
  --dark-green: #3B605C;
  --atrovirens: #263027;
  --dark-red: #C10D32;
  --dark-orange: #C0664C;
  --light-grey: #d8d8d8;
  --deep-brown: #665545;
  --light: #F7F7F7;
  --black: #141414;
}

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

html {
  height: 100%;
}

html,
body {
  font-family: 'Raleway', 'Arial', 'Noto Serif TC', sans-serif;
  line-height: 1.75;
  letter-spacing: 1.5px;
  background-color: var(--atrovirens);
  color: var(--light-grey);
  font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  /* font-weight: 900; */
  font-family: 'Raleway', 'Arial', 'Noto Serif TC', sans-serif;
  letter-spacing: 2px;
}



::-moz-selection {
  /* Code for Firefox */
  color: var(--light);
  background: var(--dark-orange);
}

::selection {
  color: var(--light);
  background: var(--dark-orange);
}

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


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

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

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

.bg-light-yellow {
  background: var(--light-yellow);
}

.bg-dark {
  background: #222 !important;
}

.btn-outline-light-brown {
  color: var(--light-brown);
  border-color: var(--light-brown);
}

.btn-outline-light-brown:hover {
  color: var(--light);
  border-color: var(--light);
}

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

.dots {
  background-image: radial-gradient(
    circle closest-side,
    var(--light-grey) 80%,
    transparent 10%
  );
  background-position: bottom;
  background-repeat: repeat-x;
  background-size: 6px 3px;
  display: block;
  height: 3px;
  margin: 3rem 0rem 0.5rem;
}

.great-vibes {
  font-family: 'Great Vibes', cursive;
}

.righteous {
  font-family: 'Righteous', cursive;
}

.pattern {
  background: url(../../img/background.jpg) no-repeat center center;
  background-size: cover;
  background-attachment: scroll;
}

/* navbar start */
.navbar-nav .nav-link.active {
  background-color: var(--atrovirens) !important;
  color: var(--light) !important;
}

.navbar-default .navbar:before {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  content: "";
  width: 100%;
  height: 9px;
  background: url(../img/shape-header-2.png) center repeat-x;
  transition: none;
  z-index: 1030 !important;
}

li.nav-item a {
  min-width: 8vw;
  font-weight: 700;
  color: var(--atrovirens) !important;
  /* font-family: 'Kaushan Script', cursive; */
}

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;
  font-size: 1.1rem;
}

.toggle-btn::before {
  content: 'MENU';
  position: absolute;
  width: 70px;
  letter-spacing: 2px;
  color: var(--dark-red);
  right: 30px;
  font-weight: 500;
}

.one {
  display: block;
  position: relative;
  width: 25px;
  height: 1px;
  background: var(--dark-red);
  visibility: inherit;
  opacity: 1;
  transform: matrix(1, 0, 0, 1, 0, 0);
}

.active .one {
  display: block;
  position: relative;
  width: 25px;
  height: 1px;
  background: var(--dark-red);
  visibility: hidden;
  opacity: 0;
  transform: matrix(1, 0, 0, 1, 0, 9);
}

.two {
  display: block;
  position: relative;
  width: 18px;
  height: 1px;
  background: var(--dark-red);
  margin-top: 4px;
}

.tre {
  display: block;
  position: relative;
  width: 21px;
  height: 1px;
  background: var(--dark-red);
  margin-top: 4px;
  visibility: inherit;
  opacity: 1;
  transform: matrix(1, 0, 0, 1, 0, 0);
}

.active .tre {
  display: block;
  position: relative;
  width: 21px;
  height: 1px;
  background: var(--dark-red);
  margin-top: 4px;
  visibility: hidden;
  opacity: 0;
  transform: matrix(1, 0, 0, 1, 0, 9);
}

.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(--dark-red);
}

.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);
}
/* navbar end */


/* header start */
.header-banner img {
  height: 700px;
  width: 100%;
  object-fit: cover;
  object-position: center center;
}

.header-box {
  position: relative;
}

.header-content {
  position: absolute;
  z-index: 10;
  color: var(--light);
  width: 85vw;
  height: 300px;
  padding: 1vw;
  text-align: center;
  left: calc(50% - 42.5vw);
  bottom: 1rem;
}

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

.next img {
  height: 100%;
  z-index: 100;
  vertical-align: middle;
}

.header-title {
  font-family: 'Kaushan Script', cursive;
  margin-bottom: 0px;
  font-size: 3em;
  text-transform: none;
  line-height: 0.65em;
}

.header-subtitle {
  font-family: 'Great Vibes', cursive;
  margin-bottom: 0px;
  font-size: 1.5vw;
}

@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: 1.6125em;
  }
}
@media only screen and (max-width: 479px) {
  .header-title {
    font-size: 1.4125em;
  }
  .header-subtitle {
    font-size: 1.6125em;
  }
}

.header-box:after {
  width: 100%;
  height: 100%;
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  background-color: #1b1a1a;
  background-image: linear-gradient(to bottom,rgba(27,26,26,0.75) 0%,rgba(27,26,26,0) 34%,rgba(27,26,26,0) 82%);
  opacity: .7;
}
/* header end */


/* footer start */

.footer-reservation {
  position: relative;
  background-color: var(--atrovirens);
  margin: auto;
  z-index: 888;
  border-radius: 3px;
  margin-top: -80px;
  padding: 30px;
}

.footer-reservation ul li {
  text-align: left;
  border-bottom: 1px dashed var(--deep-brown);
  padding: 8px 0;
}

.footer-reservation ul li span {
  float: right;
}

.footer-reservation-wrapper {
  padding: 10px 40px 0px 40px;
}

.footer-divider-shape-up {
  width: 92px;
  height: 20px;
  background: url(../../img/footer-shape-up.png?v=1) center no-repeat;
  position: absolute;
  top: -20px;
  left: 50%;
  margin-left: -46px;
}

.footer-divider-shape-down {
  width: 92px;
  height: 20px;
  background: url(../../img/footer-shape-down.png?v=1) center no-repeat;
  position: absolute;
  bottom: -20px;
  left: 50%;
  margin-left: -46px;
}

/* footer end */


/* about start */
.section-subtitle:before {
  content: "";
  width: 50px;
  height: 2px;
  background: var(--light-grey);
  position: absolute;
  left: 0;
  top: 50%;
}
.section-subtitle:after {
  content: "";
  width: 50px;
  height: 2px;
  background: var(--light-grey);
  position: absolute;
  right: -63px;
  top: 50%;
}

.section-subtitle {
  color: var(--light-grey);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  font-family: 'Great Vibes', cursive;
  position: relative;
  padding-left: 65px;
}

.section-subtitle2 {
  color: var(--light-yellow);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 15px;
  font-family: 'Great Vibes', cursive;
  position: relative;
}

.section-subtitle3 {
  color: var(--light-brown);
  font-size: 1.2rem;
  font-weight: 600;
  font-family: 'Raleway', 'Arial', 'Noto Serif TC', sans-serif;
  position: relative;
  margin-top: 15px;
  margin-bottom: 0;
  letter-spacing: 1px;
}

.section-title {
  font-size: 1.8rem;
  font-family: 'Raleway', 'Arial', 'Noto Serif TC', sans-serif;
  color: var(--light-yellow);
}

.section-title2 {
  font-size: 2.8rem;
  font-family: 'Kaushan Script', cursive;
  color: var(--light);
}

.section-title3 {
  font-size: 1.5rem;
  font-family: 'Kaushan Script', cursive;
  color: var(--light);
}

@media screen and (max-width: 767px){
  .years-about-frame {
    height: 300px !important;
    margin-top: 20px;
  }
}

.years-about-frame {
  position: relative;
  height: 100%;
  width: 100%;
  border: 10px solid var(--light-brown);
}

.about-frame-text {
  position: absolute;
  bottom: 40px;
  left: -10px;
  padding: 10px 0;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  background: var(--atrovirens);
}

.about-frame-text h2 {
  font-size: 70px;
  line-height: 1;
  display: inline-block;
  position: relative;
  z-index: 2;
  color: var(--light-brown);
}

.about-frame-text h2:after {
  content: '';
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--light-brown);
  position: absolute;
  right: -15px;
  top: -15px;
  z-index: -1;
}

.about-frame-text h6 {
  font-size: 14px;
  color: var(--light-brown);
  margin-bottom: 0;
}

/* about end */

/* portfolio start */
.portfolio-list img {
  height: 300px;
  width: 100%;
  object-fit: cover;
  object-position: center center;
}

/* portfolio end */

/* clients start */
#clients {
  position: relative;
  /* background: var(--atrovirens); */
  margin-top: 40px;
  margin-bottom: 80px;
}


.bg-clients {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  background-image: url(../../img/brown-wooden.jpg);
  background-color: rgba(27, 26, 26, 0.65);
  background-blend-mode: multiply;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 80%;
}

.clients-info {
  position: relative;
  background: #FFFFFF !important;
  z-index: 2;
}

#clients img {
  position: relative;
  z-index: 3;
  height: 300px;
  width: 100%;
  object-fit: cover;
  object-position: center center;
}


.fa-star {
  color: #fecc00;
}
/* clients end */


/* divider start */
.divider-top {
  min-height: 500px;
  background-color: rgba(27, 26, 26, 0.65);
  background-blend-mode: multiply;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: auto;
}

.divider-bottom {
  min-height: 400px;
  padding-top: 100px;
  padding-bottom: 100px;
}

.divider-shape-up {
  width: 92px;
  height: 20px;
  background: url(../../img/shapes-arrow-up.png) center no-repeat;
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -46px;
}

.divider-shape-down {
  width: 92px;
  height: 20px;
  background: url(../../img/shapes-arrow-down.png) center no-repeat;
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -46px;
}

/* divider end */


/* ingredients start */

#ingredients .divider-top {
  background-image: url(../../img/bg.jpg);
}

.ingredients img {
  /* height: 400px;
  width: 100%; */
  object-fit: cover;
  object-position: center center;
}

/* ingredients end */


/* price start */

.nav-pills .nav-link.active {
  background-color: transparent !important;
}

.nav-pills .nav-link.active img {
  width: 120% !important;
  margin-top: -10% !important;
  margin-left: -10% !important;
}

.block-content {
  position: relative;
  width: 100%;
  margin-bottom: 1rem;
}

.service-title {
  position: relative;
  z-index: 3;
  background: #fff;
  top: -2px;
  padding-right: 0.125rem;
  display: inline-block;
}

.dots-price {
  position: absolute;
  top: 0px;
  left: 0;
  right: 0;
  z-index: 2;
  background-image: radial-gradient(
    circle closest-side,
    var(--brown) 80%,
    #fff 10%
  );
  background-position: bottom;
  background-repeat: repeat-x;
  background-size: 4px 2px;
  display: block;
  height: 2px;
  margin: 0.957em 0;
}

.service-price {
  position: absolute;
  top: -2px;
  right: 0;
  font-size: 1.2rem;
  z-index: 2;
  padding-left: 0.125em;
  background: #fff;
  color: var(--brown);
}

/* price end */

/* appointment start */

#appointment {
  background-image: url(../../img/background.jpg?=1);
  background-color: rgba(27, 26, 26, 0.65);
  background-blend-mode: multiply;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: auto;
  
}

#appointment .form-control {
  border-radius: 0px !important;
  border-color: var(--dark-brown);
}

#appointment .form-control:focus,
#appointment .form-select:focus {
  box-shadow: 0 0 0 0 !important;
}

#appointment .form-select {
  border-radius: 0px !important;
  border-color: var(--dark-brown);
}

#appointment label {
  color: var(--atrovirens);
}

.btn-appointment {
  width: 150px;
  height: 40px;
  display: block;
  text-align: center;
  cursor: pointer;
  line-height: 40px;
  color: var(--light);
  background-color: transparent;
  position: relative;
  transition: all 0.3s linear;
  margin: 1.5rem auto;
}
.btn-appointment > p {
  position: relative;
  z-index: 1;
}
.btn-appointment::before {
  content: '';
  width: 20px;
  height: 20px;
  display: block;
  box-sizing: border-box;
  border-top: 1px solid var(--light);
  border-left: 1px solid var(--light);
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.3s linear;
}
.btn-appointment::after {
  content: '';
  width: 20px;
  height: 20px;
  display: block;
  box-sizing: border-box;
  border-bottom: 1px solid var(--light);
  border-right: 1px solid var(--light);
  position: absolute;
  bottom: 0;
  right: 0;
  transition: all 0.3s linear;
}
.btn-appointment:hover::before,
.btn-appointment:hover::after {
  width: 100%;
  height: 100%;
}

/* appointment end */

/* top buttom start */
#topBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 3vw;
  z-index: 999;
  font-size: 18px;
  border: none;
  outline: none;
  color: var(--light);
  background-color: var(--dark-green);
  cursor: pointer;
  padding: 5px 15px;
  border-radius: 0px;
}

#topBtn:hover {
  color: var(--light);
  background-color: var(--dark-orange);
}
/* top buttom end */

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

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

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

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