@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap');

:root {
    --header-background-color: #8343B6;
    --subbanner-background-color: #F45B36;

    --packages-container-background-color: white;

    --package-background-color: #E1E1E1;
    --package-background-color-hover: #8343B6;
    --package-font-color: #8343B6;
    --package-font-color-hover: white;
    --package-button-background-color: #F45B36;
    --package-button-font-color: white;
    /* --package-button-background-color-hover: #F9BB8A; */

    --subpackage-background-color: black;
    --buy-section-background-color: #D39F75;
    --buy-form-background-color: #765D58;
    --buy-submit-button-background-color: #D39F75;
    --buy-whatsapp-button-background-color: #D39F75;
    --buy-submit-button-background-color-hover: #F9BB8A;
    --buy-whatsapp-button-background-color-hover: #F9BB8A;
    --footer-background-color: #F45B36;
    --footer-link-color: darkgray;
    /* --primary-color: #AC1DAB;
    --secondary-color: #82469b;
    --tertiary-color: #82469b;
    --form-button-color:#540053;
    --background-color: white;
    --mobile-button-color: #AC1DAB; */
}

* {
    /* font-family: 'Open Sans', sans-serif; */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: white;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}
#cpfError{
    display: none;
    color: red;
}

body {
    background-color: var(--background-color);
}


