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

990 рядки
14 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. #footer {
  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: 125px;
  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: 125px;
  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: 125px;
  66. @media screen and (max-width: 1024px) {
  67. margin: 0;
  68. }
  69. }
  70. &:last-child {
  71. margin-right: 125px;
  72. @media screen and (max-width: 1024px) {
  73. margin: 0;
  74. }
  75. }
  76. mark {
  77. color: $light_gray;
  78. }
  79. }
  80. }
  81. #footer {
  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: 20%;
  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: 82%;
  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. margin: 0 auto;
  529. .inner-contents {
  530. padding-top: 20px;
  531. img {
  532. width: 50px;
  533. height: 50px;
  534. display: block;
  535. margin: 0 auto;
  536. padding-top: 20px;
  537. }
  538. p {
  539. width: 90%;
  540. margin: 0 auto;
  541. font-size: 14px;
  542. }
  543. .title {
  544. text-align: center;
  545. padding-top: 20px;
  546. color: $dark_brown;
  547. font-size: $other_size;
  548. font-weight: bold;
  549. }
  550. }
  551. }
  552. }
  553. .service-carousel-btn {
  554. margin: 20px auto;
  555. text-align: center;
  556. padding: 20px 0;
  557. i {
  558. font-size: 16px;
  559. padding: 0 10px;
  560. color: $blue;
  561. cursor: pointer;
  562. }
  563. }
  564. }
  565. #testimonial {
  566. background-color: $lightest_gray;
  567. padding: 20px 0;
  568. h3 {
  569. text-align: center;
  570. padding: 20px 0;
  571. }
  572. p {
  573. text-align: center;
  574. width: 50%;
  575. margin: 0 auto;
  576. @media screen and (max-width: 1024px) {
  577. width: 90%;
  578. }
  579. }
  580. .owl-testimonial {
  581. width: 80%;
  582. margin: 0 auto;
  583. height: 55vh;
  584. @media screen and (max-width: 1024px) {
  585. width: 100%;
  586. }
  587. .owl-item-testimonial {
  588. display: flex;
  589. width: 97%;
  590. background-color: white;
  591. margin: 50px 0;
  592. @media screen and (max-width: 1024px) {
  593. width: 90%;
  594. margin: 50px auto;
  595. }
  596. figure {
  597. width: 250px;
  598. height: 300px;
  599. @media screen and (max-width: 1024px) {
  600. width: 350px;
  601. }
  602. img {
  603. width: 100%;
  604. height: 100%;
  605. object-fit: cover;
  606. }
  607. }
  608. .description {
  609. margin: 0 20px;
  610. padding: 10px 0;
  611. .person-name,
  612. .person-info {
  613. font-size: $other_size;
  614. font-weight: bold;
  615. }
  616. .person-info {
  617. padding: 2px 0;
  618. color: $dark_gray;
  619. }
  620. .person-name {
  621. color: $blue;
  622. padding-top: 20px;
  623. }
  624. }
  625. blockquote {
  626. font-size: $paragraph_size;
  627. color: $dark_gray;
  628. line-height: 1.8;
  629. }
  630. }
  631. }
  632. .testimonial-carousel-btn {
  633. text-align: center;
  634. padding-bottom: 30px;
  635. i {
  636. padding: 10px;
  637. background-color: $light_gray;
  638. color: $brown;
  639. margin: 0 12px;
  640. cursor: pointer;
  641. }
  642. }
  643. }
  644. #enquiry {
  645. background: linear-gradient($blue, $dark_blue);
  646. h3 {
  647. text-align: center;
  648. color: white;
  649. padding: 60px 0 30px;
  650. }
  651. p {
  652. width: 50%;
  653. margin: 0 auto;
  654. text-align: center;
  655. color: $white_shade;
  656. line-height: 1.8;
  657. @media screen and (max-width: 1024px) {
  658. width: 90%;
  659. }
  660. }
  661. form {
  662. fieldset {
  663. border: none;
  664. width: 35%;
  665. margin: 0 auto;
  666. padding: 30px 0;
  667. @media screen and (max-width: 1024px) {
  668. width: 90%;
  669. }
  670. input {
  671. background-color: transparent;
  672. border: 2px solid white;
  673. padding: 8px 18px;
  674. clear: both;
  675. width: 48%;
  676. margin: 10px 0;
  677. &:nth-child(even) {
  678. float: right;
  679. }
  680. }
  681. ::-webkit-input-placeholder {
  682. color: $white_shade;
  683. @media screen and (max-width: 1024px) {
  684. padding-left: 13px;
  685. }
  686. }
  687. ::-moz-placeholder {
  688. color: $white_shade;
  689. @media screen and (max-width: 1024px) {
  690. padding-left: 13px;
  691. }
  692. }
  693. :-ms-input-placeholder {
  694. color: $white_shade;
  695. @media screen and (max-width: 1024px) {
  696. padding-left: 13px;
  697. }
  698. }
  699. :-moz-placeholder {
  700. color: $white_shade;
  701. @media screen and (max-width: 1024px) {
  702. padding-left: 13px;
  703. }
  704. }
  705. textarea {
  706. background-color: transparent;
  707. border: 2px solid white;
  708. width: 100%;
  709. padding: 8px;
  710. font-family: open-sans;
  711. }
  712. button {
  713. display: block;
  714. margin: 20px auto;
  715. padding: 8px 18px;
  716. width: 40%;
  717. background-color: transparent;
  718. border: none;
  719. border: 2px solid white;
  720. color: white;
  721. font-size: $other_size;
  722. }
  723. }
  724. }
  725. }
  726. #contact {
  727. padding: 30px 0;
  728. h3 {
  729. text-align: center;
  730. padding: 10px 0 20px;
  731. }
  732. p {
  733. width: 50%;
  734. margin: 0 auto;
  735. text-align: center;
  736. line-height: 1.8;
  737. @media screen and (max-width: 1024px) {
  738. width: 90%;
  739. }
  740. }
  741. .inner-container {
  742. display: flex;
  743. width: 80%;
  744. margin: 40px auto;
  745. padding: 20px 0;
  746. justify-content: space-between;
  747. @media screen and (max-width: 1024px) {
  748. flex-direction: column;
  749. width: 90%;
  750. }
  751. figure {
  752. width: 60%;
  753. @media screen and (max-width: 1024px) {
  754. width: 100%;
  755. }
  756. }
  757. .description-container {
  758. width: 30%;
  759. @media screen and (max-width: 1024px) {
  760. width: 100%;
  761. }
  762. li {
  763. display: flex;
  764. justify-content: space-evenly;
  765. padding: 15px 0;
  766. address {
  767. font-size: $paragraph_size;
  768. color: $brown;
  769. font-family: open-sans;
  770. font-style: normal;
  771. line-height: 1.8;
  772. }
  773. label {
  774. color: $brown;
  775. font-weight: bold;
  776. font-size: $paragraph_size;
  777. }
  778. address,
  779. .contact-content {
  780. width: 70%;
  781. }
  782. .contact-content {
  783. display: flex;
  784. font-size: $paragraph_size;
  785. li {
  786. color: $brown;
  787. padding: 0 15px 0 0;
  788. i {
  789. font-size: 18px;
  790. }
  791. }
  792. }
  793. }
  794. }
  795. }
  796. }