BCB Bank static website
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 

935 рядки
13 KiB

  1. @import '_colors';
  2. @import 'custom_fonts';
  3. *, *:before, *:after {
  4. -webkit-tap-highlight-color: transparent;
  5. box-sizing: border-box;
  6. }
  7. * {
  8. margin: 0;
  9. padding: 0;
  10. box-sizing: border-box;
  11. }
  12. a {
  13. color: inherit;
  14. text-decoration: none;
  15. }
  16. html, body {
  17. font-family: open-sans;
  18. &.non-scrollable {
  19. overflow: hidden;
  20. }
  21. }
  22. mark {
  23. background-color: transparent;
  24. }
  25. .temp-intro,
  26. .temp-end {
  27. background-color: $dark_brown;
  28. display: flex;
  29. justify-content: space-between;
  30. padding: 15px 0;
  31. color: $dark_gray;
  32. font-size: $other_size;
  33. .temp-name {
  34. margin-left: 80px;
  35. @media screen and (max-width: 1024px) {
  36. margin-left: 20px;
  37. }
  38. mark {
  39. color: white;
  40. }
  41. }
  42. .temp-social {
  43. display: flex;
  44. margin-right: 80px;
  45. @media screen and (max-width: 1024px) {
  46. margin-right: 20px;
  47. }
  48. li {
  49. list-style: none;
  50. align-self: center;
  51. padding: 0 10px;
  52. font-size: 12px;
  53. }
  54. }
  55. small {
  56. font-size: $other_size;
  57. @media screen and (max-width: 1024px) {
  58. display: block;
  59. text-align: center;
  60. padding: 5px 0;
  61. }
  62. &:first-child {
  63. margin-left: 80px;
  64. @media screen and (max-width: 1024px) {
  65. margin: 0;
  66. }
  67. }
  68. &:last-child {
  69. margin-right: 80px;
  70. @media screen and (max-width: 1024px) {
  71. margin: 0;
  72. }
  73. }
  74. mark {
  75. color: $light_gray;
  76. }
  77. }
  78. }
  79. .temp-end {
  80. @media screen and (max-width: 1024px) {
  81. display: block
  82. }
  83. }
  84. #page-header {
  85. display: flex;
  86. justify-content: space-around;
  87. height: $header_height;
  88. position: sticky;
  89. top: 0;
  90. left: 0;
  91. background-color: white;
  92. z-index: 5;
  93. transition: height 500ms linear;
  94. @media screen and (max-width: 1024px) {
  95. height: $header_height_scroll;
  96. }
  97. &.minimize {
  98. height: $header_height_scroll;
  99. padding: 10px 0;
  100. }
  101. .temp-brand {
  102. display: flex;
  103. align-self: center;
  104. width: 25%;
  105. justify-content: center;
  106. figure {
  107. margin-right: 15px;
  108. img {
  109. width: 100%;
  110. }
  111. }
  112. h1 {
  113. font-size: $heading_size;
  114. align-self: center;
  115. letter-spacing: -0.65px;
  116. font-family: 'Archivo Black', sans-serif;
  117. mark {
  118. color: $blue;
  119. }
  120. }
  121. }
  122. #desktop-navigation-menu {
  123. width: 50%;
  124. align-self: center;
  125. @media screen and (max-width: 1024px) {
  126. display: none;
  127. }
  128. ul {
  129. display: flex;
  130. justify-content: space-between;
  131. li {
  132. list-style: none;
  133. font-weight: bold;
  134. color: $brown;
  135. &.active {
  136. color: $blue;
  137. }
  138. }
  139. }
  140. }
  141. #mobile-hamburger-menu {
  142. display: none;
  143. position: relative;
  144. height: 25px;
  145. &.active {
  146. .icon-line {
  147. &:nth-child(1) {
  148. transform: rotate(45deg) translate(2px, 10px);
  149. top: 0;
  150. }
  151. &:nth-child(2) {
  152. opacity: 0;
  153. }
  154. &:nth-child(3) {
  155. transform: rotate(-45deg) translate(4px, -12px);
  156. bottom: 0;
  157. }
  158. }
  159. }
  160. @media screen and (max-width: 1024px) {
  161. display: block;
  162. align-self: center;
  163. }
  164. .icon-line {
  165. display: inline-block;
  166. width: 35px;
  167. height: 5px;
  168. background-color: black;
  169. position: absolute;
  170. transition: transform 500ms ease;
  171. &:nth-child(1) {
  172. top: 0;
  173. }
  174. &:nth-child(2) {
  175. top: 50%;
  176. transform: translateY(-50%);
  177. background-color: $blue;
  178. }
  179. &:nth-child(3) {
  180. bottom: 0;
  181. }
  182. }
  183. }
  184. }
  185. #mobile-nav-menu {
  186. display: none;
  187. @media screen and (max-width: 1024px) {
  188. display: block;
  189. height: 0;
  190. overflow: hidden;
  191. position: sticky;
  192. top: 10vh;
  193. z-index: 5;
  194. background-color: white;
  195. transition: height 500ms ease;
  196. &.show {
  197. height: 90vh;
  198. ul {
  199. margin-top: 50px;
  200. }
  201. li {
  202. opacity: 1;
  203. }
  204. }
  205. ul {
  206. li {
  207. list-style: none;
  208. font-size: $heading_size;
  209. text-align: center;
  210. padding: 10px 0;
  211. opacity: 0;
  212. transition: opacity 500ms ease;
  213. }
  214. }
  215. }
  216. }
  217. .temp-contact-info {
  218. background-color: $white_shade;
  219. border-top: 1px solid $light_gray;
  220. color: $brown;
  221. ul {
  222. display: flex;
  223. width: 80%;
  224. margin: 0 auto;
  225. @media screen and (max-width: 1024px) {
  226. width: 100%;
  227. }
  228. .owl-item {
  229. img {
  230. width: 10%;
  231. }
  232. }
  233. li {
  234. list-style: none;
  235. border-left: 2px solid $light_gray;
  236. font-size: $other_size;
  237. display: flex;
  238. justify-content: center;
  239. width: 35%;
  240. padding: 20px 0;
  241. @media screen and (max-width: 1024px) {
  242. width: 101%;
  243. }
  244. &:last-child {
  245. border-right: 2px solid $light_gray;
  246. }
  247. img {
  248. width: 10%;
  249. align-self: center;
  250. margin-right: 20px;
  251. }
  252. .contact-content {
  253. font-weight: bold;
  254. span {
  255. display: block;
  256. &:last-child {
  257. color: $blue;
  258. }
  259. }
  260. a {
  261. display: block;
  262. color: $blue;
  263. }
  264. }
  265. }
  266. }
  267. }
  268. section {
  269. h3 {
  270. font-size: $heading_size;
  271. font-family: 'Archivo Black', sans-serif;
  272. line-height: 1.2;
  273. color: $dark_brown;
  274. @media screen and (max-width: 1024px) {
  275. text-align: center;
  276. }
  277. mark {
  278. color: $blue;
  279. }
  280. }
  281. p {
  282. color: $dark_gray;
  283. font-size: $paragraph_size;
  284. }
  285. figure {
  286. width: 50%;
  287. img {
  288. width: 100%;
  289. height: 100%;
  290. }
  291. }
  292. .description {
  293. width: 50%;
  294. align-self: center;
  295. @media screen and (max-width: 1024px) {
  296. width: 100%;
  297. }
  298. p {
  299. line-height: 1.8;
  300. }
  301. }
  302. }
  303. #home {
  304. box-shadow: 0 8px 20px -6px $gray;
  305. display: flex;
  306. @media screen and (max-width: 1024px) {
  307. flex-direction: column;
  308. }
  309. p {
  310. padding: 30px 0;
  311. width: 75%;
  312. @media screen and (max-width: 1024px) {
  313. margin: 0 auto;
  314. }
  315. }
  316. figure {
  317. opacity: 1;
  318. transition: opacity 500ms ease;
  319. @media screen and (max-width: 1024px) {
  320. width: 100%;
  321. margin-top: 30px;
  322. }
  323. &.hide {
  324. opacity: 0;
  325. }
  326. }
  327. .description {
  328. overflow-x: hidden;
  329. p,
  330. button {
  331. position: relative;
  332. left: 0;
  333. opacity: 1;
  334. transition: left 500ms ease, opacity 500ms ease;
  335. }
  336. h3 {
  337. opacity: 1;
  338. left: 0;
  339. position: relative;
  340. transition: left 500ms ease, opacity 500ms ease;
  341. @media screen and (max-width: 1024px) {
  342. position: absolute;
  343. left: 50%;
  344. width: 100%;
  345. transform: translateX(-50%);
  346. }
  347. }
  348. p {
  349. transition-delay: 500ms;
  350. }
  351. button {
  352. transition-delay: 1000ms;
  353. }
  354. &.hide {
  355. h3,
  356. p,
  357. button {
  358. left: 10%;
  359. opacity: 0;
  360. }
  361. }
  362. }
  363. button {
  364. border: none;
  365. background-color: $blue;
  366. color: white;
  367. padding: 10px 18px;
  368. outline: none;
  369. cursor: pointer;
  370. @media screen and (max-width: 1024px) {
  371. display: block;
  372. margin: 0 auto;
  373. margin-bottom: 40px;
  374. }
  375. .fas {
  376. padding-left: 12px;
  377. font-size: 14px;
  378. position: relative;
  379. left: 0;
  380. transition: left 500ms ease;
  381. }
  382. &:hover {
  383. .fas {
  384. left: 10px;
  385. }
  386. }
  387. }
  388. }
  389. #home,
  390. #about {
  391. position: relative;
  392. @media screen and (max-width: 1024px) {
  393. padding-top: 100px;
  394. }
  395. h3 {
  396. @media screen and (max-width: 1024px) {
  397. position: absolute;
  398. top: 35px;
  399. left: 50%;
  400. transform: translateX(-50%);
  401. width: 100%;
  402. }
  403. }
  404. }
  405. #about {
  406. background-color: $lightest_gray;
  407. display: block;
  408. margin-bottom: 225px;
  409. @media screen and (max-width: 1024px) {
  410. margin-bottom: 50px;
  411. }
  412. .wrapper {
  413. width: 85%;
  414. margin: 0 auto;
  415. display: flex;
  416. justify-content: space-around;
  417. @media screen and (max-width: 1024px) {
  418. flex-direction: column-reverse;
  419. padding-bottom: 30px;
  420. }
  421. }
  422. figure {
  423. width: 35%;
  424. position: relative;
  425. left: 8%;
  426. opacity: 0;
  427. transition: left 1000ms ease, opacity 1000ms ease;
  428. &.show {
  429. left: 0;
  430. opacity: 1;
  431. }
  432. @media screen and (max-width: 1024px) {
  433. width: 100%;
  434. display: block;
  435. margin: 0 auto;
  436. }
  437. img {
  438. transform: scale(1.2);
  439. top: 25%;
  440. position: relative;
  441. width: 100%;
  442. @media screen and (max-width: 1024px) {
  443. transform: scale(1);
  444. }
  445. }
  446. }
  447. .description {
  448. opacity: 0;
  449. transition: opacity 1000ms ease;
  450. &.show {
  451. opacity: 1;
  452. }
  453. }
  454. p {
  455. padding: 14px 0;
  456. &:nth-of-type(1) {
  457. font-style: italic;
  458. font-weight: bold;
  459. color: black;
  460. }
  461. }
  462. }
  463. #service {
  464. display: block;
  465. h3 {
  466. text-align: center;
  467. }
  468. p {
  469. width: 50%;
  470. margin: 0 auto;
  471. text-align: center;
  472. padding: 20px 0 40px;
  473. line-height: 1.8;
  474. @media screen and (max-width: 1024px) {
  475. width: 90%;
  476. }
  477. }
  478. .owl-service {
  479. width: 85%;
  480. margin: 0 auto;
  481. display: block;
  482. @media screen and (max-width: 1024px) {
  483. width: 100%;
  484. }
  485. li {
  486. list-style: none;
  487. background-color: $lightest_gray;
  488. width: 90%;
  489. .inner-contents {
  490. padding-top: 20px;
  491. img {
  492. width: 50px;
  493. height: 50px;
  494. display: block;
  495. margin: 0 auto;
  496. padding-top: 20px;
  497. }
  498. p {
  499. width: 100%;
  500. }
  501. .title {
  502. text-align: center;
  503. padding-top: 20px;
  504. color: $dark_brown;
  505. font-size: $other_size;
  506. font-weight: bold;
  507. }
  508. }
  509. }
  510. }
  511. .service-carousel-btn {
  512. margin: 20px auto;
  513. text-align: center;
  514. padding: 20px 0;
  515. i {
  516. font-size: 16px;
  517. padding: 0 10px;
  518. color: $blue;
  519. cursor: pointer;
  520. }
  521. }
  522. }
  523. #testimonial {
  524. background-color: $lightest_gray;
  525. padding: 20px 0;
  526. h3 {
  527. text-align: center;
  528. padding: 20px 0;
  529. }
  530. p {
  531. text-align: center;
  532. width: 50%;
  533. margin: 0 auto;
  534. @media screen and (max-width: 1024px) {
  535. width: 90%;
  536. }
  537. }
  538. .owl-testimonial {
  539. width: 80%;
  540. margin: 0 auto;
  541. @media screen and (max-width: 1024px) {
  542. width: 100%;
  543. }
  544. .owl-item-testimonial {
  545. display: flex;
  546. width: 95%;
  547. background-color: white;
  548. margin: 50px auto;
  549. @media screen and (max-width: 1024px) {
  550. width: 90%;
  551. }
  552. figure {
  553. width: 250px;
  554. @media screen and (max-width: 1024px) {
  555. width: 350px;
  556. }
  557. img {
  558. width: 100%;
  559. height: 100%;
  560. object-fit: cover;
  561. }
  562. }
  563. .description {
  564. margin: 0 20px;
  565. padding: 10px 0;
  566. .person-name,
  567. .person-info {
  568. font-size: $other_size;
  569. font-weight: bold;
  570. }
  571. .person-info {
  572. padding: 2px 0;
  573. color: $dark_gray;
  574. }
  575. .person-name {
  576. color: $blue;
  577. padding-top: 20px;
  578. }
  579. }
  580. blockquote {
  581. font-size: $paragraph_size;
  582. color: $dark_gray;
  583. font-weight: bold;
  584. line-height: 1.8;
  585. }
  586. }
  587. }
  588. .testimonial-carousel-btn {
  589. text-align: center;
  590. padding-bottom: 30px;
  591. i {
  592. padding: 10px;
  593. background-color: $light_gray;
  594. color: $brown;
  595. margin: 0 8px;
  596. cursor: pointer;
  597. }
  598. }
  599. }
  600. #enquiry {
  601. background: linear-gradient($blue, $dark_blue);
  602. h3 {
  603. text-align: center;
  604. color: white;
  605. padding: 60px 0 30px;
  606. }
  607. p {
  608. width: 50%;
  609. margin: 0 auto;
  610. text-align: center;
  611. color: $white_shade;
  612. line-height: 1.8;
  613. @media screen and (max-width: 1024px) {
  614. width: 90%;
  615. }
  616. }
  617. form {
  618. fieldset {
  619. border: none;
  620. width: 35%;
  621. margin: 0 auto;
  622. padding: 30px 0;
  623. @media screen and (max-width: 1024px) {
  624. width: 90%;
  625. }
  626. input {
  627. background-color: transparent;
  628. border: 2px solid white;
  629. padding: 8px 18px;
  630. clear: both;
  631. width: 48%;
  632. margin: 10px 0;
  633. &:nth-child(even) {
  634. float: right;
  635. }
  636. }
  637. ::-webkit-input-placeholder {
  638. color: $white_shade;
  639. @media screen and (max-width: 1024px) {
  640. padding-left: 13px;
  641. }
  642. }
  643. ::-moz-placeholder {
  644. color: $white_shade;
  645. @media screen and (max-width: 1024px) {
  646. padding-left: 13px;
  647. }
  648. }
  649. :-ms-input-placeholder {
  650. color: $white_shade;
  651. @media screen and (max-width: 1024px) {
  652. padding-left: 13px;
  653. }
  654. }
  655. :-moz-placeholder {
  656. color: $white_shade;
  657. @media screen and (max-width: 1024px) {
  658. padding-left: 13px;
  659. }
  660. }
  661. textarea {
  662. background-color: transparent;
  663. border: 2px solid white;
  664. width: 100%;
  665. padding: 8px;
  666. font-family: open-sans;
  667. }
  668. button {
  669. display: block;
  670. margin: 20px auto;
  671. padding: 8px 18px;
  672. width: 40%;
  673. background-color: transparent;
  674. border: none;
  675. border: 2px solid white;
  676. color: white;
  677. font-size: $other_size;
  678. }
  679. }
  680. }
  681. }
  682. #contact {
  683. padding: 30px 0;
  684. h3 {
  685. text-align: center;
  686. padding: 10px 0 20px;
  687. }
  688. p {
  689. width: 50%;
  690. margin: 0 auto;
  691. text-align: center;
  692. line-height: 1.8;
  693. @media screen and (max-width: 1024px) {
  694. width: 90%;
  695. }
  696. }
  697. .inner-container {
  698. display: flex;
  699. width: 85%;
  700. margin: 40px auto;
  701. padding: 20px 0;
  702. justify-content: space-between;
  703. @media screen and (max-width: 1024px) {
  704. flex-direction: column;
  705. width: 90%;
  706. }
  707. // Change it Accordingly when the image comes into place
  708. figure {
  709. width: 40%;
  710. }
  711. .description-container {
  712. width: 30%;
  713. @media screen and (max-width: 1024px) {
  714. width: 100%;
  715. }
  716. li {
  717. display: flex;
  718. justify-content: space-evenly;
  719. padding: 15px 0;
  720. address {
  721. font-size: $paragraph_size;
  722. color: $brown;
  723. font-family: open-sans;
  724. font-style: normal;
  725. line-height: 1.8;
  726. }
  727. label {
  728. color: $brown;
  729. font-weight: bold;
  730. font-size: $paragraph_size;
  731. }
  732. address,
  733. .contact-content {
  734. width: 70%;
  735. }
  736. .contact-content {
  737. display: flex;
  738. font-size: $paragraph_size;
  739. li {
  740. color: $brown;
  741. padding: 0 15px 0 0;
  742. i {
  743. font-size: 18px;
  744. }
  745. }
  746. }
  747. }
  748. }
  749. }
  750. }