.btn,
.nav {
  display: -webkit-box;
  display: -ms-flexbox;
}
.btn,
.container {
  margin-right: auto;
  margin-left: auto;
}
.menu__link--active::before,
.mobile-menu__link::before {
  height: 0.3rem;
  background-color: var(--primary-color);
  position: absolute;
  content: "";
}
.main-point,
.newsletter {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
}
@font-face {
  font-family: Roboto;
  src: url(../fonts/Roboto/Roboto-Regular.ttf) format("truetype");
}
@font-face {
  font-family: "Roboto Medium";
  src: url(../fonts/Roboto/Roboto-Medium.ttf) format("truetype");
}
@font-face {
  font-family: "Archivo Black";
  src: url(../fonts/Archivo/Archivo-Black.ttf) format("truetype");
}
a {
  text-decoration: none;
}
a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
b,
big,
blockquote,
body,
canvas,
caption,
center,
cite,
code,
dd,
del,
details,
dfn,
div,
dl,
dt,
em,
embed,
fieldset,
figcaption,
figure,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
html,
i,
iframe,
img,
ins,
kbd,
label,
legend,
li,
mark,
menu,
nav,
object,
ol,
output,
p,
pre,
q,
ruby,
s,
samp,
section,
small,
span,
strike,
strong,
sub,
summary,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
time,
tr,
tt,
u,
ul,
var,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:after,
blockquote:before,
q:after,
q:before {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
:root {
  --primary-color: #e76f51;
  --secondary-color: #fbe1db;
  --white: #fff;
  --grey: #d2d2d2;
  --dark: #3b3735;
  --bg-app: #faf4f2;
  --main-font: "Roboto", Arial, Helvetica, sans-serif;
  --main-font-md: "Roboto Medium", Arial, Helvetica, sans-serif;
  --secondary-font: "Archivo Black", Arial, Helvetica, sans-serif;
  --btn-color: #8d8d8d;
}
html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 62.5%;
  scroll-behavior: smooth;
}
*,
:after,
:before {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}
body {
  background-color: var(--bg-app);
  line-height: 1.6;
  font-size: 1.6rem;
  font-family: var(--main-font);
  overflow-x: hidden;
}
.btn {
  color: var(--white);
  background-color: var(--dark);
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-family: var(--main-font-md);
  border-radius: 10rem;
  width: 18rem;
  height: 5rem;
}
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  position: relative;
}
.header__link,
.menu__item {
  margin-left: 1rem;
}
.header {
  background: -webkit-gradient(
      linear,
      left top,
      left bottom,
      from(rgba(59, 55, 53, 0.5)),
      to(rgba(59, 55, 53, 0.5))
    ),
    url("../images/header-bg.jpg");
  background: -o-linear-gradient(rgba(59, 55, 53, 0.5), rgba(59, 55, 53, 0.5)),
    url("../images/header-bg.jpg");
  background: linear-gradient(rgba(59, 55, 53, 0.5), rgba(59, 55, 53, 0.5)),
    url("../images/header-bg.jpg");
  background-position: center;
  background-size: cover;
  min-height: 80rem;
  border-bottom-left-radius: 10rem;
  border-bottom-right-radius: 10rem;
}
.nav {
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 3rem 0;
}
.nav__wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.app-logo {
  width: 5.5rem;
  height: 5.5rem;
  margin-right: 2rem;
}
.app-logo__img {
  width: 100%;
  height: 100%;
}
.footer-app,
.header__links,
.menu {
  display: none;
}
.menu__link {
  color: var(--grey);
  -webkit-transition: color 0.1s ease-in-out;
  -o-transition: color 0.1s ease-in-out;
  transition: color 0.1s ease-in-out;
  z-index: 2;
}
.header-content,
.header__link,
.menu__link:hover,
.mobile-menu__link,
.nav__menu-link,
.nav__menu-title {
  color: var(--white);
}
.mobile-menu__link,
.nav__menu {
  -webkit-transition: 0.1s ease-in-out;
  -o-transition: 0.1s ease-in-out;
}
.menu__link--active {
  position: relative;
  color: var(--white);
}
.menu__link--active::before {
  top: 0.5rem;
  right: 0;
  left: 0;
  margin: 0 auto;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  width: 4rem;
  border-radius: 10rem;
  z-index: -1;
}
.nav__menu-title {
  font-family: var(--secondary-font);
  border-bottom: 1px solid var(--white);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}
