App.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792
  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 0.3s ease-in;
  58. opacity: 0.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 0.3s ease-in;
  115. transform: rotate(45deg);
  116. top: 8px;
  117. }
  118. .burger-checkbox:checked + .burger:after {
  119. transition: transform 0.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 0.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-3 {
  234. background-image: url(./img-03.jpg);
  235. }
  236. .col-4 {
  237. background-image: url(./img-04.jpg);
  238. }
  239. .col--img {
  240. display: flex;
  241. justify-content: center;
  242. }
  243. .title {
  244. margin-bottom: 30px;
  245. }
  246. .section-banner .holder {
  247. padding-bottom: 40px;
  248. }
  249. .img-compuhter {
  250. margin-bottom: 30px;
  251. }
  252. .holder,
  253. .title {
  254. text-align: center;
  255. }
  256. .section-skill {
  257. padding: 40px 0;
  258. }
  259. .skill-row {
  260. display: flex;
  261. flex-direction: column-reverse;
  262. align-items: center;
  263. }
  264. .skill-col {
  265. width: 90%;
  266. }
  267. .skill-descr {
  268. padding-right: 20px;
  269. }
  270. .skill-img {
  271. background-image: url(img/creepy-man.jpeg);
  272. margin: 0 0 20px 0;
  273. background-repeat: no-repeat;
  274. background-size: cover;
  275. background-position: center;
  276. padding-top: 34.6%;
  277. }
  278. .skill-load {
  279. width: 75%;
  280. }
  281. .skill-descr .title {
  282. margin-bottom: 50px;
  283. }
  284. .skill-box {
  285. max-width: 445px;
  286. }
  287. .skill-this {
  288. margin-bottom: 30px;
  289. }
  290. .skill-label {
  291. display: block;
  292. margin-bottom: 20px;
  293. }
  294. .skill-loader {
  295. background: #c4c4c4;
  296. height: 4px;
  297. position: relative;
  298. }
  299. .skill-load {
  300. position: absolute;
  301. top: 0;
  302. bottom: 0;
  303. left: 0;
  304. background: #34547a;
  305. }
  306. .deceptive-video {
  307. width: 100%;
  308. background: #eeeff1;
  309. }
  310. .video-block {
  311. text-align: center;
  312. padding: 40px 0 40px 0;
  313. }
  314. .play-button {
  315. color: #000;
  316. position: relative;
  317. margin-left: auto;
  318. margin-right: auto;
  319. z-index: 1;
  320. width: 9%;
  321. }
  322. .lorem-p {
  323. margin: 50px 0 57px 0;
  324. }
  325. .buttom-center {
  326. position: relative;
  327. }
  328. .buttom-center .fake-video {
  329. width: 100%;
  330. height: auto;
  331. }
  332. .buttom-center .play-button {
  333. position: absolute;
  334. top: 42%;
  335. left: 45%;
  336. }
  337. .video-block h2 {
  338. margin: 0;
  339. }
  340. /* gellary */
  341. .section-gellary .row {
  342. display: flex;
  343. flex-wrap: wrap;
  344. }
  345. .section-gellary .col {
  346. width: 50%;
  347. padding-top: 50%;
  348. background-size: cover;
  349. background-position: center;
  350. position: relative;
  351. }
  352. .section-gellary .col:hover::before,
  353. .section-gellary .col:hover::after {
  354. transition: opacity 0.3s ease-in;
  355. opacity: 1;
  356. visibility: visible;
  357. }
  358. .section-gellary .col::before {
  359. content: "";
  360. position: absolute;
  361. top: 0;
  362. right: 0;
  363. bottom: 0;
  364. left: 0;
  365. background-color: rgba(52, 84, 122, 0.8);
  366. opacity: 0;
  367. visibility: hidden;
  368. }
  369. .section-gellary .col::after {
  370. content: "";
  371. position: absolute;
  372. top: 50%;
  373. left: 50%;
  374. transform: translate(-50%, -50%);
  375. background: url(./img/Group.svg) no-repeat;
  376. background-size: cover;
  377. background-position: center;
  378. width: 100px;
  379. height: 58px;
  380. opacity: 0;
  381. visibility: hidden;
  382. }
  383. .col {
  384. order: 0;
  385. }
  386. .col-order1 {
  387. order: 1;
  388. }
  389. .col-order2 {
  390. order: 2;
  391. }
  392. .col-order3 {
  393. order: 3;
  394. }
  395. .col-order4 {
  396. order: 4;
  397. }
  398. .form-section {
  399. width: 100%;
  400. background: #eeeff1;
  401. }
  402. .input-block {
  403. text-align: center;
  404. padding: 40px 0 40px 0;
  405. }
  406. .input-block p {
  407. margin: 30px 0 35px 0;
  408. }
  409. .about-me-lorem-p {
  410. display: inline-block;
  411. max-width: 80%;
  412. margin: 30px 0 30px 0;
  413. }
  414. .form-block-name-email {
  415. display: flex;
  416. justify-content: center;
  417. flex-direction: column;
  418. align-items: center;
  419. }
  420. .input-name,
  421. .input-email {
  422. width: 70%;
  423. padding-left: 20px;
  424. height: 50px;
  425. margin-bottom: 20px;
  426. border: none;
  427. }
  428. .microsoft-flex-block {
  429. display: flex;
  430. justify-content: space-evenly;
  431. flex-wrap: wrap;
  432. padding: 40px 0 50px 0;
  433. }
  434. .message-form {
  435. padding: 17px 0 0 20px;
  436. width: 70%;
  437. height: 125px;
  438. resize: none;
  439. margin-bottom: 50px;
  440. border: none;
  441. }
  442. .col-microsoft {
  443. width: 25%;
  444. }
  445. .footer {
  446. width: 100%;
  447. background: #34547a;
  448. }
  449. .footer-block {
  450. display: flex;
  451. justify-content: space-between;
  452. flex-direction: column;
  453. align-items: center;
  454. padding: 20px 0 42px 0;
  455. }
  456. .info {
  457. display: flex;
  458. align-items: center;
  459. flex-direction: column;
  460. }
  461. .info h3,
  462. .info p {
  463. color: white;
  464. margin: 0;
  465. padding: 0;
  466. }
  467. .info p {
  468. margin: 0 0 25px 0;
  469. }
  470. .vk-img a img {
  471. margin-left: 22px;
  472. }
  473. .info h3 {
  474. margin: 20px 0 20px 0;
  475. }
  476. @media (min-width: 556px) and (max-width: 767px) {
  477. .many-projects {
  478. padding: 0 60px;
  479. }
  480. }
  481. @media (min-width: 795px) and (max-width: 1049px) {
  482. .microsoft-flex-block {
  483. padding: 40px 100px 50px 100px;
  484. }
  485. }
  486. @media (max-width: 575px) {
  487. h1,
  488. h2,
  489. h3,
  490. h4,
  491. h5,
  492. h6 {
  493. font-size: 24px;
  494. }
  495. p {
  496. font-size: 14px;
  497. }
  498. .img-compuhter {
  499. max-width: 70%;
  500. }
  501. }
  502. @media (min-width: 576px) {
  503. .project-img img {
  504. margin: 0 0 0 15px;
  505. }
  506. }
  507. @media (min-width: 768px) and (max-width: 1023px) {
  508. .project-container {
  509. flex-wrap: nowrap;
  510. }
  511. }
  512. @media (min-width: 768px) {
  513. .form-block-name-email {
  514. display: block;
  515. }
  516. .input-name,
  517. .input-email {
  518. width: 22.2%;
  519. padding-left: 20px;
  520. height: 50px;
  521. }
  522. .input-email {
  523. margin: 0 0 20px 20px;
  524. }
  525. .message-form {
  526. padding: 17px 0 0 20px;
  527. width: 46.4%;
  528. height: 175px;
  529. resize: none;
  530. margin-bottom: 50px;
  531. }
  532. }
  533. @media (min-width: 992px) {
  534. }
  535. @media (min-width: 1024px) {
  536. .about-me-lorem {
  537. max-width: 270px;
  538. }
  539. .col-order1,
  540. .col-order2,
  541. .col-order3,
  542. .col-order4 {
  543. order: 0;
  544. }
  545. .section-gellary .col {
  546. width: 25%;
  547. padding-top: 25%;
  548. }
  549. .skill-col {
  550. width: 50%;
  551. }
  552. .col {
  553. width: 50%;
  554. }
  555. .img-compuhter {
  556. margin-bottom: 0px;
  557. }
  558. .col--description {
  559. display: block;
  560. }
  561. .holder,
  562. .title {
  563. text-align: left;
  564. }
  565. .title {
  566. margin-bottom: 60px;
  567. }
  568. .banner-wrap {
  569. flex-direction: row;
  570. }
  571. .skill-row {
  572. flex-direction: row;
  573. }
  574. .skill-img {
  575. margin: 0;
  576. }
  577. .input-block p {
  578. margin: 50px 0 65px 0;
  579. }
  580. .about-me-lorem-p {
  581. display: inline-block;
  582. max-width: 44.8%;
  583. margin: 50px 0 100px 0;
  584. }
  585. .about-me-h2 {
  586. margin-top: 119px;
  587. }
  588. .about-me-lorem {
  589. max-width: 545px;
  590. margin: 50px 0 100px 0;
  591. }
  592. .project {
  593. display: flex;
  594. width: 16.666%;
  595. padding: 0 7px 14px;
  596. }
  597. .section-skill {
  598. padding: 100px 0;
  599. }
  600. .video-block {
  601. padding: 100px 0 100px 0;
  602. }
  603. .input-block {
  604. padding: 100px 0 100px 0;
  605. }
  606. .microsoft-flex-block {
  607. padding: 72px 0 100px 0;
  608. }
  609. .section-banner {
  610. background: #eeeff1;
  611. padding: 150px 0 146px;
  612. }
  613. .header-block {
  614. padding: 57px 0 0 0;
  615. }
  616. .burger {
  617. display: none;
  618. }
  619. .header-list {
  620. position: static;
  621. display: flex;
  622. align-items: center;
  623. opacity: 1;
  624. visibility: visible;
  625. border: 0;
  626. }
  627. .item a {
  628. padding-bottom: 0px;
  629. margin-bottom: 0px;
  630. }
  631. .header-item + .header-item {
  632. padding-left: 42px;
  633. }
  634. .footer-block {
  635. display: flex;
  636. justify-content: space-between;
  637. flex-direction: row;
  638. align-items: center;
  639. padding: 42px 0 42px 0;
  640. }
  641. .info {
  642. display: flex;
  643. flex-direction: column;
  644. align-items: flex-start;
  645. }
  646. .info p {
  647. margin: 0;
  648. }
  649. }