style.scss 15 KB

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