:root {
    --primary-color: #e76f51;
    --secondary-color: #F8E1DB;
    --white: #fff;
    --grey: #D2D2D2;
    --app-bg: #FAF4F2;
    --grey-md: #8D8D8D;
    --grey-dark: #3B3735;
    --primary-font-reg: "Roboto Regular", Arial, Helvetica, sans-serif;
    --primary-font-md: "Roboto Medium", Arial, Helvetica, sans-serif;
    --secondary-font: "Archivo Black", Arial, Helvetica, sans-serif;
}

html {
    box-sizing: border-box;
    font-size: 62.5%;
    scroll-behavior: smooth;

}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    font-size: 1.6rem;
    line-height: 1.6;
    font-family: var(--primary-font-reg);
    background-color: var(--app-bg);

}

.container {
    width: 100%;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    margin-left: auto;
    margin-right: auto;
}

/*
===============
   Components
===============
*/


.btn {
    color: var(--white);
    background-color: var(--grey);
    border-radius: 5rem;
    padding: 1rem 5rem;

}


/*
=============
   HEADER
=============
*/

.header {
    background: linear-gradient(rgba(59, 55, 53, 0.5), rgba(59, 55, 53, 0.5)), url("../images/header-bg.jpg") center/cover no-repeat;
    min-height: 70rem;
    border-bottom-left-radius: 10rem;
    border-bottom-right-radius: 10rem;
}


.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 0;
}

.menu-wrapper {
    display: flex;
    align-items: center;
}

/*
=============
  App logo
=============
*/

.logo {
    margin-right: 4rem;
}

.logo__img {
    display: block;
}

/*
=============
  Main Menu
=============
*/

