:root {
    --green: #00B270;
    --blue: #10767B;
    --gold: #C39F3C;
    --purple: #9E71D8;

    --grey-500: #D9D9D9;
    --grey-300: #F5F5F5;
}

body {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;

    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    font-family: 'Roboto', sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

nav {
    padding: 1rem 2rem;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
}

nav .link_button {
    background-color: var(--green);

    grid-column: 3;
    justify-self: end;
}

nav .logo {
    grid-column: 2;
}

section,
footer {
    margin: 0;
    padding: 4rem 0;

    display: grid;
    align-items: center;
    justify-items: center;
}

.center {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.center.collumn {
    flex-direction: column;
}

.link_button {
    color: white;
    width: fit-content;
    padding: 1rem 3rem;
    border-radius: 30px;
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: 700;
}

.wrapper {
    padding: 0 2rem;
    max-width: 1250px;
}

.title {
    text-transform: uppercase;
    text-align: center;
    font-size: 3.5rem;
    font-weight: 300;
    margin: 2rem 0;
}

.title>span {
    font-weight: 700;
}

.price {
    max-width: 200px;
    display: grid;
    grid-template-areas:
        "pos1 pos3 pos4"
        "pos2 pos3 pos5";
    grid-template-rows: 30px 1fr;
    grid-template-columns: 3rem 1fr 3rem;
    gap: 5px 0;
}

.price .pos_1 {
    font-weight: 100;
    font-size: 1rem;

    grid-area: pos1;
    align-self: end;
    justify-self: end;
}

.price .pos_2 {
    font-weight: 100;
    font-size: 1.56rem;

    grid-area: pos2;
    align-self: start;
    justify-self: end;
}

.price .pos_3 {
    font-weight: 900;
    font-size: 5.62rem;

    grid-area: pos3;
    align-self: self-start;
    justify-self: center;
}

.price .pos_4 {
    font-weight: 900;
    font-size: 1, 87rem;

    grid-area: pos4;
    align-self: end;
    justify-self: start;
}

.price .pos_5 {
    font-weight: 100;
    font-size: 10;

    grid-area: pos5;
    align-self: start;
    justify-self: start;
}

.combo-mobile{
    display: none;
}

section#main {
    padding: 0;
    background-color: var(--gold);
}

section#main .wrapper {
    background-position: top left;
    background-size: cover;
}

section#main .grid {
    min-height: 600px;

    display: grid;
    grid-template-areas:
        "pos1 pos2"
        "pos1 pos3";
    grid-template-columns: 3fr 2fr;
    grid-template-rows: 1fr 1fr;
    gap: 4rem;
}

section#main .grid .title {
    text-align: left;
    color: white;

    grid-area: pos1;
    align-self: end;
    justify-self: start;
}

section#main .grid .card#digital {
    background-image: url(../img/recomendado.png);
    background-repeat: no-repeat;
    background-position: top right;

    grid-area: pos2;
    align-self: end;
    justify-self: start;
}

section#main .grid .card#impresso {
    background-color: rgba(245, 255, 255, 0.7);

    grid-area: pos3;
    align-self: start;
    justify-self: start;
}

section#main img {
    width: 100%;
    /* max-width: 1250px; */
}

section#main .card {
    min-width: 400px;
    background-color: white;
    border-radius: 30px;
    padding: 1.5rem;

    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 150px;
    align-items: center;

    position: relative;
}

section#main .card h2 {
    font-size: 2.8rem;
    text-align: left;

    align-self: center;
    justify-self: center;
}

section#main .card .price {
    justify-self: start;
}

section#main .card>a {
    background-color: var(--blue);
    width: max-content;

    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translate(-50%);
}

section#options {
    color: white;
    background-color: var(--blue);
    padding: 2rem 0;
}

section#options .wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;

}

section#options .card {
    text-transform: uppercase;
    font-size: 1.5rem;

    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

section#prices {
    background-color: var(--grey-300);
}

section#prices .card.card.best_offer {
    border: 6px solid var(--blue);
    /* background-image: url('../img/desconto_cinemark.png'); */
    background-position: top right;
    background-repeat: no-repeat;
}

