index.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727
  1. * {
  2. box-sizing: border-box;
  3. }
  4. body {
  5. padding: 15px;
  6. }
  7. body.modal-active {
  8. /* @todo */
  9. overflow: hidden;
  10. }
  11. a {
  12. text-decoration: none;
  13. }
  14. img {
  15. max-width: 100%;
  16. height: auto;
  17. }
  18. #shadow {
  19. /* @todo */
  20. display: none;
  21. }
  22. #shadow.active {
  23. /* @todo */
  24. display: block;
  25. background-color: rgba(0, 0, 0, 0.5);
  26. position: fixed;
  27. z-index: 2;
  28. width: 100vw;
  29. height: 100vh;
  30. top: 0;
  31. left: 0;
  32. }
  33. header {
  34. height: 60px;
  35. max-width: 1300px;
  36. margin: 35px auto 110px;
  37. display: flex;
  38. justify-content: space-between;
  39. }
  40. .logo {
  41. width: 41px;
  42. height: 41px;
  43. }
  44. nav {
  45. display: flex;
  46. align-items: flex-start;
  47. }
  48. .nav-list {
  49. display: flex;
  50. justify-content: space-between;
  51. margin-right: 34px;
  52. }
  53. .nav-item {
  54. padding-left: 34px;
  55. list-style: none;
  56. }
  57. .nav-item a {
  58. font-family: 'Inter', sans-serif;
  59. font-size: 16px;
  60. font-weight: 400;
  61. color:#B8BECD;
  62. }
  63. .nav-item a:hover {
  64. color: black;
  65. }
  66. .nav-item:first-child {
  67. padding-left: 0;
  68. }
  69. .nav-item .menu-burger-btn {
  70. /* @todo */
  71. margin-left: 0;
  72. cursor: pointer;
  73. }
  74. .nav-item.hide {
  75. display: none;
  76. }
  77. .header-right {
  78. display: flex;
  79. min-width: 80px;
  80. justify-content: space-between;
  81. align-items: center;
  82. }
  83. #account-burger-btn,
  84. .menu-burger-btn {
  85. /* background: transparent;
  86. border: none; */
  87. width: 40px;
  88. height: 35px;
  89. /* display: flex;
  90. justify-content: center;
  91. align-items: center; */
  92. position: relative;
  93. display: block;
  94. }
  95. .account {
  96. display: flex;
  97. align-items: baseline;
  98. justify-content: space-between;
  99. width: 282px;
  100. }
  101. .account button {
  102. width: 132px;
  103. height: 44px;
  104. border-radius: 8px;
  105. font-size: 15px;
  106. font-weight: 500;
  107. font-family: Inter;
  108. }
  109. .nav-burger {
  110. display: flex;
  111. }
  112. .login {
  113. border: 1px solid #FB8F1D;
  114. color: #FB8F1D;
  115. background: white;
  116. }
  117. .register {
  118. background: #FB8F1D;
  119. color: white;
  120. border: none;
  121. }
  122. .heading {
  123. max-width: 1300px;
  124. margin: 0 auto 15%;
  125. display: flex;
  126. justify-content: space-between;
  127. align-items: center;
  128. }
  129. .heading-box {
  130. margin-right: 20px;
  131. }
  132. .heading-box-title {
  133. max-width: 370px;
  134. font-family: Playfair Display;
  135. font-size: 64px;
  136. font-weight: 700;
  137. margin: 0 0 74px;
  138. color: #202336;
  139. }
  140. .heading-box-text {
  141. font-family: Inter;
  142. font-size: 22px;
  143. font-weight: 600;
  144. color: #202336;
  145. margin-bottom: 33px;
  146. }
  147. .heading-box-button {
  148. width: 187px;
  149. height: 52px;
  150. background-color: #FB8F1D;
  151. border-radius: 8px;
  152. display: flex;
  153. justify-content: center;
  154. align-items: center;
  155. color: white;
  156. font-family: Mulish;
  157. font-size: 17px;
  158. font-weight: 700;
  159. border: none;
  160. }
  161. .heading-img-box {
  162. width: 50%;
  163. max-width: 100%;
  164. }
  165. .section2 {
  166. display: flex;
  167. justify-content: space-between;
  168. margin: 0 auto 298px;
  169. max-width: 1272px;
  170. padding: 0 15px;
  171. }
  172. .section2-img {
  173. margin-right: 30px;
  174. }
  175. .section2-inner-title {
  176. font-family: Playfair Display;
  177. font-size: 36px;
  178. font-weight: 700;
  179. color: #000000;
  180. max-width: 481px;
  181. margin: 96px auto 20px;
  182. }
  183. .section2-inner-text {
  184. font-family: Mulish;
  185. font-size: 17px;
  186. font-weight: 300;
  187. max-width: 450px;
  188. color: #7D7987;
  189. margin: 0 0 33px;
  190. }
  191. .section2-inner-button {
  192. width: 164px;
  193. height: 48px;
  194. background-color: #FB8F1D;
  195. border-radius: 8px;
  196. display: flex;
  197. justify-content: center;
  198. align-items: center;
  199. color: white;
  200. font-family: Inter;
  201. font-size: 16px;
  202. font-weight: 600;
  203. }
  204. .destinations {
  205. max-width: 1150px;
  206. padding: 0 15px;
  207. margin: 0 auto 15%;
  208. }
  209. .destinations-head {
  210. display: flex;
  211. width: 100%;
  212. justify-content: space-between;
  213. align-items: flex-start;
  214. margin-bottom: 56px;
  215. }
  216. .destinations-title {
  217. font-family: Playfair Display;
  218. font-size: 36px;
  219. font-weight: 700;
  220. line-height: 50px;
  221. color: black;
  222. margin: 0;
  223. }
  224. .destinations-more {
  225. font-family: Inter;
  226. font-size: 17px;
  227. font-weight: 600;
  228. line-height: 60px;
  229. color: #FB8F1D;
  230. }
  231. .destinations-inner {
  232. display: flex;
  233. justify-content: space-between;
  234. }
  235. .destinations-item {
  236. position: relative;
  237. }
  238. .destinations-item img {
  239. width: 261px;
  240. height: 332px;
  241. margin-right: 5px;
  242. }
  243. .destinations-item img:last-child {
  244. margin: 0;
  245. }
  246. .destinations-desc {
  247. width: 120px;
  248. height: 56px;
  249. position: absolute;
  250. bottom: 3px;
  251. left: -1px;
  252. background-color: white;
  253. display: flex;
  254. flex-direction: column;
  255. justify-content: flex-end;
  256. }
  257. .destinations-desc-place {
  258. font-family: Inter;
  259. font-size: 17px;
  260. font-weight: 600;
  261. line-height: 25px;
  262. color: #042521;
  263. margin: 0;
  264. }
  265. .destinations-desc-country {
  266. font-family: Inter;
  267. font-size: 15px;
  268. font-weight: 500;
  269. line-height: 24px;
  270. color: #7D7987;
  271. margin: 0;
  272. }
  273. .guides {
  274. max-width: 1210px;
  275. padding: 0 15px;
  276. margin: 0 auto 15%;
  277. display: flex;
  278. justify-content: space-between;
  279. align-items: center;
  280. }
  281. .guides-img {
  282. max-width: 100%;
  283. }
  284. .testimonials {
  285. max-width: 1201px;
  286. padding: 0 15px;
  287. margin: 0 auto 10%;
  288. display: flex;
  289. justify-content: space-between;
  290. }
  291. .testimonials-title {
  292. font-family: Playfair Display;
  293. font-size: 36px;
  294. font-weight: 700;
  295. line-height: 50px;
  296. color: black;
  297. margin: 0 0 145px;
  298. }
  299. .rating {
  300. display: flex;
  301. width: 180px;
  302. justify-content: space-between;
  303. margin-bottom: 30px;
  304. }
  305. .testimonials-quote {
  306. max-width: 450px;
  307. font-family: Mulish;
  308. font-size: 24px;
  309. font-weight: 400;
  310. line-height: 36px;
  311. margin: 0 0 40px;
  312. }
  313. .testimonials-name {
  314. font-family: Inter;
  315. font-size: 22px;
  316. font-weight: 700;
  317. line-height: 48px;
  318. margin: 0;
  319. }
  320. .testimonials-workplace {
  321. font-family: Inter;
  322. font-size: 18px;
  323. font-weight: 400;
  324. line-height: 48px;
  325. color: #000000D9;
  326. margin: 0;
  327. }
  328. .testimonials-img {
  329. width: 384px;
  330. position: relative;
  331. max-width: 100%;
  332. }
  333. .testimonials-img::before {
  334. content: '';
  335. background-image: url(./img/element.png);
  336. position: absolute;
  337. bottom: -13px;
  338. left: -15px;
  339. display: block;
  340. width: 32px;
  341. height: 32px;
  342. }
  343. .testimonials-img::after {
  344. content: '';
  345. background-image: url(./img/element2.png);
  346. position: absolute;
  347. top: -13px;
  348. right: -15px;
  349. display: block;
  350. width: 42px;
  351. height: 42px;
  352. z-index: -10;
  353. }
  354. .trending {
  355. max-width: 1262px;
  356. padding: 0 15px;
  357. margin: 0 auto 10%;
  358. }
  359. .trending-blogs {
  360. display: flex;
  361. justify-content: space-between;
  362. }
  363. .trending-item {
  364. width: 260px;
  365. margin-right: 10px;
  366. }
  367. .trending-item:last-child{
  368. margin-right: 0;
  369. }
  370. .trending-img{
  371. width: 100%;
  372. height: 230px;
  373. background-size: cover;
  374. margin: 0 0 10px;
  375. }
  376. .trending-img1 {
  377. background-image: url(img/image\ 12.png);
  378. }
  379. .trending-img2 {
  380. background-image: url(img/image\ 13.png);
  381. }
  382. .trending-img3 {
  383. background-image: url(img/image\ 14.png);
  384. }
  385. .trending-img4 {
  386. background-image: url(img/image\ 15.png);
  387. }
  388. .trending-title {
  389. font-family: Inter;
  390. font-size: 19px;
  391. font-weight: 700;
  392. line-height: 30px;
  393. margin: 0 0 13px;
  394. }
  395. .trending-text {
  396. font-family: Inter;
  397. font-size: 15px;
  398. font-weight: 400;
  399. line-height: 26px;
  400. color: #7D7987;
  401. margin: 0 0 23px;
  402. }
  403. .trending-link {
  404. font-family: Inter;
  405. font-size: 15px;
  406. font-weight: 600;
  407. color: #FB8F1D;
  408. }
  409. footer {
  410. width: 100%;
  411. background: #F9F9FB;
  412. position: absolute;
  413. z-index: 5;
  414. left: 0;
  415. padding: 0 15px;
  416. }
  417. .footer-inner {
  418. max-width: 1220px;
  419. margin: 0 auto 30px;
  420. display: flex;
  421. padding: 70px 0 80px;
  422. font-family: Mulish;
  423. display: flex;
  424. justify-content: space-between;
  425. border-bottom: 1px solid #C4C4C4;
  426. }
  427. .footer-columns {
  428. display: flex;
  429. width: 60%;
  430. justify-content: space-around;
  431. margin-right: 5%;
  432. }
  433. .footer-logo {
  434. width: 44px;
  435. height: 44px;
  436. margin: 0 0 26px;
  437. }
  438. .footer-desc {
  439. font-size: 18px;
  440. font-weight: 300;
  441. line-height: 28px;
  442. color: #848484;
  443. margin: 0 0 55px;
  444. max-width: 391px;
  445. }
  446. .footer-copyright {
  447. font-size: 17px;
  448. font-weight: 300;
  449. line-height: 28px;
  450. color: #848484;
  451. }
  452. .footer-section {
  453. margin-right: 15px;
  454. }
  455. .footer-title {
  456. font-family: Mulish;
  457. font-size: 19px;
  458. font-weight: 700;
  459. line-height: 60px;
  460. margin: 0 0 10px;
  461. }
  462. .footer-list {
  463. font-family: Mulish;
  464. font-size: 18px;
  465. font-weight: 300;
  466. line-height: 38px;
  467. list-style: none;
  468. padding: 0;
  469. }
  470. .footer-list a {
  471. color: #848484;
  472. }
  473. .footer-social-media {
  474. max-width: 248px;
  475. display: flex;
  476. justify-content: space-between;
  477. align-items: baseline;
  478. margin: 0 auto;
  479. }
  480. @media screen and (max-width: 1130px) {
  481. .testimonials {
  482. flex-flow: column wrap;
  483. align-items: center;
  484. }
  485. .testimonials-inner{
  486. margin-bottom: 20px;
  487. }
  488. .destinations-inner {
  489. width: 80%;
  490. margin: 0 auto;
  491. display: flex;
  492. flex-wrap: wrap;
  493. justify-content: space-around;
  494. }
  495. .destinations-item {
  496. margin-bottom: 20px;
  497. }
  498. }
  499. @media screen and (max-width: 1100px) {
  500. .footer-inner{
  501. flex-flow: column;
  502. align-items: center;
  503. }
  504. .footer-columns {
  505. display: flex;
  506. justify-content: space-around;
  507. width: 100%;
  508. }
  509. }
  510. @media screen and (min-width: 795px) {
  511. .menu-burger-btn {
  512. display: none;
  513. }
  514. .nav-list {
  515. padding-left: 10px;
  516. }
  517. }
  518. @media screen and (max-width: 795px) {
  519. .nav-list {
  520. display: flex;
  521. justify-content: flex-start;
  522. flex-direction: column;
  523. background: white;
  524. /*width: 100%; @todo */
  525. width: 50vw;
  526. min-width: 250px;
  527. padding: 0 25px 0 20px;
  528. position: fixed;
  529. top: 0;
  530. /*top: 105px; @todo */
  531. /*right: -100%; @todo */
  532. right: -100vw;
  533. transition: all 0.4s ease-in-out;
  534. margin-top: 0;
  535. height: 100vh; /* @todo */
  536. margin-right: 0; /* @todo */
  537. margin-bottom: 0; /* @todo */
  538. z-index: 10; /* @todo */
  539. }
  540. .nav-list.open-menu {
  541. /*right: -18px; @todo */
  542. right: 0;
  543. }
  544. .nav-item {
  545. padding: 20px 0;
  546. }
  547. .nav-item a {
  548. font-size: 20px;
  549. }
  550. .nav-item.hide {
  551. display: flex;
  552. min-height: 150px;
  553. }
  554. .nav-item.hide .account {
  555. flex-direction: column;
  556. }
  557. .menu-burger-btn {
  558. display: flex;
  559. margin: 0 15px;
  560. }
  561. .menu-burger-btn::before,
  562. .menu-burger-btn::after {
  563. content: '';
  564. }
  565. .menu-burger-btn span,
  566. .menu-burger-btn::before,
  567. .menu-burger-btn::after {
  568. position: absolute;
  569. height: 4px;
  570. width: 100%;
  571. background: #202336;
  572. margin: 0 auto;
  573. }
  574. .menu-burger-btn span {
  575. top: 14px;
  576. }
  577. .menu-burger-btn::before {
  578. top: 0;
  579. }
  580. .menu-burger-btn::after {
  581. bottom: 5px;
  582. }
  583. .menu-burger-btn.open-menu span {
  584. opacity:0;
  585. transition: 0.5s;
  586. }
  587. .menu-burger-btn.open-menu:before {
  588. transform: rotate(45deg);
  589. top: 16px;
  590. transition: 0.4s;
  591. }
  592. .menu-burger-btn.open-menu:after {
  593. transform: rotate(-45deg);
  594. bottom: 16px;
  595. transition: 0.4s;
  596. }
  597. .header-right .account {
  598. display: none;
  599. }
  600. header {
  601. margin-bottom: 0;
  602. }
  603. header div {
  604. display: inline;
  605. }
  606. .body {
  607. padding-top: 70px; /* @todo */
  608. }
  609. header {
  610. /* @todo */
  611. height: auto;
  612. position: fixed;
  613. width: 100%;
  614. background: rgba(255, 255, 255, 0.95);
  615. top: 0;
  616. margin-top: 0;
  617. padding: 15px 30px;
  618. z-index: 3;
  619. }
  620. .heading-box {
  621. margin: 30px 0;
  622. }
  623. .heading-box-title {
  624. margin-top: 25px;
  625. font-size: 55px;
  626. text-align: center;
  627. }
  628. .heading-box-text,
  629. .section2-inner-text,
  630. .section2-inner-title,
  631. .destinations-title,
  632. .testimonials-title {
  633. text-align: center;
  634. }
  635. .section2-inner-title {
  636. margin-top: 15px;
  637. }
  638. .trending-blogs, .footer-inner{
  639. flex-flow: wrap column;
  640. align-items: center;
  641. }
  642. .destinations-inner,
  643. .trending-blogs {
  644. align-items: center;
  645. }
  646. .trending-item {
  647. margin-bottom: 25px;
  648. }
  649. .guides-inner {
  650. width: 100%;
  651. }
  652. .section2-inner-button, .heading-box-button {
  653. margin: 0 auto;
  654. }
  655. .footer-section {
  656. display: flex;
  657. flex-direction: column;
  658. align-items: center;
  659. }
  660. .footer-inner {
  661. padding-top: 10px;
  662. padding-bottom: 15px;
  663. margin-bottom: 10px;
  664. }
  665. .heading-box, .guides-inner, .trending
  666. , .testimonials, .testimonials-title,
  667. .destinations, .section2, .heading {
  668. margin-bottom: 20px;
  669. }
  670. .footer-desc {
  671. width: 100%;
  672. }
  673. .footer-title {
  674. line-height: 0;
  675. }
  676. .footer-copyright {
  677. margin-bottom: 30px;
  678. }
  679. }
  680. @media screen and (max-width: 600px) {
  681. .burger-icon.user-icon {
  682. display: flex;
  683. margin: 0 15px;
  684. }
  685. .heading, .section2, .guides{
  686. flex-flow: wrap column;
  687. }
  688. .heading-img-box, .footer-logo {
  689. display: none;
  690. }
  691. .testimonials-quote {
  692. font-size: 18px;
  693. }
  694. .heading-box-title, .destinations-head {
  695. font-size: 40px;
  696. margin-bottom: 15px;
  697. }
  698. .destinations-head,
  699. .footer-columns {
  700. display: block;
  701. }
  702. }
  703. @media screen and (max-width: 390px) {
  704. .destinations-item img{
  705. width: auto;
  706. height: auto;
  707. }
  708. }