.header__link,
.nav__menu {
  font-family: var(--main-font-md);
}
.nav__menu {
  position: fixed;
  background-color: var(--dark);
  top: 0;
  left: -25rem;
  bottom: 0;
  padding: 2rem;
  width: 25rem;
  transition: 0.1s ease-in-out;
  z-index: 100;
}
.nav__menu--open {
  left: 0;
}
.mobile-menu {
  margin-bottom: 3rem;
}
.mobile-menu__item {
  margin-bottom: 1rem;
}
.mobile-menu__link {
  position: relative;
  transition: 0.1s ease-in-out;
}
.mobile-menu__link::before,
.nav__menu-link {
  -webkit-transition: 0.1s ease-in-out;
  -o-transition: 0.1s ease-in-out;
}
.mobile-menu__link::before {
  width: 0;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  border-radius: 10rem;
  transition: 0.1s ease-in-out;
}
.header__link--border:hover,
.nav__menu-link:hover {
  background-color: var(--white);
  color: var(--dark);
}
.mobile-menu__link:hover {
  padding-left: 2.2rem;
}
.mobile-menu__link:hover::before {
  width: 2.2rem;
}
.nav__menu-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  text-align: center;
}
.nav__menu-link {
  display: block;
  border: 1px solid var(--white);
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  padding: 1rem;
  transition: 0.1s ease-in-out;
}
.header__link {
  -webkit-transition: 0.1s ease-in-out;
  -o-transition: 0.1s ease-in-out;
  transition: 0.1s ease-in-out;
}
.destination__title,
.destinations__title,
.header-content__title,
.main-point__title,
.newsletter__left-title {
  font-family: var(--secondary-font);
}
.header__link--border {
  padding: 1rem 2.5rem;
  border: 1px solid var(--white);
  border-radius: 10rem;
  height: 5.5rem;
}
.nav__btn {
  background-color: #fff;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 2rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.nav__btn-line,
.nav__btn-line::after,
.nav__btn-line::before {
  display: block;
  background-color: var(--primary-color);
  width: 2.5rem;
  height: 0.3rem;
  border-radius: 5rem;
  -webkit-transition: 0.1s ease-in-out;
  -o-transition: 0.1s ease-in-out;
}
.nav__btn-line {
  position: relative;
  transition: 0.1s ease-in-out;
}
.main-point,
.main-points {
  display: -webkit-box;
  display: -ms-flexbox;
}
.nav__btn-line::after,
.nav__btn-line::before {
  content: "";
  position: absolute;
  transition: 0.1s ease-in-out;
}
.nav__btn-line::before {
  top: -0.8rem;
}
.nav__btn-line::after {
  top: 0.8rem;
}
.nav__btn--open .nav__btn-line {
  background-color: transparent;
}
.destinations__btn:hover,
.header-content__button {
  background-color: var(--primary-color);
}
.nav__btn--open .nav__btn-line::before {
  -webkit-transform: translateY(0.8rem) rotate(45deg);
  -ms-transform: translateY(0.8rem) rotate(45deg);
  transform: translateY(0.8rem) rotate(45deg);
}
.nav__btn--open .nav__btn-line::after {
  -webkit-transform: translateY(-0.8rem) rotate(-45deg);
  -ms-transform: translateY(-0.8rem) rotate(-45deg);
  transform: translateY(-0.8rem) rotate(-45deg);
}
.header-content {
  margin-top: 6rem;
  text-align: center;
}
.header-content__title {
  font-size: 5rem;
  line-height: 1.2;
  margin: 0 auto 3rem;
  max-width: 35rem;
}
.header-content__text {
  font-size: 1.8rem;
  max-width: 34rem;
  margin: 0 auto 2rem;
}
.destination,
.main-point {
  background-color: var(--white);
  width: 30rem;
  color: var(--dark);
  border-radius: 2rem;
  text-align: center;
}
.main {
  padding: 4rem 0;
}
.main-points {
  margin-top: -13rem;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -1rem;
  margin-left: -1rem;
}
.main-point {
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: 26rem;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  margin: 0 1rem 2rem;
  padding: 0 4rem;
}
.main-point__title {
  font-size: 1.8rem;
  margin: 1.5rem 0 0.8rem;
}
.destinations {
  text-align: center;
  position: relative;
}
.destinations__title {
  font-size: 3rem;
  max-width: 36rem;
  margin: 3rem auto;
}
.destinations__wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-left: -1rem;
  margin-right: -1rem;
}
.destination {
  margin: 0 1rem 2rem;
  padding: 2rem;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}
