style.scss 11 KB

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