.x-header {
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: var(--header-background-color);
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.x-header img {
    display: block;
    max-height: 30px;
}

.x-banner-image-desk {
    width: 100%;
}

.x-banner-image-mobile img,
.x-banner-image-desk img {
    width: 100%;
    display: block;
}

.x-banner-image-mobile {
    width: 100%;
    display: none;
}

.x-subbanner {
    background: var(--subbanner-background-color);
    text-align: center;
    padding: 1rem;
}

.x-subbanner h2 {
    margin: 0 auto;
    font-size: 1.8rem;
    font-weight: 600;
    max-width: 60%;;
}

@media only screen and  (max-width: 600px) {
    .x-banner-image-desk {
        display: none;
    }
    .x-banner-image-mobile {
        display: block;
    }

    .x-subbanner h2 {
        font-size: 6vw;
        max-width: 90%;
    }
}


/* HIGHLIGHTS */

.x-highlights {

    display: flex;
    flex-direction: row;
    justify-content: space-evenly;

    background-color: var(--packages-container-background-color);
    width: 80%;
    margin: 0 auto;
    padding: 3rem 0;

    /* margin: 30px 0; */
}

.x-highlight {
    background-color: var(--package-background-color);
    border-radius: 25px;
    width: 40%;
    /* max-width: 40%;
    min-width: 23%; */
    padding: 5px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.x-highlight:hover {
    background-color: var(--package-background-color-hover);
}

.x-highlight img {
    /* display: block; */
    border-radius: 20px;
    /* width: 100%; */
}


.x-highlight--info {
    flex-grow: 1;
    padding: 1rem;
}

.x-highlight--info * {
    text-align: center;
    color: var(--package-font-color);
}

.x-highlight:hover .x-highlight--info * {
    color: var(--package-font-color-hover);
}

.x-highlight--info p {
    margin: 7px 0;
}

.x-highlight--info > p.description {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
}

.x-highlight--info > p.installments {
    font-size: 1.2rem;
    font-weight: 700;
}

.x-highlight--info > p.discount {
    font-size: 1rem;
    font-weight: 700;
}

.x-highlight--info > p.amount {
    font-size: 1rem;
    font-weight: 600;
}

.x-highlight--info > p.amount > span.old-price {
    text-decoration: line-through;
}

.x-highlight--button {
    width: 100%;
    text-align: center;
    padding-bottom: 5px;
}

.x-highlight--button a {
    display: block;
    padding: 5px;
    margin: 0 auto;
    text-align: center;
    background-color: var(--package-button-background-color);
    border-radius: 1.1rem;
    text-decoration: none;
    text-transform: uppercase;
    max-width: 70%;
    font-size: 1.2rem;
    font-weight: 700;
}


/* IPAD */
@media only screen and (min-width: 600px) and  (max-width: 992px) {
    .x-highlights {
        flex-direction: column;
        width: 100%;
    }
    .x-highlight {
        width: 80%;
        margin: 1em auto;
    }
}

/* MOBILE */
@media only screen and  (max-width: 600px) {
    .x-highlights {
        flex-direction: column;
        width: 100%;
    }
    .x-highlight {
        width: 80%;
        margin: 1em auto;
    }
}




/* PACKAGES */

.x-packages {
    background-color: var(--packages-container-background-color);
    width: 80%;
    margin: 0 auto;
    padding: 3rem 0;

    /* display: flex; */
    /* justify-content: center; */
    /* flex-wrap: wrap; */
}

.x-packages--row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 30px 0;
}

.x-package {
    background-color: var(--package-background-color);
    border-radius: 25px;
    max-width: 23%;
    min-width: 23%;
    padding: 5px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.x-package:hover {
    background-color: var(--package-background-color-hover);
}

.x-package img {
    /* display: block; */
    border-radius: 20px;
    /* width: 100%; */
}


.x-package--info {
    flex-grow: 1;
    padding: 1rem;
}

.x-package--info * {
    text-align: center;
    color: var(--package-font-color);
}

.x-package:hover .x-package--info * {
    color: var(--package-font-color-hover);
}

.x-package--info p {
    margin: 7px 0;
}

.x-package--info > p.description {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
}

.x-package--info > p.installments {
    font-size: 1.2rem;
    font-weight: 700;
}

.x-package--info > p.discount {
    font-size: 1rem;
    font-weight: 700;
}

.x-package--info > p.amount {
    font-size: 1rem;
    font-weight: 600;
}

.x-package--info > p.amount > span.old-price {
    text-decoration: line-through;
}

.x-package--button {
    width: 100%;
    text-align: center;
    padding-bottom: 5px;
}

.x-package--button a {
    display: block;
    padding: 5px;
    margin: 0 auto;
    text-align: center;
    background-color: var(--package-button-background-color);
    border-radius: 1.1rem;
    text-decoration: none;
    text-transform: uppercase;
    max-width: 70%;
    font-size: 1.2rem;
    font-weight: 700;
}


@media only screen and (min-width: 600px) and  (max-width: 992px) {
    .x-packages{
        width: 100%;
    }
    .x-packages--row {
        padding: 0 3rem;
        overflow-x: scroll;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .x-packages--row::-webkit-scrollbar {
        display: none;
    }
    .x-package {
        margin: 0 20px;
        min-width: 50%;
        max-width: 50%;
    }
}

@media only screen and  (max-width: 600px) {
    .x-packages{
        width: 100%;
    }
    .x-packages--row {
        padding: 0 1rem;
        overflow-x: scroll;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .x-packages--row::-webkit-scrollbar {
        display: none;
    }
    .x-package {
        margin: 0 1rem;
        min-width: 80%;
        max-width: 80%;
    }
}


/* FORM */

.x-buy {

    background-color: var(--buy-section-background-color);
    background-image: url("../images/bannerFooter.png");
    background-repeat: no-repeat;
    background-size: cover;
    /* background-position: right; */
    border-top: 1rem solid var(--subpackage-background-color);
    height: 44vw;
    display: flex;
    justify-content: center;
}

.x-buy-info {
    width: 50%;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.x-buy-title {
    text-align: center;
    margin-top: 2rem;
}

.x-buy-title h2 {
    font-size: 3rem;
    font-weight: 400;
}

#form-buy {
    background-color: var(--buy-form-background-color);
    border-radius: 5px;
    min-height: 75%;
    margin: 2rem 0;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.x-line {
    display: flex;
    justify-content: space-around;
}

.x-line-data {
    width: 100%;
    margin: 0.5rem;
}

#form-buy label {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

#form-buy label.error {
    position: absolute;
    font-size: 13px !important;
    /* color: rgb(170, 66, 66); */
    color: red;
}

.x-line-data input,
.x-line-data select {
    color: #555;
    width: 100%;
    font-size: 1rem;

    padding: 1rem;
    border: none;
}

.x-line-data select {
    cursor: pointer;
}

option, optgroup {
    color: #555;
}

.x-line-data a,
.x-line-data button {
    width: 100%;
    height: 100%;
    background-color: var(--buy-submit-button-background-color);
    border: none;
    border-radius: 0.5rem;

    padding: 0.5rem;

    font-size: 1.5rem;
    font-weight: 600;

    transition: all .2s ease-in-out;

    /* button specific */
    cursor: pointer;

    /* a specific */
    display: block;
    text-align: center;
    text-decoration: none;
}

.x-line-data a:hover,
.x-line-data button:hover {
    box-shadow: inset 0 0 100px 100px var(--buy-submit-button-background-color-hover);
}

#btnoutrosvalores img {
    max-height: 1.2rem;
}

@media only screen and (max-width: 1440px) {
    .x-buy{
        height: 60vw;
    }
    .x-buy-title h2{
        font-size: 2rem;
    }
    #form-buy label{
        font-size: 1rem;
    }
    .x-line-data a, .x-line-data button{
        font-size: 1rem;
    }   
    .x-package button[type=button] {
        font-size: 1.5rem;
        padding: 1% 25%;
    }
}


@media only screen and (min-width: 600px) and (max-width: 992px) {
    .x-buy {
        height: auto;
        /* background-image: url("../images/bannerFooter.png"); */
    }

    .x-buy-info {
        width: 90%;
        margin: 0 auto;
    }
    
}

@media only screen and (max-width: 600px) {
    .x-buy {
        height: auto;
        /* background-image: url("../images/bannerFooter.png"); */
    }

    .x-buy-info {
        width: 90%;
        margin: 0 auto;
    }

    .x-line {
        flex-direction: column;
    }
    .x-package button[type=button] {
        font-size: 1rem;
        padding: 2% 15%;
    }
}

/* Footer */
.x-footer {
    background-color: var(--footer-background-color);

    padding: 2rem;

    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.x-footer-message p {
    text-align: center;
    font-size: 22px;
}


.x-footer-logo img {
    max-height: 3rem;
}

.x-footer a {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    text-decoration: none;
    color: var(--footer-link-color);
}

.x-footer-social img {
    height: 2rem;
    transition: all .2s ease-in-out
}

.x-footer-social img:hover {
    transform: scale(1.2);
}

@media only screen and (max-width: 600px) {
    .x-footer-link {
        order: 1;
        margin-top: 1rem;
    }

    .x-footer {
        flex-wrap: wrap;
    }
}

.fixed-br {
    opacity: 0;
    position: fixed;
    right: 20px;
    bottom: 0;
    z-index: 10000;
    animation: appearFromRight ease 0.3s;
    animation-delay: 1s;
    animation-fill-mode: forwards;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.fixed-br--msg-when-bottom {
    background-color: #25D366;
    padding: 10px 10px;
    border-radius: 10px;
    margin: 16px 0;
    display: none;
}


.fixed-br--msg-when-bottom p  {
    text-align: center;
}

.fixed-br--wrapper {
    background-color: #25D366;
    padding: 12px;
    margin: 12px;
    border-radius: 50%;
    transition: all 0.1s ease-in-out;
}

.fixed-br--wrapper:hover {
    transform: scale(1.1);
    transition: all 0.1s ease-in-out;
}


@media only screen and (max-width: 811px) {
    .fixed-br {
        right: 0;
        flex-direction: column;
        align-items: flex-end
    }
}

@keyframes appearFromRight {
    0% {
        opacity: 0;
        right: -50px;
    }
    100% {
        opacity: 1;
        right: 20px;
    }
}