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

692 рядки
14 KiB

  1. @import '_colors';
  2. @import 'custom_fonts';
  3. .temp-intro {
  4. display: none;
  5. }
  6. section {
  7. h3 {
  8. font-size: $heading_size;
  9. font-family: 'Archivo Black', sans-serif;
  10. line-height: 1.2;
  11. color: $dark_brown;
  12. @media screen and (max-width: 1024px) {
  13. text-align: center;
  14. }
  15. mark {
  16. color: $blue;
  17. }
  18. }
  19. p {
  20. color: $dark_gray;
  21. font-size: $paragraph_size;
  22. letter-spacing: 0.8px;
  23. }
  24. figure {
  25. width: 50%;
  26. img {
  27. width: 100%;
  28. height: 100%;
  29. }
  30. }
  31. .description {
  32. width: 50%;
  33. align-self: center;
  34. @media screen and (max-width: 1024px) {
  35. width: 100%;
  36. }
  37. p {
  38. line-height: 1.8;
  39. }
  40. }
  41. }
  42. #home {
  43. box-shadow: 0 8px 20px -6px $gray;
  44. display: flex;
  45. height: 80vh;
  46. @media screen and (max-width: 1024px) {
  47. flex-direction: column;
  48. }
  49. p {
  50. padding: 30px 0;
  51. width: 75%;
  52. @media screen and (max-width: 1024px) {
  53. margin: 0 auto;
  54. }
  55. }
  56. figure {
  57. opacity: 1;
  58. transition: opacity 500ms ease;
  59. text-align: center;
  60. align-self: flex-end;
  61. @media screen and (max-width: 1024px) {
  62. width: 100%;
  63. margin-top: 30px;
  64. }
  65. &.hide {
  66. opacity: 0;
  67. }
  68. img {
  69. width: 90%;
  70. }
  71. }
  72. .description {
  73. overflow-x: hidden;
  74. button,
  75. p {
  76. position: relative;
  77. left: 0;
  78. opacity: 1;
  79. transition: left 500ms ease, opacity 500ms ease;
  80. }
  81. h3 {
  82. opacity: 1;
  83. left: 0;
  84. position: relative;
  85. transition: left 500ms ease, opacity 500ms ease;
  86. @media screen and (max-width: 1024px) {
  87. position: absolute;
  88. left: 50%;
  89. width: 100%;
  90. transform: translateX(-50%);
  91. }
  92. }
  93. p {
  94. transition-delay: 500ms;
  95. }
  96. button {
  97. transition-delay: 1000ms;
  98. }
  99. &.hide {
  100. button,
  101. h3,
  102. p {
  103. left: 10%;
  104. opacity: 0;
  105. }
  106. }
  107. }
  108. button {
  109. border: none;
  110. background-color: $blue;
  111. color: white;
  112. padding: 20px 30px;
  113. outline: none;
  114. font-size: $paragraph_size;
  115. cursor: pointer;
  116. @media screen and (max-width: 1024px) {
  117. display: block;
  118. margin: 0 auto 40px;
  119. }
  120. .fas {
  121. padding-left: 12px;
  122. font-size: 14px;
  123. position: relative;
  124. left: 0;
  125. transition: left 500ms ease;
  126. }
  127. &:hover {
  128. .fas {
  129. left: 10px;
  130. }
  131. }
  132. }
  133. }
  134. #about,
  135. #home {
  136. position: relative;
  137. @media screen and (max-width: 1024px) {
  138. padding-top: 100px;
  139. }
  140. h3 {
  141. @media screen and (max-width: 1024px) {
  142. position: absolute;
  143. top: 35px;
  144. left: 50%;
  145. transform: translateX(-50%);
  146. width: 100%;
  147. }
  148. }
  149. }
  150. #about {
  151. background-color: $lightest_gray;
  152. display: block;
  153. margin-bottom: 225px;
  154. @media screen and (max-width: 1024px) {
  155. margin-bottom: 50px;
  156. }
  157. .wrapper {
  158. width: 85%;
  159. margin: 0 auto;
  160. display: flex;
  161. justify-content: space-around;
  162. @media screen and (max-width: 1024px) {
  163. flex-direction: column-reverse;
  164. padding-bottom: 30px;
  165. }
  166. a {
  167. display: inline-block;
  168. margin: 10px 0;
  169. button {
  170. color: white;
  171. padding: 10px 15px;
  172. background-color: $blue;
  173. border: none;
  174. font-size: 16px;
  175. cursor: pointer;
  176. outline: none;
  177. transition: background-color 500ms ease;
  178. &:hover {
  179. background-color: $dark_brown;
  180. }
  181. }
  182. }
  183. }
  184. figure {
  185. width: 35%;
  186. position: relative;
  187. left: 6%;
  188. opacity: 0;
  189. transition: left 1000ms ease, opacity 1000ms ease;
  190. &.show {
  191. left: 0;
  192. opacity: 1;
  193. }
  194. @media screen and (max-width: 1024px) {
  195. width: 100%;
  196. display: block;
  197. margin: 0 auto;
  198. }
  199. img {
  200. transform: scale(1.3);
  201. top: 25%;
  202. position: relative;
  203. width: 100%;
  204. @media screen and (max-width: 1024px) {
  205. transform: scale(1);
  206. }
  207. }
  208. }
  209. .description {
  210. opacity: 0;
  211. transition: opacity 1000ms ease;
  212. width: 55%;
  213. @media screen and (max-width: 1024px) {
  214. width: 100%;
  215. }
  216. &.show {
  217. opacity: 1;
  218. }
  219. }
  220. p {
  221. padding: 14px 0;
  222. // &:nth-of-type(1) {
  223. // font-style: italic;
  224. // font-weight: bold;
  225. // color: black;
  226. // }
  227. }
  228. }
  229. #service {
  230. display: block;
  231. h3 {
  232. text-align: center;
  233. }
  234. p {
  235. width: 50%;
  236. margin: 0 auto;
  237. text-align: center;
  238. padding: 20px 0 40px;
  239. line-height: 1.8;
  240. @media screen and (max-width: 1024px) {
  241. width: 90%;
  242. }
  243. }
  244. .owl-service {
  245. width: 82%;
  246. margin: 30px auto 0;
  247. display: block;
  248. @media screen and (max-width: 1024px) {
  249. width: 100%;
  250. }
  251. li {
  252. list-style: none;
  253. background-color: $lightest_gray;
  254. width: 90%;
  255. margin: 0 auto;
  256. .inner-contents {
  257. padding-top: 20px;
  258. img {
  259. width: 60px;
  260. height: 60px;
  261. display: block;
  262. margin: 0 auto;
  263. padding-top: 20px;
  264. }
  265. p {
  266. width: 90%;
  267. margin: 0 auto;
  268. font-size: 14px;
  269. height: 20vh;
  270. }
  271. .title {
  272. text-align: center;
  273. padding-top: 20px;
  274. color: $dark_brown;
  275. font-size: $other_size;
  276. font-weight: bold;
  277. }
  278. }
  279. }
  280. }
  281. .service-carousel-btn {
  282. margin: 20px auto;
  283. text-align: center;
  284. padding: 20px 0;
  285. i {
  286. font-size: 16px;
  287. padding: 0 10px;
  288. color: $blue;
  289. cursor: pointer;
  290. }
  291. }
  292. }
  293. #branches {
  294. background-color: $lightest_gray;
  295. padding: 20px 0;
  296. h3 {
  297. text-align: center;
  298. padding: 20px 0;
  299. }
  300. p {
  301. text-align: center;
  302. width: 50%;
  303. margin: 0 auto;
  304. @media screen and (max-width: 1024px) {
  305. width: 90%;
  306. }
  307. }
  308. .owl-branches {
  309. width: 80%;
  310. margin: 0 auto;
  311. height: 55vh;
  312. @media screen and (max-width: 1024px) {
  313. width: 100%;
  314. }
  315. .owl-item-branches {
  316. width: 97%;
  317. background-color: white;
  318. margin: 50px 0;
  319. @media screen and (max-width: 1024px) {
  320. width: 90%;
  321. margin: 50px auto;
  322. }
  323. figure {
  324. width: 100%;
  325. height: 90%;
  326. img {
  327. width: 100%;
  328. height: 35vh;
  329. object-fit: cover;
  330. }
  331. }
  332. .description {
  333. margin: 0 20px;
  334. padding: 10px 0;
  335. width: 90%;
  336. height: 140px;
  337. overflow: hidden;
  338. .person-info,
  339. .person-name {
  340. font-size: $other_size;
  341. font-weight: bold;
  342. }
  343. .person-info {
  344. padding: 2px 0;
  345. color: $dark_gray;
  346. }
  347. .person-name {
  348. color: $blue;
  349. text-transform: uppercase;
  350. }
  351. }
  352. }
  353. }
  354. .branches-carousel-btn {
  355. text-align: center;
  356. padding-bottom: 30px;
  357. position: relative;
  358. z-index: 2;
  359. padding-top: 85px;
  360. i {
  361. padding: 10px;
  362. background-color: $light_gray;
  363. color: $brown;
  364. margin: 0 0 0 12px;
  365. cursor: pointer;
  366. @media screen and (max-width: 1024px) {
  367. margin: 50px 0 0 12px;
  368. }
  369. }
  370. }
  371. }
  372. #enquiry {
  373. background: linear-gradient($blue, $dark_blue);
  374. h3 {
  375. text-align: center;
  376. color: white;
  377. padding: 60px 0 30px;
  378. }
  379. p {
  380. width: 50%;
  381. margin: 0 auto;
  382. text-align: center;
  383. color: $white_shade;
  384. line-height: 1.8;
  385. @media screen and (max-width: 1024px) {
  386. width: 90%;
  387. }
  388. }
  389. form {
  390. fieldset {
  391. border: none;
  392. width: 35%;
  393. margin: 0 auto;
  394. padding: 30px 0;
  395. @media screen and (max-width: 1024px) {
  396. width: 90%;
  397. }
  398. input {
  399. background-color: transparent;
  400. border: 2px solid white;
  401. padding: 8px 18px;
  402. clear: both;
  403. width: 48%;
  404. margin: 10px 0;
  405. &:nth-child(even) {
  406. float: right;
  407. }
  408. }
  409. ::-webkit-input-placeholder {
  410. color: $white_shade;
  411. @media screen and (max-width: 1024px) {
  412. padding-left: 13px;
  413. }
  414. }
  415. ::-moz-placeholder {
  416. color: $white_shade;
  417. @media screen and (max-width: 1024px) {
  418. padding-left: 13px;
  419. }
  420. }
  421. :-ms-input-placeholder {
  422. color: $white_shade;
  423. @media screen and (max-width: 1024px) {
  424. padding-left: 13px;
  425. }
  426. }
  427. :-moz-placeholder {
  428. color: $white_shade;
  429. @media screen and (max-width: 1024px) {
  430. padding-left: 13px;
  431. }
  432. }
  433. textarea {
  434. background-color: transparent;
  435. border: 2px solid white;
  436. width: 100%;
  437. padding: 8px;
  438. font-family: open-sans;
  439. }
  440. button {
  441. display: block;
  442. margin: 20px auto;
  443. padding: 8px 18px;
  444. width: 40%;
  445. background-color: transparent;
  446. border: none;
  447. border: 2px solid white;
  448. color: white;
  449. font-size: $other_size;
  450. }
  451. }
  452. }
  453. }
  454. #contact {
  455. padding: 30px 0;
  456. h3 {
  457. text-align: center;
  458. padding: 10px 0 20px;
  459. }
  460. p {
  461. width: 50%;
  462. margin: 0 auto;
  463. text-align: center;
  464. line-height: 1.8;
  465. @media screen and (max-width: 1024px) {
  466. width: 90%;
  467. }
  468. }
  469. .inner-container {
  470. display: flex;
  471. width: 80%;
  472. margin: 40px auto;
  473. padding: 20px 0;
  474. justify-content: space-between;
  475. @media screen and (max-width: 1024px) {
  476. flex-direction: column;
  477. width: 90%;
  478. }
  479. figure {
  480. width: 60%;
  481. @media screen and (max-width: 1024px) {
  482. width: 100%;
  483. }
  484. }
  485. .description-container {
  486. width: 30%;
  487. @media screen and (max-width: 1024px) {
  488. width: 100%;
  489. }
  490. li {
  491. display: flex;
  492. justify-content: space-evenly;
  493. padding: 15px 0;
  494. &:last-child {
  495. a {
  496. color: $blue;
  497. }
  498. }
  499. address {
  500. font-size: $paragraph_size;
  501. color: $brown;
  502. font-family: open-sans;
  503. font-style: normal;
  504. line-height: 1.8;
  505. }
  506. label {
  507. color: $brown;
  508. font-weight: bold;
  509. font-size: $paragraph_size;
  510. }
  511. .contact-content,
  512. address {
  513. width: 70%;
  514. }
  515. .contact-content {
  516. display: flex;
  517. font-size: $paragraph_size;
  518. li {
  519. color: $brown;
  520. padding: 0 15px 0 0;
  521. i {
  522. font-size: 18px;
  523. }
  524. }
  525. }
  526. }
  527. }
  528. }
  529. }
  530. .toast {
  531. position: fixed;
  532. bottom: 0;
  533. right: 0;
  534. background-color: #403e41;
  535. z-index: 10;
  536. width: 300px;
  537. height: 400px;
  538. padding: 10px;
  539. transition: transform 500ms ease;
  540. overflow: auto;
  541. &.hide {
  542. transform: translateY(345px);
  543. .close-toast {
  544. transform: rotate(180deg);
  545. }
  546. }
  547. header {
  548. font-size: 16px;
  549. letter-spacing: 1px;
  550. font-weight: bold;
  551. padding: 10px 0;
  552. text-align: center;
  553. color: white;
  554. }
  555. .close-toast {
  556. position: absolute;
  557. top: 20px;
  558. left: 10px;
  559. color: white;
  560. font-size: 30px;
  561. cursor: pointer;
  562. display: flex;
  563. transition: tranform 500ms ease;
  564. img {
  565. width: 20px;
  566. height: 20px;
  567. }
  568. }
  569. ul {
  570. width: 80%;
  571. margin: 0 auto;
  572. li {
  573. color: white;
  574. text-decoration: underline;
  575. font-size: 14px;
  576. margin: 0 0 10px;
  577. &.highlight {
  578. animation: glow 1.5s infinite linear;
  579. font-weight: 600;
  580. font-size: 16px;
  581. }
  582. }
  583. }
  584. }
  585. @keyframes glow {
  586. 0% {
  587. color: white;
  588. }
  589. 50% {
  590. color: #28aae2;
  591. }
  592. 100% {
  593. color: white;
  594. }
  595. }