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

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