style.scss 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. box-sizing: border-box;
  5. }
  6. $Font-color: #fff;
  7. $title-color: #4b515e;
  8. $toggle: #9c857b;
  9. $process: #6f645a;
  10. @font-face {
  11. font-family: 追奇手寫體;
  12. src: url(./goto1.woff);
  13. font-weight: 900;
  14. font-display: swap;
  15. }
  16. @import url("https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@300;600&display=swap");
  17. $destop: 1025px;
  18. body {
  19. width: 100vw;
  20. .btn {
  21. width: 96vw;
  22. margin: 0 auto;
  23. .btn-main {
  24. box-shadow: 0 10px 9px rgba(0, 0, 0, 0.5);
  25. border: none;
  26. padding: 15px;
  27. background: rgb(64, 72, 84);
  28. color: $Font-color;
  29. font-size: 16px;
  30. font-weight: 600;
  31. width: 280px;
  32. border-radius: 30px;
  33. transition: 0.3s;
  34. &:hover {
  35. background-color: $toggle;
  36. width: 285px;
  37. font-size: 17px;
  38. }
  39. }
  40. }
  41. .title {
  42. font-weight: 900;
  43. font-family: "Noto Serif TC", serif;
  44. padding: 15px;
  45. font-size: 45px;
  46. color: $title-color;
  47. padding-left: 10vw;
  48. }
  49. .arrow {
  50. position: fixed;
  51. right: 30px;
  52. bottom: 30px;
  53. width: 45px;
  54. height: 40px;
  55. z-index: 10;
  56. background-color: #e06649;
  57. &:hover {
  58. box-shadow: 1px 3px 13px -2px rgba(0, 0, 0, 0.35);
  59. }
  60. }
  61. }
  62. #q-content{
  63. position: relative !important;
  64. overflow: hidden !important;
  65. }
  66. // banner
  67. .banner {
  68. width: 100vw;
  69. position: relative;
  70. #text {
  71. text-align: center;
  72. .banner-slider {
  73. .banner1,
  74. .banner2,
  75. .banner3 {
  76. height: 100vh;
  77. background-size: cover;
  78. background-repeat: no-repeat;
  79. background-position: center;
  80. padding-right: 0 !important;
  81. }
  82. .banner1 {
  83. text-align: center;
  84. background-image: url(./img/banner/00.webp);
  85. img {
  86. width: 15vw;
  87. display: block;
  88. margin: auto !important;
  89. }
  90. }
  91. .banner2 {
  92. background-image: url(./img/banner/002.webp);
  93. }
  94. .banner3 {
  95. background-image: url(./img/banner/003.webp);
  96. }
  97. }
  98. h1 {
  99. padding: 15px;
  100. color: $Font-color !important;
  101. font-family: 追奇手寫體 !important;
  102. font-size: 72px !important;
  103. }
  104. .btn-main {
  105. box-shadow: 0 10px 9px rgba(0, 0, 0, 0.5);
  106. border: none;
  107. padding: 15px;
  108. background: rgb(64, 72, 84);
  109. color: $Font-color;
  110. font-size: 16px;
  111. font-weight: 600;
  112. width: 280px;
  113. border-radius: 30px;
  114. transition: 0.3s;
  115. &:hover {
  116. background-color: #9c857b;
  117. width: 285px;
  118. font-size: 17px;
  119. }
  120. }
  121. }
  122. .Navigation {
  123. width: 90vw;
  124. position: absolute;
  125. margin: 0 auto;
  126. top: 20px;
  127. z-index: 5;
  128. display: grid;
  129. grid-template-columns: 2fr 4fr 2fr;
  130. .logo {
  131. padding-top: 1.5vw;
  132. padding-left: 12vw;
  133. img {
  134. width: 120px;
  135. }
  136. }
  137. .link {
  138. text-align: left;
  139. padding: 1.5vw 30px;
  140. // padding-right: 150px;
  141. a {
  142. display: inline-block;
  143. text-decoration: none;
  144. color: $Font-color;
  145. // padding-right: 35px;
  146. letter-spacing: 1px;
  147. font-size: 0.9rem;
  148. font-weight: 600;
  149. cursor: pointer;
  150. padding: 15px;
  151. position: relative;
  152. :hover {
  153. opacity: 0.8;
  154. }
  155. &:after {
  156. content: "";
  157. display: block;
  158. width: 80%;
  159. height: 3px;
  160. background-color: #fff;
  161. position: absolute;
  162. left: 12%;
  163. bottom: 0;
  164. transition: all 0.3s;
  165. opacity: 0;
  166. }
  167. &:hover:after {
  168. width: 80%;
  169. opacity: 1;
  170. }
  171. }
  172. }
  173. .socail-link {
  174. text-align: right;
  175. padding: 1.5vw 30px;
  176. img {
  177. width: 1.5vw;
  178. filter: invert(100%) sepia(0%) saturate(10%) hue-rotate(238deg) brightness(104%) contrast(103%);
  179. transition: 0.3s;
  180. &:hover {
  181. filter: none;
  182. }
  183. }
  184. a {
  185. display: inline-block;
  186. text-decoration: none;
  187. color: $Font-color;
  188. // padding-right: 35px;
  189. letter-spacing: 1px;
  190. font-size: 0.9rem;
  191. font-weight: 600;
  192. cursor: pointer;
  193. padding: 15px;
  194. position: relative;
  195. }
  196. }
  197. }
  198. hr {
  199. width: 85vw;
  200. position: absolute;
  201. top: 90px;
  202. left: 100px;
  203. height: 1px;
  204. z-index: 5;
  205. }
  206. }
  207. // content1
  208. #content1 {
  209. display: grid;
  210. grid-template-columns: 1fr 1fr;
  211. margin: 0 auto;
  212. padding-top: 150px;
  213. width: 90vw;
  214. position: relative;
  215. grid-gap: 30px;
  216. .hr2 {
  217. position: absolute;
  218. width: 32vw;
  219. height: 1px !important;
  220. left: 5vw;
  221. }
  222. .content1-left {
  223. width: 45vw;
  224. text-align: left;
  225. margin: 0px auto;
  226. padding-right: 50px;
  227. .contant-toggle {
  228. color: $toggle !important;
  229. }
  230. .contant-toggle2 {
  231. color: $title-color !important;
  232. }
  233. .title {
  234. margin: 0;
  235. padding: 10px;
  236. margin-bottom: 50px;
  237. font-weight: 900;
  238. font-size: 45px;
  239. font-family: "Noto Serif TC", serif;
  240. color: $title-color;
  241. padding-left: 5vw;
  242. }
  243. .left {
  244. display: grid;
  245. grid-template-columns: 1.5fr 3fr;
  246. width: 37vw;
  247. .title1 {
  248. text-align: center;
  249. font-size: 90px;
  250. font-weight: 400;
  251. font-family: "Times New Roman", Times, serif;
  252. color: #8593a4;
  253. padding-left: 3vw;
  254. }
  255. .text1,
  256. .text2,
  257. .text3 {
  258. margin: auto 0;
  259. .text-1,
  260. .text-2,
  261. .text-3 {
  262. font-size: 23px;
  263. font-weight: bolder;
  264. // color: $title-color;
  265. }
  266. }
  267. }
  268. }
  269. .content1-right {
  270. width: 35vw;
  271. text-align: center;
  272. .slick-dots {
  273. margin-bottom: 50px;
  274. ::before {
  275. color: #fff;
  276. }
  277. }
  278. img {
  279. width: 35vw;
  280. height: 40vw;
  281. object-fit: cover;
  282. }
  283. }
  284. }
  285. // service
  286. #service {
  287. width: 100vw;
  288. h1 {
  289. padding: 15px;
  290. padding-left: 10vw;
  291. margin-bottom: 80px;
  292. padding-top: 5vw;
  293. }
  294. .service-box {
  295. width: 80vw;
  296. margin: 0 auto;
  297. #service-text {
  298. display: grid;
  299. grid-template-columns: 1fr 1fr;
  300. margin: 3vw auto;
  301. width: 70vw;
  302. #text-left,
  303. #text-right {
  304. width: 40vw;
  305. text-align: left;
  306. display: grid;
  307. grid-template-columns: 1fr 1fr;
  308. .img-icon {
  309. width: 12vw;
  310. }
  311. }
  312. .icon-text {
  313. width: 30vw;
  314. margin-top: 15px;
  315. font-weight: 600;
  316. }
  317. img {
  318. width: 128px;
  319. height: 128px;
  320. // filter: invert(69%) sepia(15%) saturate(301%) hue-rotate(175deg) brightness(90%) contrast(85%);
  321. }
  322. .text-p {
  323. font-size: 18px;
  324. color: #000;
  325. }
  326. }
  327. #service-img {
  328. width: 75vw;
  329. display: grid;
  330. grid-template-columns: 1fr 1fr;
  331. grid-gap: 10px;
  332. img {
  333. width: 38vw;
  334. object-fit: cover;
  335. }
  336. }
  337. }
  338. .btn {
  339. text-align: center;
  340. margin-bottom: 100px;
  341. margin-top: 50px;
  342. }
  343. }
  344. // service-process
  345. #service-process {
  346. background-color: #f7f7f7;
  347. padding-bottom: 150px;
  348. h1 {
  349. padding: 15px;
  350. margin-left: 10vw;
  351. padding-top: 100px;
  352. margin-bottom: 80px;
  353. }
  354. #process-box {
  355. display: grid;
  356. grid-template-columns: repeat(6, 1fr);
  357. width: 82vw;
  358. margin: 0 auto;
  359. .box {
  360. width: 14vw;
  361. .box-text {
  362. font-family: 微軟正黑體;
  363. text-align: center;
  364. font-size: 17px;
  365. font-weight: 900;
  366. padding-right: 2.8vw;
  367. color: $process;
  368. }
  369. }
  370. img {
  371. width: 13.5vw;
  372. height: 13.5vw;
  373. filter: invert(42%) sepia(12%) saturate(490%) hue-rotate(347deg) brightness(89%) contrast(86%);
  374. }
  375. }
  376. }
  377. // feedback
  378. #feedback {
  379. width: 100vw;
  380. padding-bottom: 200px;
  381. h1 {
  382. margin-top: 50px;
  383. margin-bottom: 50px;
  384. }
  385. #feedback-box {
  386. width: 80vw;
  387. margin: 0 auto;
  388. display: grid;
  389. grid-template-columns: repeat(3, 1fr);
  390. .box {
  391. width: 25vw;
  392. transition: 0.5s;
  393. text-align: center;
  394. padding-bottom: 1vw;
  395. position: relative;
  396. .play {
  397. position: absolute;
  398. left: 12vw !important;
  399. top: 5vw !important;
  400. width: 3vw;
  401. height: 3vw;
  402. opacity: 0.8;
  403. z-index: 10;
  404. }
  405. img {
  406. width: 25vw;
  407. margin: 0 auto;
  408. object-fit: cover;
  409. transition: 0.5s;
  410. // &:hover {
  411. // width: 400px;
  412. // height: 200px;
  413. // }
  414. }
  415. p {
  416. text-align: center;
  417. font-size: 18px;
  418. font-weight: 600;
  419. margin: 10px;
  420. }
  421. }
  422. }
  423. }
  424. #contact-us {
  425. margin: 0 auto;
  426. background: #fafafa;
  427. position: relative;
  428. padding-bottom: 5vw;
  429. .navbar{
  430. img{
  431. width: 180px;
  432. }
  433. }
  434. #sec-contact {
  435. width: 90vw;
  436. margin: 0 auto;
  437. background: #fff;
  438. box-shadow: 0 3px 1px -2px rgba(0,0,0,0.2), 0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12);
  439. }
  440. .contact-text {
  441. margin: 0 auto;
  442. width: 68vw;
  443. .text-p {
  444. font-size: 16px;
  445. font-weight: 600;
  446. }
  447. }
  448. .form-title {
  449. margin: 0 auto;
  450. text-align: center;
  451. h1 {
  452. text-align: center;
  453. font-size: 1.75rem;
  454. font-weight: 900;
  455. }
  456. p {
  457. font-size: 18px;
  458. }
  459. }
  460. #contact-form {
  461. width: 50%;
  462. margin: 0 auto;
  463. padding: 24px;
  464. #loc,
  465. #h_class,
  466. #modal,
  467. #budget,
  468. #size,
  469. #style,
  470. #datepicker,
  471. #email,
  472. #name,
  473. #phone,
  474. #gender {
  475. width: 100%;
  476. height: 50px;
  477. margin: 20px 0;
  478. border: 1px solid rgba(0, 0, 0, 0.3);
  479. padding: .375rem .75rem;
  480. font-size: 1rem;
  481. border-radius: 3px;
  482. appearance: none;
  483. background: url(./img/icondown.webp) 99% 50% no-repeat scroll transparent;
  484. background-size: 10px 10px;
  485. background-color: #fff;
  486. }
  487. #form-left {
  488. // #rooms,
  489. // #livingroom,
  490. // #bathroom {
  491. // width: 28.5%;
  492. // border: 1px solid rgba(0, 0, 0, 0.3);
  493. // height: 50px;
  494. // margin: 15px 0;
  495. // padding-right: 50px;
  496. // padding: 10px 15px;
  497. // font-size: 16px;
  498. // border-radius: 3px;
  499. // appearance: none;
  500. // background: url(./img/icondown.webp) 85% 50% no-repeat scroll transparent;
  501. // background-size: 10px 10px;
  502. // background-color: #fff;
  503. // }
  504. #datepicker {
  505. background: none;
  506. background-color: #fff;
  507. }
  508. }
  509. #fb-button {
  510. margin-top: 12px;
  511. width: 29vw;
  512. height: 50px;
  513. border: 1px solid #3b5998;
  514. text-align: right;
  515. padding-right: 60px;
  516. background-size: 32px 32px;
  517. border-radius: 3px;
  518. background-color: #fff;
  519. transition: 0.3s;
  520. position: relative;
  521. p {
  522. position: absolute;
  523. top: 1vw;
  524. left: 14vw;
  525. color: #626262;
  526. }
  527. #line {
  528. position: absolute;
  529. color: #9b9b9b;
  530. opacity: 0.8;
  531. left: 8vw;
  532. top: -0.1vw;
  533. }
  534. img {
  535. position: absolute;
  536. left: 50px;
  537. top: 10px;
  538. width: 32px;
  539. height: 32px;
  540. filter: invert(29%) sepia(70%) saturate(712%) hue-rotate(186deg) brightness(89%) contrast(81%);
  541. }
  542. &:hover {
  543. background-color: #2a4f91;
  544. color: #fff;
  545. img {
  546. filter: invert(100%) sepia(100%) saturate(19%) hue-rotate(334deg) brightness(106%) contrast(106%);
  547. }
  548. p {
  549. color: #fff;
  550. }
  551. #line {
  552. color: #fff;
  553. }
  554. }
  555. }
  556. a {
  557. text-decoration: none;
  558. color: #ee751b;
  559. font-weight: 900;
  560. }
  561. #email,
  562. #name,
  563. #phone {
  564. background: none;
  565. background-color: #fff;
  566. }
  567. }
  568. .btn {
  569. width: 100%;
  570. margin: 16px auto;
  571. border: none;
  572. padding: 16px 12px;
  573. background: #ee7800;
  574. color: #fff;
  575. font-size: 20px;
  576. border-radius: .25rem;
  577. text-align: center;
  578. vertical-align: middle;
  579. &:hover {
  580. color: #fff;
  581. background-color: #745c54;
  582. }
  583. }
  584. .form-btn {
  585. text-align: center;
  586. position: relative;
  587. margin: 0 auto;
  588. #phone1 {
  589. position: absolute;
  590. left: 500px;
  591. }
  592. }
  593. }
  594. #footer {
  595. width: 100vw;
  596. background-color: #ebe6e2;
  597. color: #9f5000;
  598. text-align: center;
  599. font-size: 18px;
  600. line-height: 130px;
  601. a {
  602. text-decoration: none;
  603. color: #9f5000;
  604. }
  605. p {
  606. display: inline;
  607. }
  608. }
  609. .animation-h1 {
  610. animation-name: fade;
  611. animation-duration: 1s;
  612. animation-fill-mode: forwards;
  613. animation-delay: 0.5s;
  614. opacity: 0;
  615. @keyframes fade {
  616. from {
  617. transform: translateY(0px);
  618. }
  619. to {
  620. transform: translateY(20px);
  621. opacity: 1;
  622. }
  623. }
  624. }
  625. .animation-btn {
  626. animation-name: fade2;
  627. animation-duration: 1s;
  628. animation-fill-mode: forwards;
  629. animation-delay: 1s;
  630. opacity: 0;
  631. @keyframes fade2 {
  632. from {
  633. transform: translateY(0px);
  634. }
  635. to {
  636. transform: translateY(-10px);
  637. opacity: 1;
  638. }
  639. }
  640. }
  641. form label {
  642. display: inline-block;
  643. width: 100px;
  644. }
  645. form div {
  646. margin-bottom: 10px;
  647. }
  648. .error {
  649. color: red;
  650. margin-left: 5px;
  651. }
  652. label.error {
  653. display: inline;
  654. }