@import url('https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,200..800;1,200..800&family=Kumbh+Sans:wght@100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

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

body{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: hsl(204, 43%, 93%);
    font-family: "karla";
}

.container{
    width: 55rem;
    height: 40rem;
    background-color: rgb(198, 169, 169);
    border-radius: 1rem;
    box-shadow: 5px 5px 10px rgba(160, 160, 160, 0.2),
    -5px -5px 10px rgba(91, 91, 91, 0.2);
}

.first-container{
    width: 100%;
    height: 17rem;
    background-color: white;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.first-container h2{
    color: hsl(179, 62%, 43%);
    font-size: 1.9rem;
}

.first-container_guarantee{
    color: hsl(71, 73%, 54%);
    font-weight: 600;
    font-size: 1.6rem;
    margin-top: 1rem;
}

.first-container_text{
    color: hsl(218, 22%, 67%);
    line-height: 1.8rem;
    font-size: 1.4rem;
}

.container-2nd{
    display: flex;
}

.second-container{
    width: 50%;
    height: 23rem;
    background-color: hsl(179, 62%, 43%);
    border-bottom-left-radius: 1rem;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.second-container h1{
    color: hsl(204, 43%, 93%);
    font-size: 1.5rem;
}

.second-container_month{
    font-size: 1.5rem;
    color:hsl(204, 43%, 93%);
    display: flex;
    align-items: center;
    gap: 1rem;
    color: hsl(203, 63%, 80%);
}

.second-container_month span{
    font-size: 3rem;
    font-weight: 600;
    color: hsl(204, 43%, 93%);
}

.second-container_text{
    color: hsl(204, 43%, 93%);
    font-size: 1.3rem;
    margin-top: -1rem;
}

.second-container button{
    width: 20rem;
    height: 5rem;
    border-radius: 0.5rem;
    border: none;
    background-color:hsl(71, 73%, 54%) ;
    color: hsl(0, 0%, 96%);
    font-size: 1.3rem;
    letter-spacing: 2px;
    font-weight: 600;
    box-shadow: 5px 10px 10px rgba(108, 108, 108, 0.2);
}

.third-container{
    background-color: hsl(179, 37%, 55%);
    width: 100%;
    border-bottom-right-radius: 1rem;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    color: hsl(203, 67%, 88%);
}

.third-container h1{
    color: hsl(204, 43%, 93%);
    font-size: 1.5rem;
}

.third-container p{
    font-size: 1.3rem;
    line-height: 1.8rem;
}

@media screen and (max-width: 376px){
    body{
        height: auto;
        width: 376px;
        display: flex;
        margin: 5rem 5rem;
    }

    .container{
        display: flex;
        flex-direction: column;
    }

    .first-container{
        width: 100%;
        height: 30rem;
        background-color: white;
        padding: 3rem 3rem;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .first-container h2{
        font-size: 2rem;
    }

    .first-container_guarantee{
        font-size: 1.45rem;
        font-weight: 600;
    }
    .first-container_text{
        line-height: 2rem;
        font-size: 1.1rem;
    }

    .container-2nd{
        display: flex;
        flex-direction: column;
    }

    .second-container{
        width: 100%;
        height: 23rem;
        background-color: hsl(179, 62%, 43%);
        padding: 3rem;
        display: flex;
        flex-direction: column;
        gap: 2rem;
        border-radius: 0px;
    }

    .second-container h1{
        color: hsl(204, 43%, 93%);
        font-size: 1.6rem;
    }

    .second-container_text{
        color: hsl(204, 43%, 93%);
        font-size: 1.3rem;
        margin-top: -1rem;
    }    

    .second-container button{
        width: 22rem;
        height: 5rem;
        border-radius: 0.5rem;
        border: none;
        background-color:hsl(71, 73%, 54%) ;
        color: hsl(0, 0%, 96%);
        font-size: 1.5rem;
        letter-spacing: 2px;
        font-weight: 600;
        box-shadow: 5px 10px 10px rgba(108, 108, 108, 0.2);
    }

    .third-container{
        background-color: hsl(179, 37%, 55%);
        width: 100%;
        border-bottom-left-radius: 1rem;
        border-bottom-right-radius: 1rem;
        padding: 3rem;
        display: flex;
        flex-direction: column;
        gap: 2rem;
        color: hsl(203, 67%, 88%);
    }

    .third-container h1{
        font-size: 2rem;
    }
    
    .third-container p{
        font-size: 1.5rem;
        line-height: 2rem;
    }
}