style.scss 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573
  1. body {
  2. overflow-x: hidden;
  3. }
  4. .main-container {
  5. display: flex;
  6. flex-direction: column;
  7. font-family: "Microsoft JhengHei", "微軟正黑體", sans-serif;
  8. img {
  9. image-rendering: -webkit-optimize-contrast;
  10. }
  11. .title {
  12. margin: 0;
  13. color: #0076a5;
  14. font-size: 35px;
  15. margin-bottom: 20px;
  16. font-weight: bold;
  17. @media (max-width: 991px) {
  18. text-align: center;
  19. }
  20. @media (max-width: 576px) {
  21. font-size: 27px;
  22. }
  23. }
  24. nav {
  25. padding: 10px 50px;
  26. display: flex;
  27. justify-content: space-around;
  28. box-shadow: 0px 0px 6px #969696;
  29. @media (max-width: 767px) {
  30. padding: 10px 0px;
  31. }
  32. .logo-box {
  33. width: 425px;
  34. display: flex;
  35. align-items: center;
  36. @media (max-width: 767px) {
  37. width: 100%;
  38. max-width: 350px;
  39. }
  40. img:first-child {
  41. width: 44%;
  42. }
  43. img:last-child {
  44. width: 50%;
  45. margin-left: 10px;
  46. }
  47. }
  48. ul {
  49. margin: 0;
  50. padding: 0;
  51. width: 60%;
  52. display: flex;
  53. align-items: center;
  54. justify-content: center;
  55. list-style: none;
  56. li {
  57. margin: 1%;
  58. a {
  59. text-decoration: none;
  60. color: black !important;
  61. font-weight: bold;
  62. &:hover {
  63. opacity: 0.7;
  64. }
  65. }
  66. }
  67. }
  68. }
  69. .navbar {
  70. position: sticky;
  71. top: 0;
  72. left: 0;
  73. z-index: 999;
  74. }
  75. .nav-link {
  76. cursor: pointer;
  77. }
  78. header {
  79. margin: 30px 0;
  80. display: flex;
  81. align-items: center;
  82. justify-content: space-around;
  83. @media (max-width: 767px) {
  84. flex-direction: column;
  85. }
  86. img:first-child {
  87. width: 30%;
  88. @media (max-width: 767px) {
  89. width: 50%;
  90. }
  91. }
  92. }
  93. .logo {
  94. display: flex;
  95. align-items: center;
  96. justify-content: end;
  97. @media (max-width: 767px) {
  98. margin: 0 10px;
  99. justify-content: center;
  100. }
  101. img:first-child {
  102. width: 30%;
  103. margin-right: 20px;
  104. @media (max-width: 767px) {
  105. width: 45%;
  106. }
  107. }
  108. img:last-child {
  109. width: 40%;
  110. @media (max-width: 767px) {
  111. width: 55%;
  112. }
  113. }
  114. // a {
  115. // text-decoration: none;
  116. // font-weight: bold;
  117. // h2 {
  118. // margin: 0;
  119. // color: #4653a2;
  120. // font-size: 50px;
  121. // text-shadow: 0px 0px 3px #fde301;
  122. // }
  123. // span {
  124. // color: #e7380d;
  125. // }
  126. // p {
  127. // margin: 0;
  128. // color: #009844;
  129. // font-size: 17px;
  130. // letter-spacing: 4px;
  131. // }
  132. // }
  133. }
  134. .banner {
  135. display: flex;
  136. align-items: center;
  137. justify-content: center;
  138. flex-direction: column;
  139. margin-top: 60px;
  140. img {
  141. width: 60%;
  142. height: auto;
  143. @media (max-width: 991px) {
  144. width: 90%;
  145. }
  146. }
  147. section {
  148. display: flex;
  149. align-items: center;
  150. justify-content: center;
  151. margin: 50px 0;
  152. img {
  153. width: 75px;
  154. height: 100%;
  155. margin-top: -50px;
  156. @media (max-width: 576px) {
  157. width: 60px;
  158. margin-left: -30px;
  159. }
  160. }
  161. p {
  162. margin-left: 15px;
  163. color: #0076a5;
  164. font-size: 45px;
  165. font-weight: bold;
  166. @media (max-width: 767px) {
  167. font-size: 30px;
  168. }
  169. @media (max-width: 576px) {
  170. margin-left: 0px;
  171. font-size: 22px;
  172. }
  173. }
  174. }
  175. }
  176. .metaverse {
  177. margin: auto;
  178. width: 1080px;
  179. max-width: 100%;
  180. @media (min-width: 991px) {
  181. &:hover {
  182. .bg-img {
  183. background-color: rgba(0, 0, 0, 0.6);
  184. background-blend-mode: multiply;
  185. a {
  186. opacity: 1;
  187. }
  188. }
  189. }
  190. }
  191. @media (max-width: 991px) {
  192. padding: 0 5%;
  193. .bg-img {
  194. background-color: rgba(0, 0, 0, 0.6);
  195. background-blend-mode: multiply;
  196. a {
  197. // 手機版直接顯示
  198. opacity: 1 !important;
  199. }
  200. }
  201. }
  202. .bg-img {
  203. position: relative;
  204. transition: all 0.5s;
  205. background-image: url("/img/圖層 2.png");
  206. height: 496px;
  207. background-repeat: no-repeat;
  208. background-size: cover;
  209. background-position: center;
  210. cursor: pointer;
  211. a {
  212. position: absolute;
  213. bottom: 50%;
  214. right: 50%;
  215. transform: translate(50%, 50%);
  216. transition: all 0.3s;
  217. background-color: #ff0101;
  218. padding: 15px 50px;
  219. color: #fff;
  220. letter-spacing: 2px;
  221. font-weight: bold;
  222. border-radius: 50px;
  223. opacity: 0;
  224. text-decoration: none;
  225. &:hover {
  226. background-color: #c80000;
  227. }
  228. @media (max-width: 475px) {
  229. padding: 10px 30px;
  230. }
  231. }
  232. }
  233. }
  234. .directions {
  235. margin: auto;
  236. display: flex;
  237. max-width: 900px;
  238. font-weight: bold;
  239. @media (max-width: 991px) {
  240. flex-direction: column;
  241. align-items: center;
  242. }
  243. @media (max-width: 767px) {
  244. margin: 0px 5%;
  245. }
  246. img {
  247. width: 50%;
  248. margin-left: -100px;
  249. object-fit: cover;
  250. @media (max-width: 991px) {
  251. width: 65%;
  252. margin-left: 0px;
  253. }
  254. }
  255. div {
  256. width: 70%;
  257. margin-left: 35px;
  258. @media (max-width: 991px) {
  259. width: 90%;
  260. margin: 0px 20px;
  261. }
  262. ul {
  263. margin: 0;
  264. padding: 0;
  265. list-style: none;
  266. li {
  267. line-height: 1.5;
  268. letter-spacing: 1px;
  269. &:last-child {
  270. margin-top: 20px;
  271. }
  272. a {
  273. color: #000;
  274. }
  275. }
  276. }
  277. }
  278. }
  279. .time-form {
  280. margin: auto;
  281. display: flex;
  282. flex-direction: column;
  283. justify-content: center;
  284. align-items: center;
  285. margin: 100px 0;
  286. img {
  287. width: 80%;
  288. margin-top: 25px;
  289. @media (max-width: 991px) {
  290. width: 95%;
  291. }
  292. }
  293. }
  294. .video-content {
  295. display: flex;
  296. justify-content: center;
  297. align-items: center;
  298. margin: 150px 10% 50px;
  299. @media (max-width: 991px) {
  300. padding: 0 5%;
  301. flex-direction: column;
  302. margin: 150px 0 50px;
  303. }
  304. img {
  305. width: 70%;
  306. height: 300px;
  307. object-fit: cover;
  308. object-position: left;
  309. }
  310. .img-box {
  311. display: flex;
  312. flex-direction: column;
  313. justify-content: center;
  314. align-items: center;
  315. width: 50%;
  316. height: 26.15vw;
  317. overflow: hidden;
  318. background-image: url("/img/Group 34.png");
  319. background-position: 10px 60px;
  320. background-repeat: no-repeat;
  321. background-size: cover;
  322. @media (max-width: 991px) {
  323. width: 100%;
  324. height: 100%;
  325. background-image: none;
  326. }
  327. }
  328. .video-box {
  329. position: relative;
  330. width: 70%;
  331. height: 0;
  332. padding-bottom: 33%;
  333. @media (max-width: 991px) {
  334. width: 100%;
  335. padding-bottom: 56.5%;
  336. }
  337. iframe {
  338. position: absolute;
  339. top: 0;
  340. left: 0;
  341. width: 100%;
  342. height: 100%;
  343. }
  344. }
  345. }
  346. .content {
  347. padding: 0 10%;
  348. @media (max-width: 991px) {
  349. padding: 0 5%;
  350. }
  351. img {
  352. width: 50%;
  353. height: auto;
  354. @media (max-width: 991px) {
  355. width: 100%;
  356. }
  357. }
  358. .box {
  359. width: 100%;
  360. display: flex;
  361. align-items: center;
  362. justify-content: space-between;
  363. margin-bottom: 50px;
  364. @media (max-width: 991px) {
  365. flex-direction: column;
  366. &:nth-child(even) {
  367. flex-direction: column-reverse;
  368. }
  369. }
  370. div {
  371. display: flex;
  372. flex-direction: column;
  373. margin: 0 50px;
  374. &:nth-child(even) {
  375. align-items: flex-start;
  376. }
  377. &:nth-child(odd) {
  378. align-items: flex-end;
  379. p {
  380. text-align: end;
  381. }
  382. }
  383. @media (max-width: 991px) {
  384. width: 100%;
  385. margin-bottom: 40px;
  386. text-align: center;
  387. &:nth-child(even) {
  388. align-items: center;
  389. }
  390. &:nth-child(odd) {
  391. align-items: center;
  392. p {
  393. text-align: center;
  394. }
  395. }
  396. }
  397. }
  398. h4 {
  399. font-size: 35px;
  400. font-weight: bold;
  401. color: #ff0101;
  402. margin-bottom: 30px;
  403. letter-spacing: 2px;
  404. @media (max-width: 991px) {
  405. margin-bottom: 0px;
  406. }
  407. }
  408. p {
  409. width: 100%;
  410. font-weight: bold;
  411. letter-spacing: 1px;
  412. line-height: 1.5;
  413. @media (max-width: 991px) {
  414. width: 100%;
  415. margin: 20px 0;
  416. }
  417. }
  418. .video-box {
  419. position: relative;
  420. width: 53%;
  421. height: 0;
  422. padding-bottom: 30%;
  423. @media (max-width: 991px) {
  424. width: 100%;
  425. padding-bottom: 56%;
  426. }
  427. iframe {
  428. position: absolute;
  429. top: 0;
  430. left: 0;
  431. width: 100%;
  432. height: 100%;
  433. }
  434. }
  435. }
  436. }
  437. .faq-content {
  438. padding: 0 10%;
  439. letter-spacing: 1px;
  440. margin: 100px 0;
  441. @media (max-width: 991px) {
  442. padding: 0 5%;
  443. }
  444. h3,
  445. p {
  446. font-size: 22px;
  447. font-weight: bold;
  448. letter-spacing: 1px;
  449. @media (max-width: 576px) {
  450. font-size: 17px;
  451. }
  452. }
  453. .accordion-button {
  454. display: block;
  455. border-radius: 50px;
  456. &:focus {
  457. box-shadow: none;
  458. }
  459. }
  460. .accordion-button,
  461. .accordion-button:not(.collapsed) {
  462. color: #fff;
  463. background-color: #ff0000;
  464. }
  465. .accordion-item {
  466. border: none;
  467. }
  468. .accordion-item:last-of-type .accordion-button.collapsed {
  469. border-radius: 50px;
  470. }
  471. .accordion-body {
  472. ul {
  473. list-style: none;
  474. padding: 0;
  475. li {
  476. margin: 20px 0;
  477. span {
  478. font-weight: bold;
  479. }
  480. a {
  481. color: #6d6d6d;
  482. font-weight: bold;
  483. &:hover {
  484. opacity: 0.6;
  485. }
  486. }
  487. }
  488. }
  489. }
  490. }
  491. #container-5 {
  492. margin-bottom: 130px;
  493. }
  494. footer {
  495. display: flex;
  496. justify-content: space-around;
  497. position: relative;
  498. padding: 50px 0;
  499. @media (max-width: 991px) {
  500. flex-direction: column;
  501. align-items: center;
  502. }
  503. .bg-img {
  504. background-image: url("/img/875.png");
  505. background-repeat: no-repeat;
  506. background-size: cover;
  507. position: absolute;
  508. width: 100vw;
  509. height: 165%;
  510. bottom: 0px;
  511. left: 0;
  512. right: 0;
  513. z-index: -1;
  514. @media (max-width: 991px) {
  515. height: 140%;
  516. background-position: top;
  517. }
  518. }
  519. .logo-img {
  520. margin: auto 0;
  521. @media (max-width: 991px) {
  522. margin-bottom: 35px;
  523. }
  524. img {
  525. width: 70%;
  526. margin-left: 20%;
  527. @media (max-width: 991px) {
  528. width: 60%;
  529. }
  530. }
  531. }
  532. .list {
  533. width: 100%;
  534. max-width: 220px;
  535. border-left: 1px solid #707070;
  536. @media (max-width: 991px) {
  537. border-left: none;
  538. }
  539. ul {
  540. list-style: none;
  541. padding-left: 30%;
  542. @media (max-width: 991px) {
  543. margin: 0;
  544. padding-left: 25%;
  545. }
  546. li {
  547. margin-bottom: 10px;
  548. a {
  549. color: #000;
  550. text-decoration: none;
  551. cursor: pointer;
  552. &:hover {
  553. opacity: 0.6;
  554. }
  555. }
  556. }
  557. }
  558. }
  559. .text {
  560. margin: auto 40px 0px 0px;
  561. font-size: 35px;
  562. font-weight: bold;
  563. color: #0076a5;
  564. @media (max-width: 991px) {
  565. margin: 30px 0 0;
  566. }
  567. @media (max-width: 475px) {
  568. font-size: 25px;
  569. }
  570. }
  571. }
  572. }