section#prices .card.card.best_offer::before {
    content: "Recomendado";
    color: white;
    background-color: var(--blue);
    padding: 1rem 3rem;
    border-radius: 30px;
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: 700;

    position: absolute;
    top: -1.8rem;
}

section#prices .card {
    background-color: white;
    border: 1px solid var(--grey-500);
    border-radius: 30px;
    padding: 3rem 2rem;

    display: inline-flex;
    flex-flow: column nowrap;
    justify-items: center;
    align-items: center;
    width: 400px;
    min-height: 600px;

    position: relative;
}

section#prices .card h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

section#prices .card>span {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

section#prices .card .price .pos_3,
section#prices .card .price .pos_4 {
    color: var(--blue);
}

section#prices .card ul li {
    list-style-image: url('../img/marker.png');
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

section#prices .card ul li span {
    color: var(--blue);
    font-weight: 700;
    font-size: 1.1rem;
}

section#prices .card a {
    background-color: var(--gold);

    position: absolute;
    bottom: -1.5rem;
}

section#clube_1 {
    background-color: var(--gold);
    color: white;
}

section#clube_1 .wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 3rem;
}

section#clube_1 .wrapper div:first-child {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    gap: 2rem;
}

section#clube_1 .wrapper .link_button {
    background-color: var(--purple);
}

section#clube_1 p {
    font-size: 1.8rem;
}

section#clube_1 .offer {
    font-size: 5rem;
    text-transform: uppercase;
    background-color: var(--purple);
    padding: 1rem 2rem;
    border-radius: 20px;
}

section#clube_1 .grid {
    margin: 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    justify-items: center;
    align-items: center;
}

section#clube_2 {
    background-color: var(--purple);
    color: white;
}

section#clube_2 .card {
    margin-top: 4rem;
    font-size: 1.2rem;

    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1rem;
}

section#clube_2 .card>div {
    max-width: 650px;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
}

section#clube_2 .card p {
    margin-bottom: 4rem;
    font-style: italic;
}

section#clube_3 {
    color: white;
    background-color: var(--gold);
    padding: 7rem 0;
}

section#clube_3 .wrapper {
    display: grid;
    grid-template-columns: 3fr 1fr;
    justify-items: center;
    gap: 3rem;

    position: relative;
}

section#clube_3 .wrapper>h2 {
    display: none;
}

section#clube_3 iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 30px;

    position: relative;
    z-index: 2;
    aspect-ratio: 16 / 9;
}

section#clube_3 .custom_border {
    width: 100%;
    height: 100%;
    position: relative;
}

section#clube_3 .custom_border {
    width: 100%;
}

section#clube_3 .custom_border>div {
    width: 100%;
    height: calc(100% + 80px);
    background-color: var(--purple);
    border-radius: 30px;

    position: absolute;
    left: -40px;
    top: -40px;
}

section#clube_3 .center h2 {
    text-align: left;
}

section#clube_3 .center a {
    background-color: var(--purple);
}

section#clube_4 {
    min-height: 400px;
    background-color: var(--grey-300);
    background-image: url('../img/clube_5.png');
    background-size: auto;
    background-position: left;
    background-repeat: no-repeat;
}

section#clube_4 .wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
}

section#clube_4 .wrapper > div .title{
    text-align: left;
    font-size: 2.5rem;
}

section#clube_4 .wrapper>div {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    grid-column: 2;
}

section#clube_4 .wrapper>div p {
    font-size: 1.8rem;
    margin: 0 0 3rem 0;
    width: 100%;
}

section#clube_4 .wrapper>div a {
    background-color: var(--blue);
    width: 95px;
    text-align: center;
}

footer {
    color: white;
    background-color: var(--blue);
}

footer .wrapper {
    font-size: 1rem;

    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: space-between;
    align-items: center;
}

footer>div>div {
    text-align: right;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    margin-top: 1rem;
}

@media (min-width: 1440px) {
    html {
        font-size: 118, 8%;
    }
}

@media (max-width: 1440px) {
    html {
        font-size: 87.5%;
    }

    section#main img {
        width: 100%;
    }

    section#clube_3 .custom_border {
        width: calc(100% - 4rem);
    }
}

