style.css 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607
  1. *,
  2. *::before,
  3. *::after {
  4. box-sizing: border-box;
  5. }
  6. /* FONTS ICON */
  7. @font-face {
  8. font-family: "icomoon";
  9. src: url("fonts/icomoon.eot?rj8fwo");
  10. src: url("fonts/icomoon.eot?rj8fwo#iefix") format("embedded-opentype"),
  11. url("fonts/icomoon.ttf?rj8fwo") format("truetype"),
  12. url("fonts/icomoon.woff?rj8fwo") format("woff"),
  13. url("fonts/icomoon.svg?rj8fwo#icomoon") format("svg");
  14. font-weight: normal;
  15. font-style: normal;
  16. font-display: block;
  17. }
  18. [class^="icon-"],
  19. [class*=" icon-"] {
  20. /* use !important to prevent issues with browser extensions that change fonts */
  21. font-family: "icomoon" !important;
  22. speak: none;
  23. font-style: normal;
  24. font-weight: normal;
  25. font-variant: normal;
  26. text-transform: none;
  27. line-height: 1;
  28. /* Better Font Rendering =========== */
  29. -webkit-font-smoothing: antialiased;
  30. -moz-osx-font-smoothing: grayscale;
  31. }
  32. .icon-phone:before {
  33. content: "\e901";
  34. }
  35. .icon-facebook:before {
  36. content: "\e902";
  37. }
  38. .icon-twitter:before {
  39. content: "\e900";
  40. }
  41. .icon-planet:before {
  42. content: "\e906";
  43. }
  44. .icon-instagram:before {
  45. content: "\ea92";
  46. }
  47. .icon-pinterest:before {
  48. content: "\ead2";
  49. }
  50. .icon-mail:before {
  51. content: "\e905";
  52. }
  53. .icon-map:before {
  54. content: "\e904";
  55. }
  56. .icon-google:before {
  57. content: "\e903";
  58. }
  59. /* FONTS ICON */
  60. * {
  61. font-family: "Open Sans", sans-serif;
  62. font-size: 14px;
  63. border: none;
  64. color: #ffffff;
  65. }
  66. body {
  67. font-family: "Open Sans", sans-serif;
  68. font-size: 14px;
  69. color: #ffffff;
  70. }
  71. a {
  72. text-decoration: none;
  73. }
  74. /* THE ALL SITE */
  75. .wrapper {
  76. display: flex;
  77. flex-direction: column;
  78. /* max-width: 100%; */
  79. width: 1920px;
  80. /* width: 100%;
  81. max-width: 1920px; */
  82. min-height: 100vh;
  83. }
  84. .content {
  85. width: 1170px;
  86. margin: 0 auto;
  87. }
  88. /* THE ALL SITE */
  89. /* HEADER */
  90. .header {
  91. padding: 15px 0;
  92. display: flex;
  93. justify-content: center;
  94. align-items: center;
  95. }
  96. .content-head {
  97. width: 820px;
  98. display: flex;
  99. justify-content: space-between;
  100. align-items: center;
  101. margin-right: 71px;
  102. }
  103. .nav-right > .menu-box {
  104. display: flex;
  105. justify-content: flex-end;
  106. }
  107. .menu-box > li {
  108. display: inline;
  109. }
  110. .menu-box > li > a {
  111. color: #555555;
  112. padding: 0 13px;
  113. font-weight: bold;
  114. }
  115. .link {
  116. position: relative;
  117. }
  118. .menu-box .active {
  119. color: #5363db;
  120. }
  121. .active:after {
  122. content: "";
  123. display: block;
  124. width: 30px;
  125. height: 1px;
  126. background: #5363db;
  127. position: absolute;
  128. top: 100%;
  129. left: 32%;
  130. margin-top: 1px;
  131. }
  132. /* HEADER */
  133. /* MAIN */
  134. .main {
  135. flex-grow: 1;
  136. }
  137. .first-content {
  138. background: url("../img/slider-bg.png") no-repeat;
  139. background-size: 100%;
  140. width: 100%;
  141. height: 100vh;
  142. display: flex;
  143. justify-content: center;
  144. position: relative;
  145. }
  146. .form-text {
  147. display: flex;
  148. justify-content: space-between;
  149. width: 930px;
  150. padding-bottom: 35px;
  151. margin: 100px;
  152. margin-left: 340px;
  153. z-index: 1;
  154. }
  155. .form {
  156. position: relative;
  157. background: white;
  158. border-radius: 20px;
  159. box-shadow: 2px 2px 15px #4553c0;
  160. display: flex;
  161. flex-direction: column;
  162. align-content: center;
  163. width: 300px;
  164. }
  165. .form > p {
  166. color: #5363db;
  167. font-weight: bold;
  168. font-size: 25.64px;
  169. margin: 38px 0 29px 30px;
  170. padding-left: 4px;
  171. }
  172. .form > input,
  173. select {
  174. width: 230px;
  175. height: 50px;
  176. background: #f2f2f2;
  177. border-radius: 8px;
  178. margin-left: 30px;
  179. color: black;
  180. }
  181. .form > input:nth-child(2) {
  182. padding: 0 10px 8px;
  183. margin-bottom: 15px;
  184. }
  185. .form > input:nth-child(3) {
  186. padding: 0 10px 2px;
  187. margin-bottom: 17px;
  188. }
  189. .form > select {
  190. padding: 0 10px;
  191. margin-bottom: 15px;
  192. }
  193. .form-button {
  194. background: #475bf1;
  195. border-radius: 8px;
  196. cursor: pointer;
  197. text-align: center;
  198. word-spacing: 2px;
  199. margin: 17px 0 0 95px;
  200. width: 170px;
  201. padding: 13px 0 15px;
  202. font-weight: bold;
  203. font-size: 16px;
  204. }
  205. .text-on-fone {
  206. width: 570px;
  207. height: 265px;
  208. margin-top: 58px;
  209. padding-left: 35px;
  210. display: flex;
  211. flex-direction: column;
  212. }
  213. .text-on-fone > h1 {
  214. font-size: 48px;
  215. text-transform: uppercase;
  216. font-weight: bold;
  217. line-height: 1.46;
  218. letter-spacing: 0.8px;
  219. display: inline;
  220. }
  221. .text-on-fone > p {
  222. display: inline;
  223. font-size: 40px;
  224. letter-spacing: 2px;
  225. line-height: 0.88;
  226. word-spacing: 5px;
  227. font-family: "Freestyle Script";
  228. }
  229. /* TWO CONENT */
  230. .two-content {
  231. height: 1000px;
  232. display: flex;
  233. align-items: center;
  234. justify-content: center;
  235. }
  236. .block3 {
  237. height: 825px;
  238. margin-bottom: 125px;
  239. margin-top: 50px;
  240. display: flex;
  241. align-items: center;
  242. justify-content: center;
  243. flex-direction: column;
  244. }
  245. .block3-text {
  246. max-width: 420px;
  247. padding-top: 42px;
  248. display: flex;
  249. flex-direction: column;
  250. align-items: center;
  251. }
  252. .block3-text > h1 {
  253. color: #5b6ceb;
  254. font-weight: bold;
  255. font-size: 30px;
  256. text-transform: uppercase;
  257. padding-top: 3px;
  258. letter-spacing: 0.4px;
  259. }
  260. .block3-text > p {
  261. color: #777777;
  262. font-size: 40.99px;
  263. padding-right: 5px;
  264. padding-top: 17px;
  265. word-spacing: 2px;
  266. letter-spacing: 1.4px;
  267. font-family: "Freestyle Script";
  268. }
  269. .block3-boxs {
  270. width: 1170px;
  271. height: 625px;
  272. margin-top: 67px;
  273. display: flex;
  274. flex-wrap: wrap;
  275. justify-content: space-between;
  276. align-content: space-between;
  277. }
  278. .box-info {
  279. width: 570px;
  280. box-shadow: 3px 3px 15px #e4e4e4;
  281. }
  282. .box-info > img {
  283. float: left;
  284. }
  285. .box-text {
  286. margin-left: 300px;
  287. width: 245px;
  288. }
  289. .box-text > h1 {
  290. font-size: 20px;
  291. font-weight: bold;
  292. text-transform: uppercase;
  293. padding-top: 47px;
  294. letter-spacing: 0.3px;
  295. color: #777777;
  296. }
  297. .box-text > blockquote {
  298. color: #6c6c6c;
  299. margin-top: 28px;
  300. line-height: 1.6;
  301. margin-top: 28px;
  302. margin-bottom: 10px;
  303. }
  304. .box-text > cite {
  305. color: #999999;
  306. }
  307. /* THREE CONTENT */
  308. .gallery {
  309. width: 100%;
  310. display: flex;
  311. flex-wrap: wrap;
  312. }
  313. .hover {
  314. background: no-repeat;
  315. position: relative;
  316. }
  317. .hover::after {
  318. content: "";
  319. background: url(./img/hover_6.png) no-repeat;
  320. position: absolute;
  321. top: 146px;
  322. left: 211px;
  323. right: 0;
  324. bottom: 0;
  325. }
  326. .hover::before {
  327. content: "";
  328. background: rgb(124, 137, 239, 0.8);
  329. position: absolute;
  330. top: 0;
  331. left: 0;
  332. right: 0;
  333. bottom: 0;
  334. }
  335. /* FOUR CONTENT */
  336. .four-content {
  337. display: flex;
  338. align-items: center;
  339. justify-content: center;
  340. }
  341. .about-us {
  342. padding: 124px 0;
  343. display: flex;
  344. justify-content: space-between;
  345. }
  346. .about-us-text > h1 {
  347. font-size: 30px;
  348. font-weight: bold;
  349. color: #5b6ceb;
  350. text-transform: uppercase;
  351. padding-top: 20px;
  352. margin-bottom: 19px;
  353. word-spacing: 1px;
  354. letter-spacing: 0.1px;
  355. }
  356. .about-us-text > p {
  357. line-height: 1.7;
  358. color: #555555;
  359. }
  360. .yoga-gallery {
  361. width: 570px;
  362. position: relative;
  363. }
  364. .yoga-gallery img {
  365. border-radius: 8px;
  366. }
  367. .yoga-gallery::after {
  368. content: "";
  369. background: rgb(196, 197, 201, 0.3);
  370. position: absolute;
  371. top: 0;
  372. left: 0;
  373. right: 0;
  374. bottom: 0;
  375. }
  376. .slick-next {
  377. right: 12px;
  378. top: 45%;
  379. z-index: 1;
  380. }
  381. .slick-prev {
  382. left: -28px;
  383. top: 45%;
  384. z-index: 1;
  385. }
  386. .slick-prev::before,
  387. .slick-next::before {
  388. color: #ff4d4d;
  389. font-size: 60px;
  390. }
  391. /* FIVE CONTENT */
  392. .five-content {
  393. height: 800px;
  394. display: flex;
  395. justify-content: center;
  396. align-items: center;
  397. background: url("../img/feture-fone.png") no-repeat;
  398. background-size: 100%;
  399. width: 100%;
  400. }
  401. .features {
  402. height: 550px;
  403. display: flex;
  404. flex-wrap: wrap;
  405. justify-content: space-between;
  406. align-content: space-between;
  407. }
  408. .features-boxs {
  409. width: 270px;
  410. height: 250px;
  411. display: flex;
  412. flex-direction: column;
  413. align-items: center;
  414. }
  415. .features-boxs > img {
  416. margin-bottom: 27px;
  417. }
  418. .features-boxs > h1 {
  419. font-size: 18px;
  420. font-weight: bold;
  421. text-align: center;
  422. line-height: 1.5;
  423. letter-spacing: 0.3px;
  424. margin-left: -1px;
  425. padding-bottom: 12px;
  426. flex-grow: 1;
  427. }
  428. .features-boxs > p {
  429. line-height: 1.7;
  430. text-align: center;
  431. font-size: 16px;
  432. padding-bottom: 7px;
  433. }
  434. /* MAIN */
  435. /* FOOTER */
  436. .footer-decoration {
  437. background: #5b6ceb;
  438. /* height: 225px; */
  439. padding: 75px 0;
  440. display: flex;
  441. align-items: center;
  442. }
  443. .decoration {
  444. padding: 112.5px 0;
  445. display: flex;
  446. justify-content: space-between;
  447. }
  448. .about {
  449. width: 500px;
  450. /* height: 300px; */
  451. }
  452. .about > h1,
  453. .contacts > h1 {
  454. text-transform: uppercase;
  455. font-size: 18px;
  456. font-weight: bold;
  457. }
  458. .icon {
  459. display: flex;
  460. }
  461. .contacts {
  462. }
  463. .connection {
  464. display: flex;
  465. }
  466. .footer-copyright {
  467. background: #5363d8;
  468. }
  469. .copyright {
  470. padding: 50px 0;
  471. display: flex;
  472. align-items: center;
  473. justify-content: center;
  474. }
  475. .copyright > p {
  476. opacity: 0.7;
  477. font-size: 16px;
  478. }
  479. @media (max-width: 1365px) {
  480. /* .first-content{
  481. height: auto;
  482. } */
  483. .form-text {
  484. width: 850px;
  485. height: 320px;
  486. margin: 30px;
  487. margin-left: 250px;
  488. }
  489. .form {
  490. width: 240px;
  491. }
  492. .form > p {
  493. margin: 20px 20px 20px;
  494. }
  495. .form > input,
  496. select {
  497. width: 190px;
  498. height: 45px;
  499. margin-left: 20px;
  500. }
  501. .form-button {
  502. margin: 5px 0 0 95px;
  503. width: 115px;
  504. }
  505. .text-on-fone {
  506. margin-top: 40px;
  507. }
  508. .text-on-fone > h1 {
  509. font-size: 43px;
  510. }
  511. .text-on-fone > p {
  512. font-size: 37px;
  513. }
  514. .block3 {
  515. /* margin-top: -350px; */
  516. }
  517. .gallery {
  518. /* margin-top: -230px; */
  519. }
  520. .gallery > img {
  521. width: 25%;
  522. }
  523. .about-us {
  524. width: 1100px;
  525. }
  526. }