media.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647
  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: -450px;
  194. }
  195. .bloquotes p {
  196. margin-left: -355px;
  197. }
  198. .bloquotes cite::before {
  199. display: none;
  200. }
  201. .icon-left a {
  202. padding-bottom: 20px;
  203. }
  204. .icon-left li {
  205. min-height: 160px;
  206. padding: 60px 0 0;
  207. display: flex;
  208. flex-direction: column;
  209. }
  210. }
  211. @media (max-width: 860px) {
  212. .six-content {
  213. min-height: 1900px;
  214. }
  215. .boxs-prices {
  216. display: flex;
  217. flex-direction: column;
  218. align-items: center;
  219. }
  220. .box-prices {
  221. max-width: 306px;
  222. margin: -40px 0 60px;
  223. }
  224. .box-prices h1 {
  225. padding: 20px 110px;
  226. }
  227. .box-prices p::after {
  228. content: "";
  229. width: 80px;
  230. height: 1px;
  231. background: #d7d7d7;
  232. display: block;
  233. position: relative;
  234. top: 20px;
  235. left: 30%;
  236. }
  237. }
  238. @media (max-width: 750px) {
  239. .logo {
  240. padding-left: 60px;
  241. }
  242. .menu__btn > span,
  243. .menu__btn > span::before,
  244. .menu__btn > span::after {
  245. display: block;
  246. position: absolute;
  247. width: 100%;
  248. height: 2px;
  249. background-color: #5b6ceb;
  250. transition: transform 0.2s;
  251. }
  252. .menu__btn > span::before {
  253. content: "";
  254. top: -8px;
  255. }
  256. .menu__btn > span::after {
  257. content: "";
  258. top: 8px;
  259. }
  260. .menu__box {
  261. position: fixed;
  262. visibility: hidden;
  263. top: 0;
  264. left: -100%;
  265. width: 250px;
  266. height: 100%;
  267. padding: 70px 0;
  268. text-align: center;
  269. background-color: #d6d6da;
  270. z-index: 2;
  271. box-shadow: 1px 0px 6px rgba(0, 0, 0, 0.2);
  272. transition: all 0.5s;
  273. display: flex;
  274. flex-direction: column;
  275. }
  276. .menu__item {
  277. line-height: 3;
  278. color: #333;
  279. font-size: 25px;
  280. font-weight: 600;
  281. text-decoration: none;
  282. }
  283. #menu__toggle:checked ~ .menu__btn > span {
  284. transform: rotate(45deg);
  285. transition: transform 0.5s;
  286. }
  287. #menu__toggle:checked ~ .menu__btn > span::before {
  288. top: 0;
  289. transform: rotate(0);
  290. transition: transform 0.5s;
  291. }
  292. #menu__toggle:checked ~ .menu__btn > span::after {
  293. top: 0;
  294. transform: rotate(90deg);
  295. transition: transform 0.5s;
  296. }
  297. #menu__toggle:checked ~ .menu__box {
  298. visibility: visible;
  299. left: 0;
  300. }
  301. .menu__btn2 > span,
  302. .menu__btn2 > span::before,
  303. .menu__btn2 > span::after {
  304. display: block;
  305. position: absolute;
  306. width: 100%;
  307. height: 2px;
  308. background-color: #5b6ceb;
  309. transition: transform 0.2s;
  310. }
  311. .menu__btn2 > span::before {
  312. content: "";
  313. top: -8px;
  314. }
  315. .menu__btn2 > span::after {
  316. content: "";
  317. top: 8px;
  318. }
  319. .menu__box2 {
  320. position: fixed;
  321. visibility: hidden;
  322. top: 0;
  323. right: -100%;
  324. width: 250px;
  325. height: 100%;
  326. margin: 0;
  327. padding: 70px 0;
  328. text-align: center;
  329. background-color: #d6d6da;
  330. z-index: 2;
  331. box-shadow: 1px 0px 6px rgba(0, 0, 0, 0.2);
  332. transition: all 0.5s;
  333. display: flex;
  334. flex-direction: column;
  335. }
  336. .menu__item2 {
  337. line-height: 3;
  338. color: #333;
  339. font-size: 25px;
  340. font-weight: 600;
  341. text-decoration: none;
  342. }
  343. #menu__toggle2:checked ~ .menu__btn2 > span {
  344. transform: rotate(45deg);
  345. transition: transform 0.5s;
  346. }
  347. #menu__toggle2:checked ~ .menu__btn2 > span::before {
  348. top: 0;
  349. transform: rotate(0);
  350. transition: transform 0.5s;
  351. }
  352. #menu__toggle2:checked ~ .menu__btn2 > span::after {
  353. top: 0;
  354. transform: rotate(90deg);
  355. transition: transform 0.5s;
  356. }
  357. #menu__toggle2:checked ~ .menu__box2 {
  358. visibility: visible;
  359. right: 0;
  360. }
  361. .first-content {
  362. min-height: 850px;
  363. }
  364. .form-text {
  365. min-width: 300px;
  366. margin: 200px 0 0;
  367. padding-left: 0;
  368. justify-content: center;
  369. align-items: center;
  370. flex-direction: column-reverse;
  371. }
  372. .form {
  373. min-width: 300px;
  374. margin-top: 50px;
  375. }
  376. .form > p {
  377. font-size: 28px;
  378. padding: 15px 0;
  379. }
  380. .form > input,
  381. select {
  382. min-width: 250px;
  383. }
  384. .form-button {
  385. margin: 17px 0 20px 95px;
  386. min-width: 170px;
  387. }
  388. .text-on-fone {
  389. min-width: 300px;
  390. }
  391. .text-on-fone > h1 {
  392. font-size: 40px;
  393. width: 100%;
  394. }
  395. .text-on-fone > p {
  396. font-size: 38px;
  397. }
  398. .block3-boxs {
  399. max-width: 570px;
  400. }
  401. .block3 {
  402. min-height: 2600px;
  403. margin: -40px 0 20px;
  404. }
  405. .box-info {
  406. margin: 0 10px 30px;
  407. min-height: 500px;
  408. padding: 0 26px;
  409. border-radius: 10px 10px 0 0;
  410. display: flex;
  411. flex-direction: column;
  412. align-items: center;
  413. }
  414. .box-info > img {
  415. border-radius: 10px 10px 0 0;
  416. width: 120%;
  417. float: none;
  418. }
  419. .box-text > h1 {
  420. font-size: 20px;
  421. }
  422. .box-text > cite {
  423. font-size: 14px;
  424. padding-bottom: 10px;
  425. }
  426. .gallery {
  427. max-height: 1100px;
  428. display: flex;
  429. flex-wrap: wrap;
  430. }
  431. .gallery-img {
  432. width: 50%;
  433. }
  434. .gallery-img > img {
  435. width: 100%;
  436. }
  437. .boxs-bloquotes {
  438. height: 370px;
  439. position: relative;
  440. }
  441. .bloquotes img {
  442. width: 280px;
  443. height: 240px;
  444. }
  445. .bloquotes blockquote {
  446. max-width: 300px;
  447. }
  448. .bloquotes blockquote::after {
  449. top: 90px;
  450. }
  451. .bloquotes cite {
  452. margin-left: -250px;
  453. }
  454. .bloquotes p {
  455. margin-left: -155px;
  456. }
  457. }
  458. @media (max-width: 470px) {
  459. .first-content {
  460. min-height: 850px;
  461. }
  462. .form-text {
  463. max-width: 300px;
  464. margin: 200px 0 0;
  465. padding-left: 0;
  466. justify-content: center;
  467. align-items: center;
  468. flex-direction: column-reverse;
  469. }
  470. .form {
  471. min-width: 140px;
  472. }
  473. .form > input,
  474. select {
  475. min-width: 150px;
  476. }
  477. .form-button {
  478. margin: 5px 0 20px 95px;
  479. min-width: 90px;
  480. }
  481. .text-on-fone {
  482. max-width: 100px;
  483. }
  484. .text-on-fone > h1 {
  485. font-size: 34px;
  486. }
  487. .text-on-fone > p {
  488. font-size: 32px;
  489. }
  490. .block3-text {
  491. max-width: 240px;
  492. }
  493. .block3-boxs {
  494. max-width: 330px;
  495. }
  496. .block3 {
  497. min-height: 2450px;
  498. }
  499. .box-info {
  500. min-height: 500px;
  501. padding: 0 0;
  502. }
  503. .box-info > img {
  504. width: 100%;
  505. }
  506. .footer-decoration {
  507. min-height: 600px;
  508. }
  509. .decoration {
  510. display: flex;
  511. flex-direction: column;
  512. }
  513. .about > p {
  514. padding: 40px 0 50px;
  515. }
  516. .contacts {
  517. margin: 50px 0 0;
  518. }
  519. .icon-left li {
  520. min-height: 160px;
  521. padding: 40px 0 0;
  522. margin-right: 0;
  523. display: flex;
  524. flex-direction: column;
  525. }
  526. .five-content {
  527. max-height: 2420px;
  528. }
  529. .features-boxs {
  530. margin-left: 0;
  531. }
  532. .slick-next {
  533. right: -1px;
  534. }
  535. .slick-prev {
  536. left: -16px;
  537. }
  538. .slick-prev::before,
  539. .slick-next::before {
  540. font-size: 35px;
  541. }
  542. .six-content {
  543. min-height: 1800px;
  544. }
  545. .boxs-prices {
  546. display: flex;
  547. flex-direction: column;
  548. align-items: center;
  549. }
  550. .box-prices {
  551. max-width: 270px;
  552. margin: -40px 0 60px;
  553. }
  554. .box-prices h1 {
  555. padding: 20px 90px;
  556. }
  557. .boxs-bloquotes {
  558. margin: 10px 0 0;
  559. height: 390px;
  560. position: relative;
  561. }
  562. .bloquotes img {
  563. width: 260px;
  564. height: 220px;
  565. }
  566. .bloquotes blockquote {
  567. max-width: 220px;
  568. }
  569. .bloquotes blockquote::before {
  570. top: -20px;
  571. left: -20px;
  572. }
  573. .bloquotes blockquote::after {
  574. top: 120px;
  575. }
  576. .bloquotes cite {
  577. margin-left: -180px;
  578. }
  579. .bloquotes p {
  580. margin-left: -85px;
  581. }
  582. .copyright {
  583. padding: 30px 0;
  584. }
  585. .copyright > p {
  586. font-size: 14px;
  587. }
  588. }