/* The designs were created to the following widths:

- Mobile: 375px
- Desktop: 1440px

> 💡 These are just the design sizes. Ensure content is responsive and meets WCAG requirements by testing the full range of screen sizes from 320px to large screens.

## Colors

### Primary

- Cyan: hsl(179, 62%, 43%)
- Bright Yellow: hsl(71, 73%, 54%)

### Neutral

- Light Gray: hsl(204, 43%, 93%)
- Grayish Blue: hsl(218, 22%, 67%)

## Typography

### Body Copy */

:root {
    --background-color: hsl(204, 43%, 93%);
}

* {
    margin: 0;
    box-sizing: border-box;
;}

body {
    font-family: 'Karla', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--background-color);
    padding: 0rem;
    border-radius: 10px;
    
    width: 100%;
}

.card-container {
    margin: 2rem;
}


/* -----------first_card_section------------------- */
.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: white;
    
}

.card-header {
    padding: 2rem;
    width: 300px;
}

.card h1 {
    color: hsl(179, 62%, 43%);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.warranty {
    color: hsl(71, 73%, 54%);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.text {
    color: hsl(218, 22%, 67%);
    font-size: .8rem;
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.8;
}


/* -------------second-card-section-------------------  */


.card-suscription {
    background-color: hsl(179, 62%, 43%);
    padding: 2rem;
    width: 100%;
    width: 300px;
}

.price .price_text{
    margin-bottom: 0;
}

.card-suscription h2 {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: start;
}

.card-suscription span {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0rem;
    text-align: start;
    margin-right: .4rem;
}

.card-suscription p {
    color: rgba(255, 255, 255, 0.705);
    font-size: .9rem;
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.8;
    text-align: start;
}

.card-suscription button {
    width: 100%;
    background-color: hsl(71, 73%, 54%);
    color: white;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: .8rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 1rem;
}

.card-suscription button:hover {
    background-color: hsl(71, 73%, 54%);
    color: white;
}

/* -----------------third-card-section------------------- */
.card-bottom {
    background-color: hsl(179, 45%, 53%); 
    justify-content: center;
    background-color: ;
    padding: 2rem;
    color: white;
    width: 100%;
    width: 300px;
}

.card-bottom h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}
ul {
    list-style-type: none; 
    padding-left: 0;
    margin-left: 0; 
    color: rgba(255, 255, 255, 0.705);;
    font-size: .9rem;
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.6;
    }







/* -----------------media-queries------------------- */
@media screen and (min-width: 1200px) {
    
    body {
        height: 100dvh;
        position: relative;
        overflow-y: hidden;
    }

    .card-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-template-areas: 
            "header header"
            "suscription bottom";
        max-width: 700px;
        margin: 4rem auto;
    }

    .card {
        display: contents; /* Key: elimina la estructura de .card */
    }

    .card-header {
        grid-area: header;
        width: auto;
        padding: 2.5rem 2rem;
        background-color: white;
    }

    .card-header h1 {
        color: hsl(179, 62%, 43%);
        font-size: 1.6rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .warranty {
        font-size: 1.3rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }
    .text {
        color: hsl(218, 22%, 67%);
        font-size: 1.1rem;
        font-weight: 400;
        margin-bottom: 0rem;
        line-height: 1.8;
    }
    .card-suscription {
        grid-area: suscription;
        width: auto;
        padding: 2.5rem;
        background-color: hsl(179, 62%, 43%)
    }

    .card-suscription button {
        margin-top: 1.5rem;
        margin-bottom: 0;
    }
    .card-bottom {
        background-color: hsl(179, 45%, 53%);
        grid-area: bottom;
        width: auto;
        padding: 2.5rem;
    }

    .attributtion {
        position: absolute;
        top: 35px;
    }
}