/* -------------------------------------------------- */
/* ----------------- Default Styles ----------------- */

section {
    margin: 0 auto 7rem auto;
    max-width: 2100px;
}

.content {
    margin-left: auto;
    margin-right: auto;
    width: 75rem;
}

.greyContent {
    margin: 0;
    padding: 2.4rem 4rem;
    background-color: var(--clr-background-white);
    border-top: solid 0.1rem var(--clr-grey);
    border-bottom: solid 0.1rem var(--clr-grey);
}


/*------- Texts ------- */

h1 {
    margin: 0 0 1.6rem 0;
    padding: 0;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 4rem;
    text-align: center;
}

h2 {
    margin: 0;
    padding: 0;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 2.4rem;
    text-align: center;
}

.text {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 2.4rem;
}

.text.smaller {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 2.0rem;
}


/*------- Button ------- */

.button {
    margin: 0;
    padding: 1.2rem 2.4rem;
    width: 100%;
    color: var(--clr-disabled-grey);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 2.4rem;
    background-color: #EFEFEF;
    border: solid 0.3rem var(--clr-disabled-grey);
    text-align: center;
    cursor: not-allowed;
}

.button.active {
    color: var(--clr-blue);
    background-color: var(--clr-light-green);
    border: solid 0.3rem var(--clr-blue);
    cursor: pointer;
}

.button.homeButton {
    color: var(--clr-white);
    background-color: #1B50DC;
    border: none;
    cursor: pointer;
}


/*------- Navigator ------- */

.navigator {
    display: flex;
    padding: 3.4rem 4.8rem;
    width: 100vw;
    max-width: 2100px;
    color: #5A5469;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 2rem;
    gap: 1.2rem;
    align-items: center;
    flex-wrap: wrap;
}

.navigator a {
    color: var(--clr-light-blue);
    font-weight: 700;
    text-decoration: none;
}

.navigator .arrow {
    width: 1.2rem;
    height: 1.2rem;
    background-image: url("/images/global/icon-arrow-right.svg");
}



/*------- Friend Link ------- */

.friendLink {
    position: relative;
    display: flex;
    margin: 0 auto -7rem auto;
    padding: 4.4rem 6rem;
    width: 100rem;
    height: 29.4rem;
    background-image: url("/images/general-assets/friend-link/background.png");
    background-size: cover;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: space-between;
}

.friendLink .text {
    width: 50rem;
    color: var(--clr-white);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 4rem;
    text-align: left;

}

.friendLink .button {
    width: max-content;
}

.friendLink .friendPartners {
    position: absolute;
    display: flex;
    top: 4.4rem;
    right: 6rem;
    height: 20.6rem;
    width: 30rem;
    flex-wrap: wrap;
    align-content: space-between;
    justify-content: space-between;
}

.friendLink .friendPartners .item {
    background-color: var(--clr-white);
    height: 47%;
    width: 47%;
    background-size: 80%;
}

/*------- Terms and Conditions ------- */
.termsAndConditions {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 2.4rem;
    text-align: center;
}

.termsAndConditions .body a {
    text-decoration: underline;
}

.termsAndConditions .button {
    margin: 8rem auto 0 auto;
    width: max-content;
}


/*------- Inputs ------- */

input[type="text"],
input[type="email"] {
    margin-bottom: 1.2rem;
    padding: 1.2rem;
    width: 100%;
    font-family: 'TT Travels Trl', sans-serif;
    letter-spacing: -0.05em;
    color: var(--clr-blue);
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 2.4rem;
    text-align: left;
    background-color: var(--clr-white);
    border: solid 0.1rem var(--clr-grey);
}


/* ----------------- Tablet 720px ----------------- */
@media only screen and (max-width: 1000px) {
    .content {
        width: 68rem;
    }

    .friendLink {
        margin: 0 auto -9rem auto;
        padding: 4rem 4.8rem;
        width: 64rem;
        height: 40rem;
    }

    .friendLink .text {
        width: 50rem;
        font-size: 3.2rem;
        line-height: 4rem;
        text-align: left;

    }

    .friendLink .friendPartners {
        position: relative;
        top: auto;
        right: auto;
        height: auto;
        width: 50rem;
    }

    .friendLink .friendPartners .item {
        background-color: var(--clr-white);
        height: 8rem;
        width: 23%;
    }

    .termsAndConditions .body {
        margin: auto;
        width: 90%;
    }
}


/* ----------------- Mobile 360px ----------------- */
@media only screen and (max-width: 500px) {
    section {
        margin-bottom: 3rem;
    }

    .content {
        width: 100%;
    }

    .greyContent {
        padding: 2.4rem 2rem;
    }

    h1,
    h2,
    .text,
    .text.smaller {
        padding: 0 1rem;
    }

    .friendLink {
        margin: 0 auto -2rem auto;
        padding: 3.6rem 2.6rem;
        width: 100%;
        height: 30rem;
    }

    .friendLink .text {
        width: 100%;
        font-size: 2rem;
        line-height: 2.5rem;
        text-align: left;
    }

    .friendLink .friendPartners {
        width: 100%;
    }

    .friendLink .friendPartners .item {
        background-color: var(--clr-white);
        height: 4.6rem;
    }
}
