style.scss 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588
  1. @font-face {
  2. font-family: 'AudiType';
  3. src: url('/fonts/AudiTypeVF.woff2') format('woff2-variations');
  4. font-display: swap;
  5. font-style: normal;
  6. font-stretch: 130%;
  7. }
  8. // Utility classes for padding and margin (1-100)
  9. @for $i from 0 through 200 {
  10. // Padding
  11. .pt--#{$i} { padding-top: #{$i}px !important; }
  12. .pr--#{$i} { padding-right: #{$i}px !important; }
  13. .pb--#{$i} { padding-bottom: #{$i}px !important; }
  14. .pl--#{$i} { padding-left: #{$i}px !important; }
  15. .p--#{$i} { padding: #{$i}px !important; }
  16. // Margin
  17. .mt--#{$i} { margin-top: #{$i}px !important; }
  18. .mr--#{$i} { margin-right: #{$i}px !important; }
  19. .mb--#{$i} { margin-bottom: #{$i}px !important; }
  20. .ml--#{$i} { margin-left: #{$i}px !important; }
  21. .m--#{$i} { margin: #{$i}px !important; }
  22. }
  23. body{
  24. background-color: hsla(216, 23%, 8%, 1);
  25. color: rgb(252, 252, 253);
  26. font-family: 'AudiType';
  27. font-weight: 400;
  28. }
  29. *{
  30. background-repeat: no-repeat;
  31. }
  32. .ico, ::after, ::before{
  33. display: inline-block;
  34. background-repeat: no-repeat;
  35. background-position: center;
  36. }
  37. button{
  38. cursor: pointer;
  39. }
  40. header{
  41. width: 100%;
  42. .header--wrap{
  43. background-color: #020203;
  44. max-width: 1920px;
  45. width: 100%;
  46. margin: 0 auto;
  47. height: 72px;
  48. padding: 0 96px;
  49. display: flex;
  50. align-items: center;
  51. }
  52. .header--logo--wrap{
  53. margin-right: 40px;
  54. }
  55. .header--menu--wrap{
  56. display: flex;
  57. gap: 24px;
  58. >a{
  59. color: #fcfcfdb2;
  60. &:hover{
  61. color: hsla(216, 33%, 99%, 1);
  62. }
  63. }
  64. }
  65. .header--search--wrap{
  66. margin-left: auto;
  67. .search--btn{
  68. border-radius: 50%;
  69. padding: 0;
  70. background-image: url(/img/ico--search.svg);
  71. background-repeat: no-repeat;
  72. background-position: center;
  73. background-color: transparent;
  74. width: 48px;
  75. height: 48px;
  76. }
  77. }
  78. }
  79. footer{
  80. width: 100%;
  81. .footer--wrap{
  82. background-color: #020203;
  83. max-width: 1920px;
  84. width: 100%;
  85. margin: 0 auto;
  86. height: 72px;
  87. padding: 0 96px;
  88. display: flex;
  89. align-items: center;
  90. }
  91. }
  92. main{
  93. .visual--section{
  94. position: relative;
  95. margin: 0 auto;
  96. max-width: 1920px;
  97. width: 100%;
  98. &::after{
  99. content: '';
  100. width: 100%;
  101. position: absolute;
  102. height: 100%;
  103. background: linear-gradient(rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 50%);
  104. top: 0;
  105. left: 0;
  106. }
  107. &.h--800{
  108. .img--wrap{
  109. height: 800px;
  110. }
  111. }
  112. .img--wrap{
  113. overflow: hidden;
  114. height: 100vh;
  115. img{
  116. width: 100%;
  117. max-width: 100%;
  118. height: 100%;
  119. object-fit: cover;
  120. }
  121. }
  122. .title--wrap{
  123. position: absolute;
  124. z-index: 3;
  125. top: 0;
  126. left: 0;
  127. color: rgb(2, 2, 3);
  128. padding: 40px 96px;
  129. >h2{
  130. font-size: 44px;
  131. margin-bottom: 8px;
  132. }
  133. >p{
  134. font-size: 20px;
  135. }
  136. &.color--white{
  137. color: #fcfcfd;
  138. }
  139. }
  140. .desc--wrap{
  141. .desc{
  142. font-size: 12px;
  143. color: rgba(252, 252, 253, 0.7);
  144. padding: 24px 96px;
  145. }
  146. }
  147. }
  148. // audi stories
  149. .detail--container{
  150. max-width: 1920px;
  151. width: 100%;
  152. margin: 0 auto;
  153. .title--wrap{
  154. padding: 40px;
  155. text-align: center;
  156. h2{
  157. font-size: 72px;
  158. margin-bottom: 24px;
  159. }
  160. p{
  161. color: rgba(252, 252, 253, 0.7);
  162. font-size: 16px;
  163. }
  164. }
  165. .content--wrap{
  166. padding: 40px 88px;
  167. .tech--card--wrap{
  168. display: flex;
  169. row-gap: 72px;
  170. column-gap: 16px;
  171. flex-wrap: wrap;
  172. .tech--card{
  173. width: calc((100% - 48px) / 4);
  174. display: flex;
  175. flex-direction: column;
  176. .img--wrap{
  177. margin-bottom: 24px;
  178. border-radius: 20px;
  179. overflow: hidden;
  180. >img{
  181. width: 100%;
  182. aspect-ratio: 16 / 9;
  183. object-fit: cover;
  184. }
  185. }
  186. >h3{
  187. font-size: 24px;
  188. margin-bottom: 8px;
  189. }
  190. >p{
  191. margin-bottom: 24px;
  192. color: rgba(252, 252, 253, 0.7);
  193. font-size: 16px;
  194. font-stretch: 105%;
  195. &.type2{
  196. margin-top: 40px;
  197. color: rgba(252, 252, 253, 0.7);
  198. font-size: 14px;
  199. }
  200. }
  201. >a{
  202. display: flex;
  203. font-size: 16px;
  204. text-underline-offset: 7px;
  205. text-decoration: underline 1px rgb(252, 252, 253);
  206. align-items: center;
  207. .ico{
  208. width: 24px;
  209. height: 24px;
  210. background-image: url(/img/ico--arrow.svg);
  211. }
  212. }
  213. }
  214. }
  215. .ls--card--wrap{
  216. .ls--card{
  217. display: flex;
  218. gap: 72px;
  219. align-items: center;
  220. .ls--img--wrap{
  221. width: 50%;
  222. overflow: hidden;
  223. border-radius: 20px;
  224. }
  225. .ls--txt--wrap{
  226. width: 50%;
  227. >h2{
  228. font-size: 36px;
  229. margin-bottom: 8px;
  230. }
  231. >h3{
  232. font-size: 24px;
  233. margin-bottom: 8px;
  234. }
  235. >p{
  236. font-size: 16px;
  237. color: rgba(252, 252, 253, 0.7);
  238. margin-bottom: 24px;
  239. &.desc{
  240. margin-top: 40px;
  241. font-size: 14px;
  242. margin-bottom: 0;
  243. }
  244. }
  245. }
  246. }
  247. }
  248. }
  249. .img--section{
  250. .img--wrap{
  251. overflow: hidden;
  252. border-radius: 20px;
  253. img{
  254. width: 100%;
  255. display: block;
  256. }
  257. video{
  258. width: 100%;
  259. height: 100%;
  260. display: block;
  261. object-fit: cover;
  262. }
  263. }
  264. &.none--bdrs{
  265. .img--wrap{
  266. border-radius: 0;
  267. }
  268. }
  269. &.type2{
  270. display: flex;
  271. gap: 16px;
  272. .img--box{
  273. width: 50%;
  274. }
  275. }
  276. &.type3{
  277. display: flex;
  278. gap: 16px;
  279. .img--box{
  280. &:first-child{
  281. width: 35%;
  282. }
  283. &:last-child{
  284. width: 70%;
  285. }
  286. }
  287. }
  288. .desc--wrap{
  289. margin-top: 24px;
  290. font-size: 16px;
  291. color: #fcfcfdb2;
  292. .desc{
  293. font-size: 12px;
  294. }
  295. }
  296. }
  297. .title--section{
  298. text-align: center;
  299. padding: 64px 96px;
  300. &.mid--type{
  301. max-width: 1440px;
  302. margin: 0 auto;
  303. }
  304. >h2{
  305. margin-bottom: 24px;
  306. font-size: 44px;
  307. &.big--title{
  308. font-size: 72px;
  309. }
  310. }
  311. >h3{
  312. font-size: 24px;
  313. margin-bottom: 24px;
  314. &.big--title{
  315. font-size: 36px;
  316. }
  317. }
  318. >p{
  319. color: rgba(252, 252, 253, 0.7);
  320. font-size: 16px;
  321. &.desc{
  322. color: rgba(252, 252, 253, 0.7);
  323. font-size: 14px;
  324. }
  325. }
  326. }
  327. .desc--section{
  328. padding: 64px 96px;
  329. margin: 0 auto;
  330. max-width: 950px;
  331. >h2{
  332. font-size: 72px;
  333. }
  334. >h3{
  335. &.big--title{
  336. font-size: 44px;
  337. }
  338. font-size: 36px;
  339. margin-bottom: 40px;
  340. }
  341. >h4{
  342. font-size: 24px;
  343. }
  344. >p{
  345. margin: 0 auto;
  346. color: rgba(252, 252, 253, 0.7);
  347. font-size: 16px;
  348. }
  349. &.mid--type{
  350. max-width: 1440px;
  351. }
  352. &.full--type{
  353. width: 100%;
  354. max-width: 100%;
  355. >h3{
  356. margin-bottom: 16px;
  357. }
  358. >ul{
  359. display: flex;
  360. flex-direction: column;
  361. gap: 24px;
  362. >li{
  363. font-size: 24px;
  364. }
  365. }
  366. }
  367. }
  368. .img--desc--section{
  369. display: flex;
  370. padding: 64px 0;
  371. &.mid--type{
  372. margin: 0 auto;
  373. max-width: 1248px;
  374. .desc--wrap{
  375. padding-right: 0;
  376. }
  377. }
  378. &.reverse{
  379. flex-direction: row-reverse;
  380. .desc--wrap{
  381. padding-right: 72px;
  382. }
  383. }
  384. .img--wrap{
  385. width: 50%;
  386. border-radius: 20px;
  387. overflow: hidden;
  388. img{
  389. width: 100%;
  390. height: 100%;
  391. object-fit: cover;
  392. }
  393. &.type2{
  394. }
  395. }
  396. .desc--wrap{
  397. width: 50%;
  398. display: flex;
  399. flex-direction: column;
  400. justify-content: center;
  401. padding: 0 72px;
  402. h3{
  403. font-size: 36px;
  404. margin-bottom: 8px;
  405. }
  406. h4{
  407. font-size: 24px;
  408. }
  409. p{
  410. font-size: 16px;
  411. color: rgba(252, 252, 253, 0.7);
  412. &.desc{
  413. font-size: 12px;
  414. }
  415. }
  416. }
  417. &.type2{
  418. .inner--box{
  419. width: 50%;
  420. .img--wrap{
  421. width: 100%;
  422. }
  423. .desc{
  424. margin-top: 12px;
  425. color: rgba(252, 252, 253, 0.7);
  426. font-size: 14px;
  427. }
  428. }
  429. }
  430. }
  431. .more--section{
  432. margin-top: 100px;
  433. >h2{
  434. font-size: 44px;
  435. margin-bottom: 40px;
  436. }
  437. .tech--card--wrap{
  438. display: flex;
  439. column-gap: 16px;
  440. .tech--card{
  441. width: calc((100% - 48px) / 4);
  442. display: flex;
  443. flex-direction: column;
  444. .img--wrap{
  445. margin-bottom: 24px;
  446. border-radius: 20px;
  447. overflow: hidden;
  448. >img{
  449. width: 100%;
  450. aspect-ratio: 16 / 9;
  451. object-fit: cover;
  452. }
  453. }
  454. >h3{
  455. font-size: 24px;
  456. margin-bottom: 8px;
  457. }
  458. >p{
  459. margin-bottom: 24px;
  460. color: rgba(252, 252, 253, 0.7);
  461. font-size: 16px;
  462. font-stretch: 105%;
  463. &.type2{
  464. margin-top: 40px;
  465. color: rgba(252, 252, 253, 0.7);
  466. font-size: 14px;
  467. }
  468. }
  469. >a{
  470. display: flex;
  471. font-size: 16px;
  472. text-underline-offset: 7px;
  473. text-decoration: underline 1px rgb(252, 252, 253);
  474. align-items: center;
  475. .ico{
  476. width: 24px;
  477. height: 24px;
  478. background-image: url(/img/ico--arrow.svg);
  479. }
  480. }
  481. }
  482. }
  483. &.type2{
  484. .tech--card--wrap{
  485. flex-wrap: wrap;
  486. row-gap: 40px;
  487. .tech--card{
  488. width: calc(50% - 8px);
  489. }
  490. }
  491. }
  492. &.type3{
  493. .tech--card--wrap{
  494. flex-wrap: wrap;
  495. row-gap: 40px;
  496. .tech--card{
  497. width: calc((100% - 32px) / 3);
  498. }
  499. }
  500. }
  501. }
  502. .caution--section{
  503. padding: 40px 0;
  504. ul{
  505. display: flex;
  506. flex-direction: column;
  507. gap: 12px;
  508. counter-reset: item;
  509. li{
  510. padding-left: 34px;
  511. color: rgba(252, 252, 253, 0.7);
  512. font-size: 16px;
  513. position: relative;
  514. &::before{
  515. content: counter(item) ". ";
  516. counter-increment: item;
  517. position: absolute;
  518. left: 16px;
  519. }
  520. }
  521. }
  522. }
  523. }
  524. }
  525. .more--btn{
  526. display: flex;
  527. font-size: 16px;
  528. text-underline-offset: 7px;
  529. text-decoration: underline 1px rgb(252, 252, 253);
  530. align-items: center;
  531. .ico{
  532. width: 24px;
  533. height: 24px;
  534. margin-left: 8px;
  535. background-image: url(/img/ico--link.svg);
  536. }
  537. }
  538. .btn--gray{
  539. transition: all 0.3s;
  540. width: fit-content;
  541. font-size: 14px;
  542. display: inline-block;
  543. font-weight: 400;
  544. padding: 12px 24px;
  545. color: rgb(252, 252, 253);
  546. border-radius: 100px;
  547. background-color: #657081;
  548. &:hover{
  549. background-color: rgb(44, 52, 63);
  550. box-shadow: rgba(219, 223, 230, 0.2) 0px 0px 0px 1px inset;
  551. }
  552. &.big--btn{
  553. font-size: 16px;
  554. padding: 16px 32px;
  555. width: 248px;
  556. }
  557. }
  558. .btn--border--gray{
  559. transition: all 0.3s;
  560. width: fit-content;
  561. font-size: 14px;
  562. display: inline-block;
  563. font-weight: 400;
  564. padding: 12px 24px;
  565. color: rgb(252, 252, 253);
  566. border-radius: 100px;
  567. background-color: #181d25;
  568. box-shadow: rgb(44, 52, 63) 0px 0px 0px 1px inset;
  569. &:hover{
  570. background-color: rgb(44, 52, 63);
  571. box-shadow: rgba(219, 223, 230, 0.2) 0px 0px 0px 1px inset;
  572. }
  573. &.big--btn{
  574. padding: 16px 32px;
  575. font-size: 16px;
  576. }
  577. }