BCB Bank static website
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 

640 строки
8.8 KiB

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