.menu {
    display: none;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.menu__item {
}

.menu__item--active {
    position: relative;
}

.menu__item--active .menu__link {
    position: relative;
    color: var(--white);
}

.menu__item--active::before {
    position: absolute;
    content: " ";
    width: 4rem;
    height: 0.2rem;
    background-color: var(--secondary-font);
    transform: rotate(-45deg);
    top: 9px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.menu__link {
    color: var(--grey);
    transition: color 100ms ease-in-out;
}

.menu__link:hover {
    color: var(--white);
}

.nav__links {
    display: none;
}

.nav__link {
    font-family: var(--primary-font-md);
    color: var(--grey);
    margin-left: 3rem;
}

.nav__link--border {
    border: 1px solid var(--white);
    padding: 1rem 2.3rem;
    border-radius: 2rem;
    transition: all 100ms ease-in-out;
}

.nav__link--border:hover {
    color: black;
    background-color: rgba(250, 250, 250, 0.96);
}

/*
===============
  Mobile Menu
===============
*/

.nav-mobile {
    width: 70%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    background-color: rgba(40, 38, 37, 0.92);
    position: fixed;
    left: -100%;
    bottom: 0;
    top: 0;
    transition: all 200ms ease-in-out;
}

.nav-mobile--open {
    display: block;
    left: 0;
}

.menu-mobile {
}

.nav-mobile__title {
    font-family: var(--secondary-font);
    font-size: 2rem;
    word-spacing: 0.5rem;
    border-bottom: 1px solid var(--white);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    color: var(--white);
    text-align: center;
}

.menu-mobile__item {
    margin-bottom: 2rem;
}


.menu-mobile__link {
    list-style: none;
    color: var(--white);
    text-decoration: none;
    position: relative;
    transition: all 200ms ease-in-out;

}

.menu-mobile__link::before {
    position: absolute;
    content: "";
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    top: 0;
    bottom: 0;
    margin: auto;
    left: 0;
}

.menu-mobile__link:hover {
    padding-left: 2.5rem;
    transition: all 200ms ease-in-out;

}

.menu-mobile__link:hover::before {
    width: 1.8rem;
    transition: all 200ms ease-in-out;
}


.nav-mobile__links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.nav-mobile__link {
    color: var(--white);
    text-decoration: none;
    padding: .4rem 2rem;
    text-align: center;
    border-radius: 1.5rem;
    border: 1px solid var(--white);
}

/*
==============
  Nav button
==============
*/


.nav__btn {
    background-color: var(--white);
    width: 5rem;
    height: 5rem;
    border-radius: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.nav__btn-line {
    display: block;
    position: relative;
    width: 2.4rem;
    background-color: var(--secondary-color);
    height: 0.2rem;
    border-radius: 2.5rem;
    transition: all 100ms ease-in-out;
}

.nav__btn-line::before, .nav__btn-line::after {
    content: " ";
    position: absolute;
    display: block;
    width: 2.4rem;
    background-color: var(--secondary-color);
    height: 0.2rem;
    border-radius: 2rem;
    transition: all 110ms ease;
}

.nav__btn-line::before {
    top: -0.6rem;
}

.nav__btn-line::after {
    top: +0.6rem;

}

.nav__btn--open .nav__btn-line {
    background-color: transparent;
}

.nav__btn--open .nav__btn-line::before {
    transform: translateY(7px) rotate(45deg)
}

.nav__btn--open .nav__btn-line::after {
    transform: translateY(-5px) rotate(-45deg)
}

/*
================
 Header Content
================
*/

.header-content {
    padding: 2rem;
    margin-top: 6rem;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

}

.header-content__title {
    font-family: var(--secondary-font);
    font-size: 5rem;
    margin: 0 auto 3rem;
    max-width: 34.5rem;
    line-height: 1.2;

}

.header-content__caption {
    margin-bottom: 2rem;
    max-width: 30rem;
    font-size: 1.8rem;

}

.header-content__link {
    background-color: var(--primary-color);
}


/*
--- Main ---
*/


main {

}


/*
================
   services
================
*/

.services {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    margin: -15rem -1rem 0;
}

.service {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    width: 30rem;
    height: 26rem;
    flex: 1 1 auto;
    margin: 1rem;
    padding: 0 4rem;
    background-color: var(--white);
    border-radius: 2rem;
    text-align: center;
}


.service__img {
    display: block;
}

.service__title {
    font-family: var(--primary-font-md);
    font-size: 1.8rem;
    margin: 2rem 0 1rem 0;
}

.service__caption {

}

/*
================
 Destinations
================
*/

.destinations {
    position: relative;
}

.destinations::after, .destinations::before {
    content: "";
    position: absolute;
    width: 60rem;
    height: 60rem;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: -1;
}

.destinations::before {
    background-image: url("../images/svgs/shape2.svg");
    left: -45rem;
    bottom: 40rem;
}

.destinations::after {
    background-image: url("../images/svgs/shape1.svg");
    right: -27rem;
    top: -18rem;
}

.destinations__logo {
    display: block;
    margin: 4rem auto;

}

.destinations__title {
    margin: 0 auto 3rem;
    text-align: center;
    font-family: var(--secondary-font);
    font-size: 3rem;
}

.destinations__cards {
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
    text-align: center;
    margin-right: -1rem;
    margin-left: -1rem;
}

.destination {
    width: 30rem;
    display: flex;
    flex-flow: column nowrap;
    flex-grow: 1;
    justify-content: flex-start;
    align-items: center;
    border-radius: 2rem;
    background-color: var(--white);
    padding: 4rem;
    margin: 1rem;
}

.destination__banner {
    width: 100%;
    position: relative;
}

.destination__img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 2rem;

}

.destination__heart-wrapper {
    position: absolute;
    right: 1.3rem;
    top: 1.3rem;
    background-color: var(--white);
    padding: 0.8rem;
    border-radius: 1.4rem;
}

.destination__heart {
    display: block;
    fill: var(--white);
    stroke: var(--primary-color);
}

.destination__heart--filled {
    fill: var(--primary-color);
}

.destination__price {
    background-color: var(--white);
    color: var(--primary-color);
    display: block;
    position: absolute;
    bottom: -22px;
    padding: 1.2rem 2rem 1rem 2rem;
    border-radius: 1rem;
    left: 0;
    right: 0;
    margin: auto;
    max-width: 13rem;
    z-index: 23;
    font-size: 1.5rem;
}

.destination__title {
    margin: 4rem auto 0.5rem auto;
    color: var(--grey-dark);
    font-size: 1.8rem;
    font-family: var(--secondary-font);
}

.destination__summary {
    margin-bottom: 1.5rem;
    color: var(--grey-dark);
}

.destination__btn {
    font-family: var(--primary-font-md);
    font-size: 1.6rem;
    margin-top: 1.3rem;
    background-color: rgb(141, 141, 141, .1);
    color: var(--grey-md);
}

.view-all {
    text-align: center;
    margin: 6rem auto;
}

.btn-view-all {
    font-family: var(--primary-font-md);
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

/*
===============
   Newsletter
===============
*/

.newsletter {
    border-radius: 2rem;
    background-color: var(--secondary-color);
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    position: relative;
    align-items: center;
    flex-wrap: nowrap;
    text-align: center;
    padding: 4rem;
    margin-top: 10rem;
    overflow: hidden;
}

.newsletter::before {
    content: "";
    position: absolute;
    top: 15rem;
    bottom: 0;
    right: 2rem;
    background-image: url("/images/svgs/shape3.svg");
    background-repeat: no-repeat;
    width: 75vw;
    height: 50rem;
    background-size: contain;
    z-index: 1;
}

.newsletter_banner {
    z-index: 2;
}

.newsletter__img {
    width: 100%;
}

.newsletter__content {
    z-index: 2;
}

.newsletter__title {
    font-family: var(--secondary-font);
    font-size: 3rem;
}

.newsletter__caption {
    /*margin: 2rem auto 2rem;*/
    /*max-width: 48rem;*/
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.newsletter__form-wrapper {
}

.newsletter__form {
    background-color: var(--white);
    border-radius: 2rem;
    padding: 0 1rem 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;

}

.newsletter__email-icon {
}

.newsletter__input {
    width: 100%;
    height: 7rem;
    border-radius: 2rem;
    border: none;
    padding: 2rem 1rem;
    outline: none;
    color: var(--grey-md);
}

.newsletter__submit {
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-color);
    border-radius: 2rem;
    width: 5rem;
    height: 5rem;
    box-shadow: 0 10px 34px -6px var(--primary-color);
    border: none;
}

/*
============
   Footer
============
*/

.footer {
    background-color: var(--secondary-color);
    border-top-left-radius: 10rem;
    border-top-right-radius: 10rem;
    position: relative;
}


.footer_scroll {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: -2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--white);
    width: 5rem;
    height: 5rem;
    border-radius: 2rem;
}

.footer .container {
    position: relative;
    margin-top: 10rem;
    padding-top: 3rem;
}

.footer-wrapper {
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    color: #3B3735;
    padding: 5rem 2rem 0;
    justify-content: space-between;
    border-top-left-radius: 10rem;
    border-top-right-radius: 10rem;
}

.footer-left {
}

.footer-right {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-content {
    margin-bottom: 2rem;
}

.footer__title {
    font-family: var(--secondary-font);
    font-size: 1.8rem;
    margin-bottom: 1rem;

}

.footer-content__description {
    text-align: justify;
}

.footer-app {
    margin: 2rem auto;
}

.footer__link {
    color: #3B3735;
}

.footer__img {

}

.footer__link:hover {
    text-decoration: underline;
}

.footer_right {

}

.footer-column {

}

.footer-list {
}

.footer-list__item {
    margin-bottom: 0.8rem;

}

.footer-copyright {
    font-size: 1.4rem;
    text-align: center;
    padding: 2rem;
}

/*
================
 Media Queries
================
*/


@media screen and (min-width: 576px) {
    .container {
        width: 54rem;
    }
}

@media screen and (min-width: 768px) {
    .container {
        width: 72rem;
    }
}

@media screen and (min-width: 992px) {
    .container {
        width: 96rem;
    }
}

@media screen and (min-width: 1200px) {
    .container {
        width: 114rem;
    }
}

@media screen and (min-width: 1400px) {
    .container {
        width: 137rem;
    }
}