tooplate-style.scss 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658
  1. @import url('https://fonts.googleapis.com/css?family=Maven+Pro:400,700');
  2. // VARIABLES
  3. $font-base: 'Maven Pro', sans-serif;
  4. $body-font-size: 18px;
  5. $h1-font-size: 2.8em;
  6. $h2-font-size: 2.4em;
  7. $font-weight-bold: bold;
  8. $font-weight-normal: normal;
  9. $font-weight-light: 300;
  10. $h1-font-color: #212121;
  11. $h2-font-color: #353535;
  12. $h3-font-color: #484848;
  13. $body-font-color: #5b5b5b;
  14. $text-white: #ffffff;
  15. $dark-mode-color: #0c0c0d;
  16. $main-color: #ffc200;
  17. $border-color: #f2f2f1;
  18. $button-color: #474559;
  19. $small-font-size: 14px;
  20. $link-font-size: 16px;
  21. @mixin transition-effect {
  22. transition: all 0.4s ease;
  23. }
  24. body {
  25. font-family: $font-base;
  26. padding-top: 70px;
  27. }
  28. .full-screen {
  29. padding: 8rem 0;
  30. }
  31. .small-text {
  32. color: $body-font-color;
  33. font-size: $small-font-size;
  34. font-weight: $font-weight-bold;
  35. padding: 8px 16px;
  36. border-radius: 50px;
  37. letter-spacing: 0.2px;
  38. }
  39. ul {
  40. margin: 0;
  41. padding: 0;
  42. li {
  43. list-style: none;
  44. }
  45. }
  46. a {
  47. font-size: $link-font-size;
  48. font-weight: $font-weight-normal;
  49. text-decoration: none !important;
  50. @include transition-effect;
  51. &:hover {
  52. color: $main-color !important;
  53. }
  54. }
  55. .navbar-brand {
  56. .uil {
  57. font-size: 40px;
  58. }
  59. }
  60. // TYPOGRAPHY
  61. p {
  62. font-size: $body-font-size;
  63. font-weight: $font-weight-light;
  64. line-height: 1.5;
  65. color: $body-font-color;
  66. }
  67. h1,h2,h3,h4,h5,h6 {
  68. font-weight: $font-weight-bold;
  69. letter-spacing: -1px;
  70. }
  71. h1 {
  72. color: $h1-font-color;
  73. font-size: $h1-font-size;
  74. margin: 24px 0;
  75. }
  76. h2 {
  77. color: $h2-font-color;
  78. font-size: $h2-font-size;
  79. font-weight: $font-weight-bold;
  80. }
  81. h3 {
  82. color: $h3-font-color;
  83. }
  84. h3,
  85. b, strong {
  86. font-weight: $font-weight-bold;
  87. }
  88. // CUSTOM BUTTON
  89. .custom-btn {
  90. color: $body-font-color;
  91. font-weight: $font-weight-bold;
  92. border-radius: 50px;
  93. padding: 13px 29px;
  94. font-size: $small-font-size;
  95. line-height: normal;
  96. overflow: hidden;
  97. @include transition-effect;
  98. &:hover {
  99. color: $main-color;
  100. }
  101. &.custom-btn-bg {
  102. background: $button-color;
  103. color: $text-white;
  104. &:hover {
  105. background: $main-color;
  106. color: $text-white !important;
  107. }
  108. }
  109. }
  110. // ANIMATED TEXT
  111. .animated {
  112. position: relative;
  113. }
  114. .animated-info {
  115. display: inline-block;
  116. vertical-align: top;
  117. margin-top: 10px;
  118. width: 250px;
  119. position: relative;
  120. }
  121. .animated-item {
  122. color: $main-color;
  123. }
  124. .animated-item {
  125. font-size: 32px;
  126. line-height: inherit;
  127. display: block;
  128. opacity: 0;
  129. overflow: hidden;
  130. position: absolute;
  131. top: 0;
  132. right: 0;
  133. left: 0;
  134. animation: BottomTotop 6s linear infinite 0s;
  135. &:nth-child(2n+2) {
  136. animation-delay: 2s;
  137. }
  138. &:nth-child(3n+3) {
  139. animation-delay: 4s;
  140. }
  141. }
  142. @keyframes BottomTotop {
  143. 0% { opacity: 0; }
  144. 5% { opacity: 0; transform: translateY(5px); }
  145. 10% { opacity: 1; transform: translateY(0px); }
  146. 25% { opacity: 1; transform: translateY(0px); }
  147. 30% { opacity: 0; transform: translateY(5px); }
  148. 80% { opacity: 0; }
  149. 100% { opacity: 0; }
  150. }
  151. // MENU
  152. .navbar {
  153. position: fixed;
  154. top: 0;
  155. right: 0;
  156. left: 0;
  157. z-index: 999999;
  158. will-change: transform;
  159. transition: transform 200ms linear;
  160. &[class*="-unpinned"] {
  161. transform: translate(0, -150%);
  162. }
  163. &[class*="-pinned"] {
  164. transform: translate(0, 0);
  165. }
  166. &[class*="headroom--not-top"] {
  167. background: $text-white;
  168. // box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.09);
  169. border-bottom: 1px solid #f0f0f0;
  170. padding-top: 0;
  171. padding-bottom: 0;
  172. }
  173. }
  174. .navbar-brand {
  175. font-weight: $font-weight-bold;
  176. }
  177. .navbar-expand-sm {
  178. .navbar-nav {
  179. .nav-link {
  180. padding: 0 20px;
  181. }
  182. }
  183. }
  184. .nav-link {
  185. font-weight: $font-weight-bold;
  186. font-size: 16px;
  187. overflow: hidden;
  188. span {
  189. position: relative;
  190. display: inline-block;
  191. transition: transform 0.3s;
  192. &:before {
  193. position: absolute;
  194. top: 100%;
  195. content: attr(data-hover);
  196. transform: translate3d(0,0,0);
  197. }
  198. }
  199. }
  200. .navbar-light {
  201. .navbar-nav {
  202. .nav-link:focus,
  203. .nav-link:hover {
  204. color: $main-color;
  205. font-weight: $font-weight-bold;
  206. span {
  207. transform: translateY(-100%);
  208. }
  209. }
  210. }
  211. }
  212. // HAMBURGER MENU
  213. .navbar-light {
  214. .navbar-toggler-icon {
  215. background: none;
  216. }
  217. }
  218. .navbar-toggler {
  219. border: 0;
  220. padding: 0;
  221. width: 32px;
  222. height: 32px;
  223. line-height: 32px;
  224. outline: none;
  225. cursor: pointer;
  226. margin-right: 10px;
  227. &:focus {
  228. outline: none;
  229. }
  230. &[aria-expanded="true"] {
  231. .navbar-toggler-icon {
  232. &:first-child {
  233. transform: rotate(45deg);
  234. top: 6px;
  235. }
  236. &:nth-child(2) {
  237. display: none;
  238. }
  239. &:last-child {
  240. transform: rotate(-45deg);
  241. bottom: 1px;
  242. }
  243. }
  244. }
  245. .navbar-toggler-icon {
  246. background: $h1-font-color;
  247. display: block;
  248. width: 100%;
  249. height: 2px;
  250. margin: 5px 0;
  251. @include transition-effect;
  252. position: relative;
  253. }
  254. }
  255. // COPYRIGHT TEXT
  256. .copyright-text {
  257. font-size: 16px;
  258. font-weight: $font-weight-normal;
  259. display: block;
  260. }
  261. // COLOR MODE
  262. .color-mode {
  263. font-weight: $font-weight-bold;
  264. cursor: pointer;
  265. }
  266. .color-mode-icon {
  267. position: relative;
  268. right: 6px;
  269. &:after {
  270. font-family: 'unicons';
  271. content: '\ea9f';
  272. font-size: 30px;
  273. font-weight: 300;
  274. font-style: normal;
  275. }
  276. &.active {
  277. &:after {
  278. font-family: 'unicons';
  279. content: '\eb65';
  280. font-size: 30px;
  281. color: $text-white;
  282. }
  283. }
  284. }
  285. .dark-mode {
  286. background: $dark-mode-color;
  287. .navbar-light .navbar-nav .nav-link {
  288. color: rgba(255,255,255,0.8);
  289. &:hover {
  290. color: $main-color;
  291. }
  292. }
  293. .navbar {
  294. &[class*="headroom--not-top"] {
  295. background: $dark-mode-color;
  296. border-bottom: 1px solid #1f1f1f;
  297. }
  298. }
  299. .small-text {
  300. background: #0d0c15;
  301. color: $text-white;
  302. }
  303. .feature-card .uil,
  304. .navbar-light .navbar-brand,
  305. h1, h2, h3, h4, h5, h6,
  306. .color-mode {
  307. color: $text-white;
  308. }
  309. .owl-carousel {
  310. .owl-nav button.owl-next,
  311. .owl-nav button.owl-prev,
  312. button.owl-dot {
  313. color: $text-white;
  314. }
  315. }
  316. }
  317. // TIMELINE
  318. .timeline-wrapper {
  319. position: relative;
  320. padding-bottom: 10px;
  321. &:last-child {
  322. &:before {
  323. height: 0;
  324. }
  325. }
  326. &:before {
  327. content: "";
  328. background: $button-color;
  329. width: 3px;
  330. height: 100%;
  331. position: absolute;
  332. left: 38px;
  333. }
  334. }
  335. .timeline-yr {
  336. background: $button-color;
  337. border-radius: 100%;
  338. position: absolute;
  339. width: 75px;
  340. height: 75px;
  341. line-height: 75px;
  342. text-align: center;
  343. span {
  344. color: $text-white;
  345. font-size: $link-font-size;
  346. font-weight: $font-weight-bold;
  347. display: block;
  348. line-height: 75px;
  349. }
  350. }
  351. .timeline-info {
  352. display: inline-block;
  353. vertical-align: top;
  354. max-width: 432px;
  355. margin-left: 6em;
  356. small {
  357. color: $button-color;
  358. font-size: $link-font-size;
  359. font-weight: $font-weight-bold;
  360. display: inline-block;
  361. vertical-align: middle;
  362. margin-left: 15px;
  363. }
  364. }
  365. // OWL CAROUSEL
  366. .owl-carousel {
  367. .owl-nav {
  368. span {
  369. display: none;
  370. }
  371. .owl-prev,
  372. .owl-next {
  373. &:before {
  374. background: none;
  375. padding: 0;
  376. display: block;
  377. position: absolute;
  378. top: 50%;
  379. transform: translate(0, -50%);
  380. font-family: 'unicons';
  381. font-size: 100px;
  382. line-height: normal;
  383. }
  384. }
  385. .owl-prev {
  386. &:before {
  387. content: '\e833';
  388. left: -45px;
  389. }
  390. }
  391. .owl-next {
  392. &:before {
  393. content: '\e836';
  394. right: -45px;
  395. }
  396. }
  397. }
  398. }
  399. .owl-theme {
  400. .owl-nav [class*=owl-] {
  401. background: none;
  402. border-radius: 0;
  403. margin: 0;
  404. padding: 0;
  405. font-size: inherit;
  406. &:hover {
  407. color: $main-color;
  408. }
  409. }
  410. .owl-dots {
  411. .owl-dot {
  412. outline: none;
  413. span {
  414. width: 8px;
  415. height: 8px;
  416. }
  417. &.active,
  418. &:hover {
  419. span {
  420. background: $body-font-color;
  421. }
  422. }
  423. }
  424. }
  425. }
  426. // GOOGLE MAP
  427. .google-map {
  428. iframe {
  429. width: 100%;
  430. }
  431. }
  432. // CONTACT FORM
  433. .contact-form {
  434. position: relative;
  435. .form-control {
  436. background: transparent;
  437. border-radius: 2px;
  438. outline: none;
  439. box-shadow: none;
  440. font-weight: $font-weight-bold;
  441. margin: 16px 0;
  442. &:not(textarea) {
  443. height: 48px;
  444. }
  445. &:hover,
  446. &:focus {
  447. border-color: $main-color;
  448. }
  449. }
  450. .submit-btn {
  451. background: $main-color;
  452. border-radius: 50px;
  453. color: $text-white;
  454. font-weight: $font-weight-bold;
  455. border: 0;
  456. cursor: pointer;
  457. @include transition-effect;
  458. &:hover {
  459. background: $button-color;
  460. }
  461. }
  462. }
  463. .contact-info {
  464. background: $button-color;
  465. border-radius: 0 0 3px 3px;
  466. position: relative;
  467. bottom: 8px;
  468. p, a {
  469. color: #f7f3f3;
  470. }
  471. }
  472. // SOCIAL LINKS
  473. .social-links {
  474. .uil {
  475. color: #f7f3f3;
  476. font-size: 20px;
  477. display: block;
  478. margin: 5px 0;
  479. &:hover {
  480. color: $main-color;
  481. }
  482. }
  483. }
  484. // RESPONSIVE STYLES
  485. @media (min-width: 1270px) {
  486. .owl-theme {
  487. .owl-dots {
  488. position: relative;
  489. bottom: 50px;
  490. }
  491. }
  492. }
  493. @media (max-width: 991px) {
  494. .full-screen {
  495. padding-bottom: 4rem;
  496. }
  497. .color-mode {
  498. display: none;
  499. }
  500. .about-image {
  501. margin-top: 4em;
  502. }
  503. .mobile-mt-2,
  504. .contact-form {
  505. margin-top: 2em;
  506. }
  507. .contact-info {
  508. padding: 0 2rem;
  509. }
  510. }
  511. @media (max-width: 767px) {
  512. h1 {
  513. font-size: 2.4em;
  514. }
  515. h2 {
  516. font-size: 2em;
  517. }
  518. .animated-item {
  519. font-size: 28px;
  520. }
  521. .navbar-collapse {
  522. background: $text-white;
  523. text-align: center;
  524. padding-bottom: 20px;
  525. }
  526. .navbar-expand-sm .navbar-nav .nav-link {
  527. padding: 3px 20px;
  528. }
  529. }
  530. @media (max-width: 580px) {
  531. .animated-item {
  532. font-size: 24px;
  533. }
  534. .custom-btn-group {
  535. text-align: center;
  536. }
  537. .custom-btn {
  538. display: block;
  539. margin: 10px 0;
  540. }
  541. .owl-theme .owl-nav {
  542. display: none;
  543. }
  544. .timeline-info small {
  545. display: block;
  546. margin: 10px 0 0 0;
  547. }
  548. }
  549. @media (max-width: 320px) {
  550. .animated-text {
  551. margin-top: 0;
  552. }
  553. .about-text {
  554. text-align: center;
  555. }
  556. .full-screen {
  557. padding: 4rem 0;
  558. }
  559. .mobile-block {
  560. display: block;
  561. }
  562. .contact-info {
  563. flex-direction: column;
  564. }
  565. .social-links {
  566. li {
  567. display: inline-block;
  568. vertical-align: top;
  569. }
  570. }
  571. }