style.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799
  1. body {
  2. font-family: 'Roboto', sans-serif;
  3. font-size: 16px;
  4. line-height: 1.6;
  5. color: #727272;
  6. margin: 0;
  7. }
  8. html {
  9. box-sizing: border-box;
  10. }
  11. *,
  12. *:before,
  13. *:after {
  14. box-sizing: inherit;
  15. }
  16. .wrapper {
  17. width: 100%;
  18. position: relative;
  19. overflow: hidden;
  20. }
  21. img {
  22. max-width: 100%;
  23. height: auto;
  24. vertical-align: top;
  25. }
  26. p {
  27. margin-bottom: 20px;
  28. }
  29. h1,
  30. h2,
  31. h3,
  32. h4,
  33. h5,
  34. h6 {
  35. margin-top: 0;
  36. color: #000;
  37. line-height: 1.15;
  38. font-weight: 500;
  39. }
  40. h1 {
  41. font-size: 48px;
  42. }
  43. h2 {
  44. font-size: 32px;
  45. }
  46. .btn {
  47. display: inline-block;
  48. border: 1px solid #34547A;
  49. background: #34547A;
  50. color: #fff;
  51. text-transform: uppercase;
  52. padding: 23px 50px;
  53. line-height: 1;
  54. text-decoration: none;
  55. }
  56. .btn:hover {
  57. transition: opacity .3s ease-in;
  58. opacity: .7;
  59. }
  60. .header {
  61. padding: 0;
  62. background: #EEEFF1;
  63. position: relative;
  64. }
  65. .container {
  66. max-width: 1180px;
  67. padding: 0 15px;
  68. margin: 0 auto;
  69. }
  70. .flex_box {
  71. display: flex;
  72. order: 2;
  73. }
  74. .header_wrap {
  75. display: flex;
  76. align-items: center;
  77. margin: 0 25px 0 15px;
  78. }
  79. .burger-checkbox {
  80. opacity: 0;
  81. visibility: hidden;
  82. position: absolute;
  83. left: -9999999px;
  84. }
  85. .burger {
  86. position: relative;
  87. width: 26px;
  88. height: 18px;
  89. }
  90. .burger:before,
  91. .burger span,
  92. .burger:after {
  93. position: absolute;
  94. right: 0;
  95. left: 0;
  96. background: #000;
  97. height: 2px;
  98. }
  99. .burger:before {
  100. content: '';
  101. top: 0;
  102. }
  103. .burger span {
  104. top: 8px;
  105. }
  106. .burger:after {
  107. content: '';
  108. bottom: 0;
  109. }
  110. .burger-checkbox:checked + .burger span {
  111. opacity: 0;
  112. }
  113. .burger-checkbox:checked + .burger:before {
  114. transition: transform .3s ease-in;
  115. transform: rotate(45deg);
  116. top: 8px;
  117. }
  118. .burger-checkbox:checked + .burger:after {
  119. transition: transform .3s ease-in;
  120. transform: rotate(-45deg);
  121. bottom: 8px;
  122. }
  123. .header-flex {
  124. display: flex;
  125. justify-content: space-between;
  126. }
  127. .nav {
  128. flex-grow: 1;
  129. display: flex;
  130. align-items: center;
  131. justify-content: flex-end;
  132. margin-left: 15px;
  133. }
  134. .header-block {
  135. padding: 15px 0 0 0;
  136. }
  137. .img {
  138. padding: 15px;
  139. }
  140. .burger-checkbox:checked ~ .header-list {
  141. transition: opacity .3s ease-in;
  142. opacity: 1;
  143. visibility: visible;
  144. }
  145. .header-list {
  146. position: absolute;
  147. top: 100%;
  148. right: 0;
  149. left: 0;
  150. text-align: center;
  151. background: #EEEFF1;
  152. opacity: 0;
  153. visibility: hidden;
  154. list-style-type: none;
  155. padding: 0 20px 0 0;
  156. border: 2px solid #cbcbcb;
  157. }
  158. .header-item {
  159. padding: 10px 0 10px 25px;
  160. }
  161. .header-item a {
  162. color: black;
  163. text-decoration: none;
  164. }
  165. .header-item a:hover {
  166. opacity: 0.3;
  167. }
  168. .about-me {
  169. max-width: 100%;
  170. text-align: center;
  171. }
  172. .about-me-h2 h2 {
  173. margin-bottom: 0;
  174. }
  175. .about-me-h2 {
  176. margin-top: 30px;
  177. }
  178. .about-me-lorem {
  179. display: inline-block;
  180. max-width: 80%;
  181. margin: 30px 0 30px 0;
  182. }
  183. .about-me-lorem p {
  184. margin: 0;
  185. }
  186. .many-projects {
  187. width: 100%;
  188. background: #34547A;
  189. }
  190. .project {
  191. display: flex;
  192. }
  193. .project-container {
  194. display: flex;
  195. justify-content: space-around;
  196. flex-wrap: wrap;
  197. padding: 100px 0;
  198. margin: 0 -7px;
  199. }
  200. .ptoject-text p,
  201. .ptoject-text h3 {
  202. color: white;
  203. }
  204. .ptoject-text p {
  205. margin: 10px 0 0 0;
  206. }
  207. .ptoject-text h3 {
  208. margin: 0;
  209. width: calc(100% - 70px);
  210. }
  211. .project-img {
  212. margin-right: 20px;
  213. }
  214. .section-banner {
  215. background: #EEEFF1;
  216. padding: 50px 0 50px;
  217. }
  218. .banner-wrap {
  219. display: flex;
  220. flex-direction: column;
  221. align-items: center;
  222. margin: 0 -65px;
  223. }
  224. .col--description {
  225. display: flex;
  226. flex-direction: column;
  227. align-items: center;
  228. }
  229. .col {
  230. padding: 0 65px;
  231. width: 80%;
  232. }
  233. .col--img {
  234. display: flex;
  235. justify-content: center;
  236. }
  237. .title {
  238. margin-bottom: 30px;
  239. }
  240. .section-banner .holder {
  241. padding-bottom: 40px;
  242. }
  243. .img-compuhter {
  244. margin-bottom: 30px;
  245. }
  246. .holder,
  247. .title {
  248. text-align: center;
  249. }
  250. .section-skill {
  251. padding: 40px 0;
  252. }
  253. .skill-row {
  254. display: flex;
  255. flex-direction: column-reverse;
  256. align-items: center;
  257. }
  258. .skill-col {
  259. width: 90%;
  260. }
  261. .skill-descr {
  262. padding-right: 20px;
  263. }
  264. .skill-img {
  265. margin: 0 0 20px 0;
  266. background-repeat: no-repeat;
  267. background-size: cover;
  268. background-position: center;
  269. padding-top: 34.6%;
  270. }
  271. .skill-descr .title {
  272. margin-bottom: 50px;
  273. }
  274. .skill-box {
  275. max-width: 445px;
  276. }
  277. .skill-this {
  278. margin-bottom: 30px;
  279. }
  280. .skill-label {
  281. display: block;
  282. margin-bottom: 20px;
  283. }
  284. .skill-loader {
  285. background: #C4C4C4;
  286. height: 4px;
  287. position: relative;
  288. }
  289. .skill-load {
  290. position: absolute;
  291. top: 0;
  292. bottom: 0;
  293. left: 0;
  294. background: #34547A;
  295. }
  296. .deceptive-video {
  297. width: 100%;
  298. background: #EEEFF1;
  299. }
  300. .video-block {
  301. text-align: center;
  302. padding: 40px 0 40px 0;
  303. }
  304. .play-button {
  305. color: #000;
  306. position: relative;
  307. margin-left: auto;
  308. margin-right: auto;
  309. z-index: 1;
  310. width: 9%;
  311. }
  312. .lorem-p {
  313. margin: 50px 0 57px 0;
  314. }
  315. .buttom-center {
  316. position: relative;
  317. }
  318. .buttom-center .fake-video {
  319. width: 100%;
  320. height: auto;
  321. }
  322. .buttom-center .play-button {
  323. position: absolute;
  324. top: 42%;
  325. left: 45%;
  326. }
  327. .video-block h2 {
  328. margin: 0;
  329. }
  330. /* gellary */
  331. .section-gellary .row {
  332. display: flex;
  333. flex-wrap: wrap;
  334. }
  335. .section-gellary .col {
  336. width: 50%;
  337. padding-top: 50%;
  338. background-size: cover;
  339. background-position: center;
  340. position: relative;
  341. }
  342. .section-gellary .col:hover::before,
  343. .section-gellary .col:hover::after {
  344. transition: opacity .3s ease-in;
  345. opacity: 1;
  346. visibility: visible;
  347. }
  348. .section-gellary .col::before {
  349. content: '';
  350. position: absolute;
  351. top: 0;
  352. right: 0;
  353. bottom: 0;
  354. left: 0;
  355. background-color: rgba(52, 84, 122, .8);
  356. opacity: 0;
  357. visibility: hidden;
  358. }
  359. .section-gellary .col::after {
  360. content: '';
  361. position: absolute;
  362. top: 50%;
  363. left: 50%;
  364. transform: translate(-50%, -50%);
  365. background: url(../img/Group.svg) no-repeat;
  366. background-size: cover;
  367. background-position: center;
  368. width: 100px;
  369. height: 58px;
  370. opacity: 0;
  371. visibility: hidden;
  372. }
  373. .col {
  374. order: 0;
  375. }
  376. .col-order1 {
  377. order: 1;
  378. }
  379. .col-order2 {
  380. order: 2;
  381. }
  382. .col-order3 {
  383. order: 3;
  384. }
  385. .col-order4 {
  386. order: 4;
  387. }
  388. .form-section {
  389. width: 100%;
  390. background: #EEEFF1;
  391. }
  392. .input-block {
  393. text-align: center;
  394. padding: 40px 0 40px 0;
  395. }
  396. .input-block p {
  397. margin: 30px 0 35px 0;
  398. }
  399. .about-me-lorem-p {
  400. display: inline-block;
  401. max-width: 80%;
  402. margin: 30px 0 30px 0;
  403. }
  404. .form-block-name-email {
  405. display: flex;
  406. justify-content: center;
  407. flex-direction: column;
  408. align-items: center;
  409. }
  410. .input-name,
  411. .input-email {
  412. width: 70%;
  413. padding-left: 20px;
  414. height: 50px;
  415. margin-bottom: 20px;
  416. border: none;
  417. }
  418. .microsoft-flex-block {
  419. display: flex;
  420. justify-content: space-evenly;
  421. flex-wrap: wrap;
  422. padding: 40px 0 50px 0;
  423. }
  424. .message-form {
  425. padding: 17px 0 0 20px;
  426. width: 70%;
  427. height: 125px;
  428. resize: none;
  429. margin-bottom: 50px;
  430. border: none;
  431. }
  432. .col-microsoft {
  433. width: 25%;
  434. }
  435. .footer {
  436. width: 100%;
  437. background: #34547A;
  438. }
  439. .footer-block {
  440. display: flex;
  441. justify-content: space-between;
  442. flex-direction: column;
  443. align-items: center;
  444. padding: 20px 0 42px 0;
  445. }
  446. .info {
  447. display: flex;
  448. align-items: center;
  449. flex-direction: column;
  450. }
  451. .info h3,
  452. .info p {
  453. color: white;
  454. margin: 0;
  455. padding: 0;
  456. }
  457. .info p {
  458. margin: 0 0 25px 0;
  459. }
  460. .vk-img a img {
  461. margin-left: 22px;
  462. }
  463. .info h3 {
  464. margin: 20px 0 20px 0;
  465. }
  466. @media (min-width: 556px) and (max-width: 767px) {
  467. .many-projects {
  468. padding: 0 60px;
  469. }
  470. }
  471. @media (min-width: 795px) and (max-width: 1049px) {
  472. .microsoft-flex-block {
  473. padding: 40px 100px 50px 100px;
  474. }
  475. }
  476. @media (max-width: 575px) {
  477. h1,
  478. h2,
  479. h3,
  480. h4,
  481. h5,
  482. h6 {
  483. font-size: 24px;
  484. }
  485. p {
  486. font-size: 14px;
  487. }
  488. .img-compuhter {
  489. max-width: 70%;
  490. }
  491. }
  492. @media (min-width: 576px) {
  493. .project-img img {
  494. margin: 0 0 0 15px;
  495. }
  496. }
  497. @media (min-width: 768px) and (max-width: 1023px) {
  498. .project-container {
  499. flex-wrap: nowrap;
  500. }
  501. }
  502. @media (min-width: 768px) {
  503. .form-block-name-email {
  504. display: block;
  505. }
  506. .input-name,
  507. .input-email {
  508. width: 22.2%;
  509. padding-left: 20px;
  510. height: 50px;
  511. }
  512. .input-email {
  513. margin: 0 0 20px 20px;
  514. }
  515. .message-form {
  516. padding: 17px 0 0 20px;
  517. width: 46.4%;
  518. height: 175px;
  519. resize: none;
  520. margin-bottom: 50px;
  521. }
  522. }
  523. @media (min-width: 992px) {
  524. }
  525. @media (min-width: 1024px) {
  526. .about-me-lorem {
  527. max-width: 270px;
  528. }
  529. .col-order1,
  530. .col-order2,
  531. .col-order3,
  532. .col-order4 {
  533. order: 0;
  534. }
  535. .section-gellary .col {
  536. width: 25%;
  537. padding-top: 25%;
  538. }
  539. .skill-col {
  540. width: 50%;
  541. }
  542. .col {
  543. width: 50%;
  544. }
  545. .img-compuhter {
  546. margin-bottom: 0px;
  547. }
  548. .col--description {
  549. display: block;
  550. }
  551. .holder,
  552. .title {
  553. text-align: left;
  554. }
  555. .title {
  556. margin-bottom: 60px;
  557. }
  558. .banner-wrap {
  559. flex-direction: row;
  560. }
  561. .skill-row {
  562. flex-direction: row;
  563. }
  564. .skill-img {
  565. margin: 0;
  566. }
  567. .input-block p {
  568. margin: 50px 0 65px 0;
  569. }
  570. .about-me-lorem-p {
  571. display: inline-block;
  572. max-width: 44.8%;
  573. margin: 50px 0 100px 0;
  574. }
  575. .about-me-h2 {
  576. margin-top: 119px;
  577. }
  578. .about-me-lorem {
  579. max-width: 545px;
  580. margin: 50px 0 100px 0;
  581. }
  582. .project {
  583. display: flex;
  584. width: 16.666%;
  585. padding: 0 7px 14px;
  586. }
  587. .section-skill {
  588. padding: 100px 0;
  589. }
  590. .video-block {
  591. padding: 100px 0 100px 0;
  592. }
  593. .input-block {
  594. padding: 100px 0 100px 0;
  595. }
  596. .microsoft-flex-block {
  597. padding: 72px 0 100px 0;
  598. }
  599. .section-banner {
  600. background: #EEEFF1;
  601. padding: 150px 0 146px;
  602. }
  603. .header-block {
  604. padding: 57px 0 0 0;
  605. }
  606. .burger {
  607. display: none;
  608. }
  609. .header-list {
  610. position: static;
  611. display: flex;
  612. align-items: center;
  613. opacity: 1;
  614. visibility: visible;
  615. border: 0;
  616. }
  617. .item a {
  618. padding-bottom: 0px;
  619. margin-bottom: 0px;
  620. }
  621. .header-item + .header-item {
  622. padding-left: 42px;
  623. }
  624. .footer-block {
  625. display: flex;
  626. justify-content: space-between;
  627. flex-direction: row;
  628. align-items: center;
  629. padding: 42px 0 42px 0;
  630. }
  631. .info {
  632. display: flex;
  633. flex-direction: column;
  634. align-items: flex-start;
  635. }
  636. .info p {
  637. margin: 0;
  638. }
  639. }