style.scss 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288
  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 1 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. max-width: 1920px;
  94. width: 100%;
  95. margin: 0 auto;
  96. .title--wrap{
  97. padding: 40px;
  98. text-align: center;
  99. h2{
  100. font-size: 72px;
  101. margin-bottom: 24px;
  102. }
  103. p{
  104. color: rgba(252, 252, 253, 0.7);
  105. font-size: 16px;
  106. }
  107. }
  108. .content--wrap{
  109. padding: 40px 88px;
  110. .tech--card--wrap{
  111. display: flex;
  112. row-gap: 72px;
  113. column-gap: 16px;
  114. flex-wrap: wrap;
  115. .tech--card{
  116. width: calc((100% - 48px) / 4);
  117. display: flex;
  118. flex-direction: column;
  119. .img--wrap{
  120. margin-bottom: 24px;
  121. border-radius: 20px;
  122. overflow: hidden;
  123. >img{
  124. width: 100%;
  125. aspect-ratio: 16 / 9;
  126. object-fit: cover;
  127. }
  128. }
  129. >h3{
  130. font-size: 24px;
  131. margin-bottom: 8px;
  132. }
  133. >p{
  134. margin-bottom: 24px;
  135. color: rgba(252, 252, 253, 0.7);
  136. font-size: 16px;
  137. font-stretch: 105%;
  138. &.type2{
  139. margin-top: 40px;
  140. color: rgba(252, 252, 253, 0.7);
  141. font-size: 14px;
  142. }
  143. }
  144. >a{
  145. display: flex;
  146. font-size: 16px;
  147. text-underline-offset: 7px;
  148. text-decoration: underline 1px rgb(252, 252, 253);
  149. align-items: center;
  150. .ico{
  151. width: 24px;
  152. height: 24px;
  153. background-image: url(/img/ico--arrow.svg);
  154. }
  155. }
  156. }
  157. }
  158. }
  159. .detail--container{
  160. .img--section{
  161. .img--wrap{
  162. overflow: hidden;
  163. border-radius: 20px;
  164. img{
  165. width: 100%;
  166. display: block;
  167. }
  168. video{
  169. width: 100%;
  170. height: 100%;
  171. display: block;
  172. object-fit: cover;
  173. }
  174. }
  175. &.none--bdrs{
  176. .img--wrap{
  177. border-radius: 0;
  178. }
  179. }
  180. &.type2{
  181. display: flex;
  182. gap: 16px;
  183. .img--box{
  184. width: 50%;
  185. }
  186. }
  187. .desc--wrap{
  188. margin-top: 24px;
  189. font-size: 16px;
  190. }
  191. }
  192. .title--section{
  193. text-align: center;
  194. padding: 64px 96px;
  195. >h2{
  196. margin-bottom: 24px;
  197. font-size: 44px;
  198. }
  199. >h3{
  200. font-size: 24px;
  201. margin-bottom: 24px;
  202. }
  203. >p{
  204. color: rgba(252, 252, 253, 0.7);
  205. font-size: 14px;
  206. }
  207. }
  208. .desc--section{
  209. padding: 64px 96px;
  210. margin: 0 auto;
  211. max-width: 950px;
  212. >h3{
  213. font-size: 36px;
  214. margin-bottom: 40px;
  215. }
  216. >p{
  217. margin: 0 auto;
  218. color: rgba(252, 252, 253, 0.7);
  219. font-size: 16px;
  220. }
  221. &.full--type{
  222. width: 100%;
  223. max-width: 100%;
  224. >h3{
  225. margin-bottom: 16px;
  226. }
  227. >ul{
  228. display: flex;
  229. flex-direction: column;
  230. gap: 24px;
  231. >li{
  232. font-size: 24px;
  233. }
  234. }
  235. }
  236. }
  237. .img--desc--section{
  238. display: flex;
  239. padding: 64px 0;
  240. .img--wrap{
  241. width: 50%;
  242. border-radius: 20px;
  243. overflow: hidden;
  244. img{
  245. width: 100%;
  246. }
  247. }
  248. .desc--wrap{
  249. width: 50%;
  250. display: flex;
  251. flex-direction: column;
  252. justify-content: center;
  253. padding: 0 72px;
  254. h3{
  255. font-size: 36px;
  256. margin-bottom: 8px;
  257. }
  258. p{
  259. font-size: 16px;
  260. color: rgba(252, 252, 253, 0.7);
  261. }
  262. }
  263. }
  264. }
  265. }
  266. .btn--gray{
  267. transition: all 0.3s;
  268. width: fit-content;
  269. font-size: 14px;
  270. font-weight: 400;
  271. padding: 12px 24px;
  272. color: #fff;
  273. border-radius: 100px;
  274. background-color: rgb(101, 112, 129);
  275. &:hover{
  276. background-color: rgb(44, 52, 63);
  277. box-shadow: rgba(219, 223, 230, 0.2) 0px 0px 0px 1px inset;
  278. }
  279. }