style.scss 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405
  1. /* Reset CSS */
  2. html,
  3. body,
  4. div,
  5. span,
  6. applet,
  7. object,
  8. iframe,
  9. h1,
  10. h2,
  11. h3,
  12. h4,
  13. h5,
  14. h6,
  15. p,
  16. blockquote,
  17. pre,
  18. a,
  19. abbr,
  20. acronym,
  21. address,
  22. big,
  23. cite,
  24. code,
  25. del,
  26. dfn,
  27. em,
  28. img,
  29. ins,
  30. kbd,
  31. q,
  32. s,
  33. samp,
  34. small,
  35. strike,
  36. strong,
  37. sub,
  38. sup,
  39. tt,
  40. var,
  41. b,
  42. u,
  43. i,
  44. center,
  45. dl,
  46. dt,
  47. dd,
  48. ol,
  49. ul,
  50. li,
  51. fieldset,
  52. form,
  53. label,
  54. legend,
  55. table,
  56. caption,
  57. tbody,
  58. tfoot,
  59. thead,
  60. tr,
  61. th,
  62. td,
  63. article,
  64. aside,
  65. canvas,
  66. details,
  67. embed,
  68. figure,
  69. figcaption,
  70. footer,
  71. header,
  72. hgroup,
  73. menu,
  74. nav,
  75. output,
  76. ruby,
  77. section,
  78. summary,
  79. time,
  80. mark,
  81. audio,
  82. video {
  83. margin: 0;
  84. padding: 0;
  85. border: 0;
  86. font-size: 100%;
  87. font: inherit;
  88. vertical-align: baseline;
  89. }
  90. /* HTML5 display-role reset for older browsers */
  91. article,
  92. aside,
  93. details,
  94. figcaption,
  95. figure,
  96. footer,
  97. header,
  98. hgroup,
  99. menu,
  100. nav,
  101. section {
  102. display: block;
  103. }
  104. body {
  105. line-height: 1;
  106. }
  107. ol,
  108. ul {
  109. list-style: none;
  110. }
  111. blockquote,
  112. q {
  113. quotes: none;
  114. }
  115. blockquote:before,
  116. blockquote:after,
  117. q:before,
  118. q:after {
  119. content: "";
  120. content: none;
  121. }
  122. table {
  123. border-collapse: collapse;
  124. border-spacing: 0;
  125. }
  126. /* Global Style */
  127. :root {
  128. --main-color: #000;
  129. --sub-color: #e47140;
  130. }
  131. img {
  132. max-width: 100%;
  133. height: auto;
  134. }
  135. h1 {
  136. background-image: url('/img/logo.svg');
  137. width: 100%;
  138. height: 60px;
  139. text-indent: 101%;
  140. white-space: nowrap;
  141. overflow: hidden;
  142. background-size: 270px;
  143. background-position: center;
  144. background-repeat: no-repeat;
  145. }
  146. video {
  147. width: 100%;
  148. height: auto;
  149. position: relative;
  150. z-index: 100;
  151. }
  152. body {
  153. font-family: "Source Sans 3", sans-serif;
  154. letter-spacing: 1px;
  155. }
  156. .banner-text {
  157. position: relative;
  158. @media (max-width: 767px) {
  159. display: flex;
  160. align-items: center;
  161. justify-content: center;
  162. }
  163. section {
  164. position: absolute;
  165. z-index: 100;
  166. top: 6vw;
  167. left: 5vw;
  168. color: #fff;
  169. text-align: center;
  170. @media (max-width: 1200px) {
  171. left: 3vw;
  172. }
  173. @media (max-width: 767px) {
  174. padding: 0 5px;
  175. top: unset;
  176. left: unset;
  177. }
  178. h2 {
  179. font-size: 50px;
  180. font-weight: 500;
  181. line-height: 66px;
  182. margin-bottom: 40px;
  183. @media (max-width: 1200px) {
  184. font-size: 40px;
  185. line-height: 60px;
  186. margin-bottom: 20px;
  187. }
  188. @media (max-width: 991px) {
  189. font-size: 38px;
  190. line-height: 44px;
  191. margin-bottom: 10px;
  192. }
  193. @media (max-width: 767px) {
  194. margin-bottom: 30px;
  195. span {
  196. font-size: 26px;
  197. }
  198. }
  199. @media (max-width: 575px) {
  200. font-size: 30px;
  201. line-height: 30px;
  202. span {
  203. font-size: 20px;
  204. }
  205. }
  206. }
  207. p {
  208. font-size: 24px;
  209. font-weight: 400;
  210. line-height: 34px;
  211. max-width: 870px;
  212. @media (max-width: 1200px) {
  213. font-size: 20px;
  214. max-width: 740px;
  215. }
  216. @media (max-width: 991px) {
  217. font-size: 18px;
  218. max-width: 670px;
  219. line-height: 28px;
  220. }
  221. @media (max-width: 767px) {
  222. max-width: 100%;
  223. }
  224. @media (max-width: 575px) {
  225. font-size: 16px;
  226. line-height: 20px;
  227. }
  228. }
  229. }
  230. }
  231. .content {
  232. padding: 150px 0 200px;
  233. margin-top: -3px;
  234. position: relative;
  235. background-image: linear-gradient(to bottom, #040203 0%, #101d32ff 100%);
  236. overflow: hidden;
  237. @media (max-width: 767px) {
  238. padding: 100px 0 150px;
  239. }
  240. .top-bg,
  241. .bottom-bg {
  242. width: 100vw;
  243. position: absolute;
  244. }
  245. .top-bg {
  246. top: -25vw;
  247. }
  248. .bottom-bg {
  249. bottom: 0;
  250. }
  251. .title {
  252. display: flex;
  253. justify-content: center;
  254. margin: 90px auto;
  255. h2 {
  256. color: #fff;
  257. text-align: center;
  258. font-size: 46px;
  259. @media (max-width: 575px) {
  260. font-size: 36px;
  261. }
  262. &::before {
  263. content: "";
  264. display: block;
  265. width: 285px;
  266. height: 1px;
  267. position: relative;
  268. top: -10px;
  269. left: -25px;
  270. background-color: #fff;
  271. }
  272. &::after {
  273. content: "";
  274. display: block;
  275. width: 285px;
  276. height: 1px;
  277. position: relative;
  278. top: 10px;
  279. right: -25px;
  280. background-color: #fff;
  281. }
  282. }
  283. img {
  284. width: 350px;
  285. @media (max-width: 767px) {
  286. width: 250px;
  287. }
  288. }
  289. }
  290. .img-block,
  291. .video-block {
  292. position: relative;
  293. z-index: 10;
  294. }
  295. .img-block {
  296. max-height: 300px;
  297. transition: max-height 1s ease;
  298. overflow: hidden;
  299. img {
  300. width: 100%;
  301. height: 185px;
  302. object-fit: cover;
  303. @media (max-width: 767px) {
  304. height: 120px;
  305. }
  306. }
  307. }
  308. .video-block {
  309. h3 {
  310. margin-bottom: 10px;
  311. text-align: center;
  312. color: #fff;
  313. font-size: 26px;
  314. }
  315. section {
  316. overflow: hidden;
  317. .cover-img {
  318. transition: all 0.5s;
  319. &:hover {
  320. transform: scale(1.1);
  321. }
  322. }
  323. span {
  324. display: block;
  325. position: relative;
  326. &:hover {
  327. .cover-img {
  328. transform: scale(1.1);
  329. }
  330. }
  331. }
  332. }
  333. .play-icon {
  334. position: absolute;
  335. width: 25%;
  336. left: 50%;
  337. top: 50%;
  338. transform: translate(-50%, -50%);
  339. z-index: 100;
  340. }
  341. }
  342. .coming-block {
  343. img {
  344. width: 100%;
  345. object-fit: cover;
  346. object-position: top;
  347. }
  348. }
  349. .dropdown {
  350. width: 40px;
  351. position: relative;
  352. top: 0;
  353. transition: all 0.3s;
  354. cursor: pointer;
  355. filter: invert(100%) sepia(92%) saturate(1%) hue-rotate(247deg) brightness(108%) contrast(99%);
  356. &:hover {
  357. top: 5px;
  358. }
  359. }
  360. .dropdown-rotate {
  361. transform: rotate(180deg);
  362. }
  363. .show {
  364. max-height: 2800px !important;
  365. }
  366. }
  367. .media-btn {
  368. display: flex;
  369. flex-direction: column;
  370. position: fixed;
  371. right: 15px;
  372. bottom: 10px;
  373. img {
  374. width: 45px;
  375. transition: all .3s;
  376. &:hover {
  377. opacity: .8;
  378. }
  379. }
  380. }
  381. footer {
  382. position: relative;
  383. display: flex;
  384. justify-content: center;
  385. h3 {
  386. position: absolute;
  387. bottom: 10px;
  388. z-index: 10;
  389. color: #fff;
  390. font-size: 14px;
  391. }
  392. }