media.css 10.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638
  1. @media (max-width: 1240px) {
  2. .form-text {
  3. max-width: 850px;
  4. height: 360px;
  5. margin: 30px;
  6. padding-left: 150px;
  7. }
  8. .form {
  9. max-width: 240px;
  10. }
  11. .form > p {
  12. margin: 20px 20px 20px;
  13. }
  14. .form > input,
  15. select {
  16. width: 190px;
  17. height: 45px;
  18. margin-left: 20px;
  19. }
  20. .form-button {
  21. margin: 5px 0 0 95px;
  22. width: 115px;
  23. }
  24. .text-on-fone {
  25. min-width: 480px;
  26. margin-top: 40px;
  27. }
  28. .text-on-fone > h1 {
  29. font-size: 43px;
  30. }
  31. .text-on-fone > p {
  32. font-size: 37px;
  33. }
  34. .block3-boxs {
  35. display: flex;
  36. justify-content: space-around;
  37. }
  38. .block3 {
  39. margin: -100px 0 10px;
  40. }
  41. .box-info {
  42. margin: 0 10px 20px;
  43. }
  44. .box-info > img {
  45. width: 40%;
  46. }
  47. .box-text {
  48. margin-left: 200px;
  49. }
  50. .box-text > h1 {
  51. padding-top: 15px;
  52. font-size: 18px;
  53. }
  54. .box-text > blockquote {
  55. margin-top: 10px;
  56. font-size: 13px;
  57. }
  58. .box-text > cite {
  59. font-size: 13px;
  60. }
  61. .gallery > img {
  62. width: 25%;
  63. height: 25%;
  64. }
  65. .about-us {
  66. width: 100%;
  67. margin-top: -70px;
  68. flex-direction: column;
  69. align-items: center;
  70. }
  71. .about-us-text {
  72. text-align: center;
  73. padding-bottom: 50px;
  74. }
  75. .yoga-gallery {
  76. margin-left: 0;
  77. }
  78. .features {
  79. margin: -40px 0;
  80. display: flex;
  81. justify-content: center;
  82. }
  83. .features-boxs {
  84. margin: 0 0 40px 30px;
  85. }
  86. .box-prices h1 {
  87. padding: 30px 110px;
  88. }
  89. .box-prices sub {
  90. position: relative;
  91. bottom: 52px;
  92. }
  93. .box-prices p {
  94. padding-top: 45px;
  95. }
  96. .box-prices a {
  97. margin: 45px 0;
  98. }
  99. .six-content {
  100. height: 950px;
  101. }
  102. }
  103. @media (max-width: 1060px) {
  104. .form-text {
  105. min-width: 600px;
  106. height: 360px;
  107. margin: 30px 0;
  108. padding-left: 0;
  109. justify-content: center;
  110. }
  111. .text-on-fone {
  112. max-width: 400px;
  113. margin-top: 40px;
  114. }
  115. .text-on-fone > h1 {
  116. font-size: 37px;
  117. width: 100%;
  118. }
  119. .text-on-fone > p {
  120. font-size: 35px;
  121. }
  122. .block3-boxs {
  123. max-width: 850px;
  124. }
  125. .block3 {
  126. min-height: 1400px;
  127. margin: -30px 0 -10px;
  128. }
  129. .box-info {
  130. margin: 0 10px 30px;
  131. min-height: 520px;
  132. }
  133. .box-info > img {
  134. width: 100%;
  135. float: none;
  136. }
  137. .box-text {
  138. margin-left: 10px;
  139. display: flex;
  140. flex-direction: column;
  141. align-items: center;
  142. }
  143. .box-text > h1 {
  144. font-size: 18px;
  145. }
  146. .box-text > blockquote {
  147. font-size: 14px;
  148. }
  149. .box-text > cite {
  150. font-size: 14px;
  151. }
  152. .box-prices h1 {
  153. font-size: 60px;
  154. padding: 20px 90px;
  155. }
  156. .box-prices sub {
  157. position: relative;
  158. bottom: 40px;
  159. left: 80px;
  160. font-size: 16px;
  161. }
  162. .box-prices a {
  163. margin: 35px 0;
  164. }
  165. .boxs-bloquotes {
  166. height: 370px;
  167. position: relative;
  168. }
  169. .bloquotes {
  170. display: flex;
  171. flex-direction: column;
  172. align-items: center;
  173. }
  174. .bloquotes img {
  175. width: 290px;
  176. height: 250px;
  177. margin: -20px 0 -30px;
  178. }
  179. .bloquotes blockquote {
  180. padding: 0 0 30px;
  181. max-width: 500px;
  182. font-size: 16px;
  183. }
  184. .bloquotes blockquote::before {
  185. top: -20px;
  186. left: -30px;
  187. }
  188. .bloquotes blockquote::after {
  189. top: 60px;
  190. right: -20px;
  191. }
  192. .bloquotes cite {
  193. margin-left: -350px;
  194. }
  195. .bloquotes cite::before {
  196. display: none;
  197. }
  198. .icon-left a {
  199. padding-bottom: 20px;
  200. }
  201. .icon-left li {
  202. min-height: 160px;
  203. padding: 60px 0 0;
  204. display: flex;
  205. flex-direction: column;
  206. }
  207. }
  208. @media (max-width: 860px) {
  209. .six-content {
  210. min-height: 1900px;
  211. }
  212. .boxs-prices {
  213. display: flex;
  214. flex-direction: column;
  215. align-items: center;
  216. }
  217. .box-prices {
  218. max-width: 306px;
  219. margin: -40px 0 60px;
  220. }
  221. .box-prices h1 {
  222. padding: 20px 110px;
  223. }
  224. .box-prices p::after {
  225. content: "";
  226. width: 80px;
  227. height: 1px;
  228. background: #d7d7d7;
  229. display: block;
  230. position: relative;
  231. top: 20px;
  232. left: 30%;
  233. }
  234. }
  235. @media (max-width: 750px) {
  236. .logo {
  237. padding-left: 60px;
  238. }
  239. .menu__btn > span,
  240. .menu__btn > span::before,
  241. .menu__btn > span::after {
  242. display: block;
  243. position: absolute;
  244. width: 100%;
  245. height: 2px;
  246. background-color: #5b6ceb;
  247. transition: transform 0.2s;
  248. }
  249. .menu__btn > span::before {
  250. content: "";
  251. top: -8px;
  252. }
  253. .menu__btn > span::after {
  254. content: "";
  255. top: 8px;
  256. }
  257. .menu__box {
  258. position: fixed;
  259. visibility: hidden;
  260. top: 0;
  261. left: -100%;
  262. width: 250px;
  263. height: 100%;
  264. padding: 70px 0;
  265. text-align: center;
  266. background-color: #d6d6da;
  267. z-index: 2;
  268. box-shadow: 1px 0px 6px rgba(0, 0, 0, 0.2);
  269. transition: all 0.5s;
  270. display: flex;
  271. flex-direction: column;
  272. }
  273. .menu__item {
  274. line-height: 3;
  275. color: #333;
  276. font-size: 25px;
  277. font-weight: 600;
  278. text-decoration: none;
  279. }
  280. #menu__toggle:checked ~ .menu__btn > span {
  281. transform: rotate(45deg);
  282. transition: transform 0.5s;
  283. }
  284. #menu__toggle:checked ~ .menu__btn > span::before {
  285. top: 0;
  286. transform: rotate(0);
  287. transition: transform 0.5s;
  288. }
  289. #menu__toggle:checked ~ .menu__btn > span::after {
  290. top: 0;
  291. transform: rotate(90deg);
  292. transition: transform 0.5s;
  293. }
  294. #menu__toggle:checked ~ .menu__box {
  295. visibility: visible;
  296. left: 0;
  297. }
  298. .menu__btn2 > span,
  299. .menu__btn2 > span::before,
  300. .menu__btn2 > span::after {
  301. display: block;
  302. position: absolute;
  303. width: 100%;
  304. height: 2px;
  305. background-color: #5b6ceb;
  306. transition: transform 0.2s;
  307. }
  308. .menu__btn2 > span::before {
  309. content: "";
  310. top: -8px;
  311. }
  312. .menu__btn2 > span::after {
  313. content: "";
  314. top: 8px;
  315. }
  316. .menu__box2 {
  317. position: fixed;
  318. visibility: hidden;
  319. top: 0;
  320. right: -100%;
  321. width: 250px;
  322. height: 100%;
  323. margin: 0;
  324. padding: 70px 0;
  325. text-align: center;
  326. background-color: #d6d6da;
  327. z-index: 2;
  328. box-shadow: 1px 0px 6px rgba(0, 0, 0, 0.2);
  329. transition: all 0.5s;
  330. display: flex;
  331. flex-direction: column;
  332. }
  333. .menu__item2 {
  334. line-height: 3;
  335. color: #333;
  336. font-size: 25px;
  337. font-weight: 600;
  338. text-decoration: none;
  339. }
  340. #menu__toggle2:checked ~ .menu__btn2 > span {
  341. transform: rotate(45deg);
  342. transition: transform 0.5s;
  343. }
  344. #menu__toggle2:checked ~ .menu__btn2 > span::before {
  345. top: 0;
  346. transform: rotate(0);
  347. transition: transform 0.5s;
  348. }
  349. #menu__toggle2:checked ~ .menu__btn2 > span::after {
  350. top: 0;
  351. transform: rotate(90deg);
  352. transition: transform 0.5s;
  353. }
  354. #menu__toggle2:checked ~ .menu__box2 {
  355. visibility: visible;
  356. right: 0;
  357. }
  358. .first-content {
  359. min-height: 850px;
  360. }
  361. .form-text {
  362. min-width: 300px;
  363. margin: 200px 0 0;
  364. padding-left: 0;
  365. justify-content: center;
  366. align-items: center;
  367. flex-direction: column-reverse;
  368. }
  369. .form {
  370. min-width: 300px;
  371. margin-top: 50px;
  372. }
  373. .form > p {
  374. font-size: 28px;
  375. padding: 15px 0;
  376. }
  377. .form > input,
  378. select {
  379. min-width: 250px;
  380. }
  381. .form-button {
  382. margin: 17px 0 20px 95px;
  383. min-width: 170px;
  384. }
  385. .text-on-fone {
  386. min-width: 300px;
  387. }
  388. .text-on-fone > h1 {
  389. font-size: 40px;
  390. width: 100%;
  391. }
  392. .text-on-fone > p {
  393. font-size: 38px;
  394. }
  395. .block3-boxs {
  396. max-width: 570px;
  397. }
  398. .block3 {
  399. min-height: 2600px;
  400. margin: -40px 0 20px;
  401. }
  402. .box-info {
  403. margin: 0 10px 30px;
  404. min-height: 500px;
  405. padding: 0 26px;
  406. border-radius: 10px 10px 0 0;
  407. display: flex;
  408. flex-direction: column;
  409. align-items: center;
  410. }
  411. .box-info > img {
  412. border-radius: 10px 10px 0 0;
  413. width: 120%;
  414. float: none;
  415. }
  416. .box-text > h1 {
  417. font-size: 20px;
  418. }
  419. .box-text > cite {
  420. font-size: 14px;
  421. padding-bottom: 10px;
  422. }
  423. .gallery {
  424. max-height: 1100px;
  425. display: flex;
  426. flex-wrap: wrap;
  427. }
  428. .gallery-img {
  429. width: 50%;
  430. }
  431. .gallery-img > img {
  432. width: 100%;
  433. }
  434. .boxs-bloquotes {
  435. height: 370px;
  436. position: relative;
  437. }
  438. .bloquotes img {
  439. width: 280px;
  440. height: 240px;
  441. }
  442. .bloquotes blockquote {
  443. max-width: 300px;
  444. }
  445. .bloquotes blockquote::after {
  446. top: 90px;
  447. }
  448. .bloquotes cite {
  449. margin-left: -150px;
  450. }
  451. }
  452. @media (max-width: 470px) {
  453. .first-content {
  454. min-height: 850px;
  455. }
  456. .form-text {
  457. max-width: 300px;
  458. margin: 200px 0 0;
  459. padding-left: 0;
  460. justify-content: center;
  461. align-items: center;
  462. flex-direction: column-reverse;
  463. }
  464. .form {
  465. min-width: 140px;
  466. }
  467. .form > input,
  468. select {
  469. min-width: 150px;
  470. }
  471. .form-button {
  472. margin: 5px 0 20px 95px;
  473. min-width: 90px;
  474. }
  475. .text-on-fone {
  476. max-width: 100px;
  477. }
  478. .text-on-fone > h1 {
  479. font-size: 34px;
  480. }
  481. .text-on-fone > p {
  482. font-size: 32px;
  483. }
  484. .block3-text {
  485. max-width: 240px;
  486. }
  487. .block3-boxs {
  488. max-width: 330px;
  489. }
  490. .block3 {
  491. min-height: 2400px;
  492. }
  493. .box-info {
  494. min-height: 500px;
  495. padding: 0 0;
  496. }
  497. .box-info > img {
  498. width: 100%;
  499. }
  500. .footer-decoration {
  501. min-height: 600px;
  502. }
  503. .decoration {
  504. display: flex;
  505. flex-direction: column;
  506. }
  507. .about > p {
  508. padding: 40px 0 50px;
  509. }
  510. .contacts {
  511. margin: 50px 0 0;
  512. }
  513. .icon-left li {
  514. min-height: 160px;
  515. padding: 40px 0 0;
  516. margin-right: 0;
  517. display: flex;
  518. flex-direction: column;
  519. }
  520. .five-content {
  521. max-height: 2420px;
  522. }
  523. .features-boxs {
  524. margin-left: 0;
  525. }
  526. .slick-next {
  527. right: -1px;
  528. }
  529. .slick-prev {
  530. left: -16px;
  531. }
  532. .slick-prev::before,
  533. .slick-next::before {
  534. font-size: 35px;
  535. }
  536. .six-content {
  537. min-height: 1800px;
  538. }
  539. .boxs-prices {
  540. display: flex;
  541. flex-direction: column;
  542. align-items: center;
  543. }
  544. .box-prices {
  545. max-width: 270px;
  546. margin: -40px 0 60px;
  547. }
  548. .box-prices h1 {
  549. padding: 20px 90px;
  550. }
  551. .boxs-bloquotes {
  552. margin: 10px 0 0;
  553. height: 390px;
  554. position: relative;
  555. }
  556. .bloquotes img {
  557. width: 260px;
  558. height: 220px;
  559. }
  560. .bloquotes blockquote {
  561. max-width: 220px;
  562. }
  563. .bloquotes blockquote::before {
  564. top: -20px;
  565. left: -20px;
  566. }
  567. .bloquotes blockquote::after {
  568. top: 120px;
  569. }
  570. .bloquotes cite {
  571. margin-left: -80px;
  572. }
  573. .copyright {
  574. padding: 30px 0;
  575. }
  576. .copyright > p {
  577. font-size: 14px;
  578. }
  579. }