styles.css 13 KB

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