@import url('https://fonts.googleapis.com/css2?family=Playball&display=swap&family=Lora:ital,wght@1,400;1,700&family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@500;600;700;900&display=swap');
@import url('yuperal.css');

:root {
  --light-grey: #d8d8d8;
  --deep-brown: #34312f;
  --brown: #a1834c;
  --light-brown: #be9c6a;
  --yellow: #ead09f;
  --light-yellow: #fcf9f5;
  --white: #fff;
}

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

html {
  height: 100%;
}

html,
body {
  /* background-color: #d8d8d8; */
  font-family: 'Lora', 'Arial', 'Noto Serif TC', '黑體-繁', '微軟正黑體',
    sans-serif;
  line-height: 1.75;
  letter-spacing: 1.5px;
  background-color: #f8f8f8;
  font-weight: 500;
}

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

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

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

.Playball {
  font-family: 'Playball', 'Arial', 'Noto Serif TC', '黑體-繁', '微軟正黑體',
    sans-serif;
  letter-spacing: 5px;
  font-weight: 500;
}

.Lora {
  font-family: 'Lora', 'Arial', 'Noto Serif TC', '黑體-繁', '微軟正黑體',
    sans-serif;
  letter-spacing: 5px;
  font-weight: 500;
}

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

.hideme {
  opacity: 0;
}

.bg-yellow {
  background-color: var(--yellow) !important;
}

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

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

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

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

.text-deep-brown {
  color: var(--deep-brown) !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;
}

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

/* navbar start */

.navbar-nav .nav-link.active {
  background-color: var(--light-brown) !important;
  color: var(--deep-brown) !important;
}

li.nav-item a {
  min-width: 8vw;
  font-weight: 500;
  color: var(--yellow) !important;
}

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

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

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

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

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

.tre {
  display: block;
  position: relative;
  width: 21px;
  height: 1px;
  background: var(--yellow);
  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(--yellow);
  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(--yellow);
}

.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 */

/* mouse scroll icon start */
.mouse {
  position: absolute;
  width: 22px;
  height: 42px;
  bottom: 0px;
  left: 50%;
  margin-left: -12px;
  border-radius: 15px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  -webkit-animation: intro 1s;
  animation: intro 1s;
}

.scroll {
  display: block;
  width: 3px;
  height: 3px;
  margin: 6px auto;
  border-radius: 4px;
  background: var(--white);
  -webkit-animation: finger 1s infinite;
  animation: finger 1s infinite;
}

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

  100% {
    opacity: 0;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }
}
/* mouse scroll icon end */

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

.header-box {
  position: relative;
}

.header-content {
  position: absolute;
  z-index: 10;
  color: var(--white);
  width: 85vw;
  height: 300px;
  padding: 1vw;
  text-align: center;
  left: calc(50% - 40vw);
  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: 'Playball', 'Arial', 'Noto Serif TC', '黑體-繁', '微軟正黑體',
    sans-serif;
  margin-bottom: 0px;
  font-size: 3.4375em;
  text-transform: none;
  line-height: 1.5em;
}
@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.6125em;
  }
}
@media only screen and (max-width: 479px) {
  .header-title {
    font-size: 1.4125em;
  }
  .header-subtitle {
    font-size: 0.6125em;
  }
}

.header-subtitle {
  font-family: 'Lora', 'Arial', 'Noto Serif TC', '黑體-繁', '微軟正黑體',
    sans-serif;
  margin-bottom: 0px;
  font-size: 0.5vw;
}
/* header end */

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

/* portfolio end */

/* clients start */
#clients {
  position: relative;
}

.clients-top {
  min-height: 400px;
  background-color: rgba(52, 49, 47, 0.7);
  background-blend-mode: multiply;
  background-image: url(../../img/clients-topbg.jpg);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: auto;
}

.clients-bottom {
  min-height: 400px;
}

.clients-list .slick-dots {
  bottom: -4rem !important;
}

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

/* stylist start */

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

.insta {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
  -webkit-background-clip: text;
  /* Also define standard property for compatibility */
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* stylist 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 .form-control {
  border-radius: 0px !important;
  border-color: var(--light-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(--light-brown);
}

.btn-appointment {
  width: 150px;
  height: 40px;
  display: block;
  text-align: center;
  cursor: pointer;
  line-height: 40px;
  color: var(--light-brown);
  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-brown);
  border-left: 1px solid var(--light-brown);
  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-brown);
  border-right: 1px solid var(--light-brown);
  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(--yellow);
  background-color: var(--deep-brown);

  cursor: pointer;
  padding: 5px 15px;
  border-radius: 0px;
}

#topBtn:hover {
  color: var(--deep-brown);
  background-color: var(--yellow);
}
/* top buttom end */

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

/* 網頁捲軸【背景】顏色 */
::-webkit-scrollbar-track {
  background: #212529;
}

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

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