style.scss 16 KB

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