.destination__wrapper {
  position: relative;
  overflow: hidden;
}
.destination__img-logo,
.destination__img-price {
  position: absolute;
  background-color: var(--white);
}
.destination__img {
  -o-object-fit: cover;
  object-fit: cover;
}
.destination__banner {
  border-radius: 2rem;
}
.destination__img-logo {
  border-radius: 1.5rem;
  top: 1rem;
  right: 12rem;
  width: 4rem;
  height: 4rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.destination__img-price {
  border-radius: 2rem;
  width: 12rem;
  height: 3rem;
  bottom: -12px;
  right: 0;
  left: 0;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
  color: var(--primary-color);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.destination__title {
  font-size: 1.8rem;
  margin-top: 2rem;
}
.destination__text {
  margin: 1rem auto 2rem;
}
.destination__link {
  background-color: rgba(141, 141, 141, 0.1);
  color: var(--btn-color);
}
.destinations__btn {
  background-color: var(--bg-app);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  -webkit-transition: 0.1s ease-in-out;
  -o-transition: 0.1s ease-in-out;
  transition: 0.1s ease-in-out;
  margin-top: 3rem;
}
.newsletter,
.newsletter-form {
  border-radius: 2rem;
  display: -webkit-box;
  display: -ms-flexbox;
}
.destinations__btn:hover {
  color: var(--bg-app);
}
.newsletter {
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background-color: var(--secondary-color);
  padding: 3rem 2rem;
  margin: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: "";
  position: absolute;
  width: 50rem;
  height: 50rem;
  background-image: url(../images/svgs/shape3.svg);
  background-repeat: no-repeat;
  top: 20rem;
  bottom: 0;
  right: 0;
  left: -12rem;
  background-size: contain;
}
.newsletter__left,
.newsletter__right {
  z-index: 2;
}
.newsletter__right-img {
  width: 100%;
}
.newsletter__left {
  color: var(--dark);
  max-width: 60rem;
}
.newsletter__left-title {
  font-size: 3rem;
  margin: 1.5rem auto;
}
.newsletter__left-text {
  font-family: var(--main-font-md);
}
.newsletter-form {
  background-color: var(--white);
  padding: 2rem;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-top: 2rem;
  height: 7rem;
}
.newsletter-form__left {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 100%;
}
.newsletter-form__left-input {
  border: none;
  outline: 0;
  margin-left: 1rem;
  color: var(--btn-color);
  width: 100%;
}
.footer__btn,
.newsletter-form__btn {
  width: 5rem;
  height: 5rem;
  display: -webkit-box;
  display: -ms-flexbox;
}
.newsletter-form__btn {
  background-color: var(--primary-color);
  border-radius: 2rem;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  border: none;
  outline: 0;
  cursor: pointer;
  -webkit-box-shadow: 0 0 1rem rgba(231, 111, 81, 0.587);
  box-shadow: 0 0 1rem rgba(231, 111, 81, 0.587);
}
.footer {
  background-color: var(--secondary-color);
  border-top-right-radius: 10rem;
  border-top-left-radius: 10rem;
  padding-bottom: 4rem;
  color: var(--dark);
}
.footer > .container {
  padding-top: 10rem;
}
.footer__title {
  font-family: var(--secondary-font);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.footer__btn {
  position: absolute;
  border-radius: 2rem;
  background-color: var(--white);
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  right: 0;
  left: 0;
  margin: 0 auto;
  top: -2.5rem;
  -webkit-box-shadow: 0 0 1rem rgba(59, 58, 53, 0.05);
  box-shadow: 0 0 1rem rgba(59, 58, 53, 0.05);
}
.footer__caption,
.footer__right {
  margin-bottom: 2rem;
}
.footer__left {
  max-width: 60rem;
}
.footer__right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.footer-app--mobile {
  display: block;
  margin-top: 1rem;
}
.footer-pages {
  width: 16rem;
  margin-left: 1rem;
  margin-bottom: 1rem;
}
.footer-list__link {
  color: inherit;
}
.footer-list__link:hover {
  text-decoration: underline;
}
.footer-copyright {
  margin-top: 2rem;
  text-align: center;
  -moz-tab-size: 1.4rem;
  -o-tab-size: 1.4rem;
  tab-size: 1.4rem;
}
@media (max-width: 380px) {
  .header-content__title {
    font-size: 4rem;
  }
  .destination__img-logo {
    right: 2rem;
  }
  .newsletter__left-title {
    max-width: 16rem;
  }
  .footer {
    text-align: center;
  }
  .footer__right {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .footer-pages {
    margin-left: 0;
    width: 100%;
  }
}
@media (min-width: 576px) {
  .container {
    width: 540px;
  }
}
@media (min-width: 768px) {
  .container {
    width: 720px;
  }
  .nav__btn,
  .nav__menu {
    display: none;
  }
  .menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .destination__img-logo {
    right: 2rem;
  }
  .newsletter {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    text-align: left;
  }
  .newsletter__right {
    -ms-flex-preferred-size: 40%;
    flex-basis: 40%;
  }
  .newsletter__left {
    -ms-flex-preferred-size: 60%;
    flex-basis: 60%;
    padding-right: 2rem;
  }
  .footer__btn {
    right: 0;
    left: auto;
  }
  .newsletter::before {
    width: auto;
    height: auto;
    background-size: auto;
    background-position: center left;
    top: -5rem;
    left: -50rem;
  }
}
@media (min-width: 992px) {
  .container {
    width: 960px;
  }
  .footer-app,
  .header__links {
    display: block;
  }
  .header-content__text {
    max-width: 58rem;
  }
  .destination__img-logo {
    right: 8rem;
  }
  .newsletter__left {
    padding-right: 4rem;
  }
  .footer-app--mobile {
    display: none;
  }
  .footer-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .footer__left {
    max-width: 50rem;
  }
  .newsletter::before {
    top: 0;
    left: -30rem;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1140px;
  }
  .destination__img-logo {
    right: 3rem;
  }
  .footer-wrapper,
  .newsletter {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
  .newsletter__right {
    -ms-flex-preferred-size: auto;
    flex-basis: auto;
    width: 40rem;
  }
  .newsletter__left {
    -ms-flex-preferred-size: auto;
    flex-basis: auto;
    width: 60rem;
  }
  .footer-pages {
    margin-bottom: 0;
    margin-left: 2rem;
  }
  .newsletter::before {
    top: -2rem;
    left: -13rem;
  }
}
@media (min-width: 1400px) {
  .container {
    width: 1370px;
  }
  .destination__img-logo {
    right: 2rem;
  }
  .newslettera {
    padding: 3rem 6rem;
  }
  .newsletter::before {
    top: -5rem;
    left: 0;
  }
}