@media (max-width: 1250px) {

    section#prices .card,
    section#clube_1 .wrapper>img,
    section#clube_2 .card,
    section#clube_3 .center h2 {
        display: none;
    }

    section#clube_1 .wrapper div:last-child .link_button {
        display: block;
    }

    .wrapper {
        padding: 0 3rem;
    }

    .link_button {
        margin: 0 auto;
        line-height: 2rem;
    }

    nav {
        grid-template-columns: 1fr 1fr;
    }

    nav .logo {
        grid-column: 1;
    }

    nav .link_button {
        grid-column: 2;
    }

    section#options .card {
        max-width: 200px;
        flex-flow: column nowrap;
    }

    section#prices .card {
        min-height: 0;
    }

    section#options .card>span {
        text-align: center;
    }

    section#clube_1 .wrapper {
        grid-template-columns: 1fr;
    }

    section#clube_3 {
        padding: 2rem 0;
    }

    section#clube_3 .wrapper>h2 {
        display: inline;
    }

    section#clube_3 .wrapper {
        grid-template-columns: 1fr;
        gap: 5rem;
    }

    section#clube_4 {
        background-image: none;
    }

    section#clube_4 .title {
        text-align: left;
    }

    section#clube_4 .wrapper {
        grid-template-columns: 1fr;
    }

    section#clube_4 .wrapper>div {
        display: flex;
        flex-flow: column;
    }

    footer {
        padding: 2rem;
    }

    footer .wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    footer ul {
        display: flex;
        gap: 10px;
        font-size: 1.2rem;
        justify-content: center;
        align-items: center;
    }

    footer ul li:last-child::after {
        content: "";
    }

    footer>div>div {
        text-align: left;
    }
}

@media (max-width: 1080px) {
    section#main .wrapper {
        background-position: center;
    }

    section#main .grid {
        min-height: 700px;

        grid-template-areas:
            "pos1 pos1"
            "pos1 pos1"
            "pos2 pos3";
        grid-template-rows: repeat(3, 1fr);
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    section#main .card {
        scale: 0.8;
        min-width: 0;
        width: 100%;

        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }

    section#main .card h2 {
        margin: 0;
        font-size: 2rem;
        text-align: center;
    }

    section#main .grid .card#digital, section#main .grid .card#impresso {
        background-image: none;
        align-self: start;
        justify-self: start;
    }

    section#main .grid .card#impresso {
        background-color: white;
        align-self: start;
        justify-self: end;
    }

    section#main .card .price {
        justify-self: center;
    }

    .title{
        font-size: 2.5rem;
    }

    .combo-mobile{
        display: inline-block;
    }
}

@media (max-width: 720px) {
    html {
        font-size: 75%;
    }

    nav {
        grid-template-columns: 150px 1fr;
        padding: 1rem;
    }

    nav .logo {
        width: 150px;
    }

    nav .logo img {
        width: 100%;
    }

    nav .link_button {
        margin: 0;
        padding: 0.5rem 1.5rem !important;
        font-size: 1rem !important;
        line-height: 27px;
        text-align: center;

        justify-self: end;
    }

    section#main .wrapper {
        width: 100%;
        padding: 2rem 0;
    }

    section#main .grid {
        min-height: 550px;

        grid-template-areas:
            "pos1"
            "pos2"
            "pos3";
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }

    section#main .grid .title {
        align-self: end;
        justify-self: center;
    }

    section#main .grid .card {
        width: 70%;
    }

    section#main .grid .card#digital,
    section#main .grid .card#impresso {
        align-self: center;
        justify-self: center;
    }

    section#clube_1 .grid img {
        width: 65px;
    }

    section#clube_1 .offer {
        font-size: 4rem;
    }

    section#clube_3 .custom_border>div {
        height: calc(100% + 40px);
        left: -20px;
        top: -20px;
    }

    section#clube_4 .wrapper > div a {
        width: 72px;
    }

    section#options .card img {
        width: 35px;
    }

    section#options .card {
        font-size: 1rem;
    }

    section#prices .card {
        width: auto;
    }
}

@media (max-width: 480px) {
    .wrapper {
        padding: 0 1.5rem;
    }
}