style.scss 11 KB

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