@import url('https://fonts.googleapis.com/css2?family=Karla:wght@400;700&display=swap');
:root{
    /* ### Primary */

    --Cyan: hsl(179, 62%, 43%);
    --BrightYellow: hsl(71, 73%, 54%);
    --LightCyan:hsl(179, 47%, 52%);
    /* ### Neutral */
    --LightGray: hsl(204, 43%, 93%);
    --GrayishBlue: hsl(218, 22%, 67%);
}
body{
    margin: 0;
    padding: 0;
    background-color: var(--LightGray);
    font-family: 'Karla', sans-serif;
    font-size: 16px;
}
/*MOBILE ------------------------------------*/
.main-container{
    background-color: white;
    width: 313px;
    height: 730px;
    margin: 70px auto;
    border-radius: 8px;
    overflow: hidden;
}
/*----------------community-----------------------*/
.our-community{
    padding: 8px 24px 24px;
    height: 270px;
    box-sizing: border-box;
}
.our-community h2.title{
    font-size: 1.2em;
    color: var(--Cyan);
}
.our-community h2.promo{
    color: var(--BrightYellow);
    font-size: 1em;
    margin: 25px 0 10px;
}
.our-community p{
    color: var(--GrayishBlue);
    font-size: 0.86em;
    line-height: 27px;
    margin-top: 16px;
}
/*----------------monthly_subscription------------*/
.monthly_subscription{
    background-color: var(--Cyan);
    padding: 12px 24px 24px;
    height: 230px;
    box-sizing: border-box;
    color: var(--LightGray);
}
.monthly_subscription h2{
    font-size: 1em;
    margin-bottom: 18px;
}
.price{
    font-size: 2em;
    font-weight: 700;
    margin-right: 10px;
}
.monthly_subscription p{
    margin-top: 8px;
}
button{
    margin-top: 14px;
    background-color: var(--BrightYellow);
    border-radius: 5px;
    width: 100%;
    height: 48px;
    border: none;
    color: var(--LightGray);
    font-size: 16px;
    font-weight: 700;
}
/*----------------why_us-----------------------*/
.why_us{
    background-color: var(--LightCyan);
    padding: 8px 24px 24px;
    box-sizing: border-box;
    height: 230px;
    color: var(--LightGray);
}
.why_us h2{
    font-size: 18px;
    
}
li{
    list-style: none;
    margin-left: -40px;
    font-size: 0.85em;
    line-height: 20px;
    font-weight: 300;
}
/*FOOTER ------------------------------------*/
.attribution {
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
}

.attribution a {
    color: hsl(228, 45%, 44%);
}
/*DESKTOP-----------------------------------*/
@media only screen and (min-width:680px){
    .main-container{
        width: 636px;
        height: 476px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin: 120px auto 100px;
    }
    .our-community{
        grid-column: 1/3;
        padding: 20px 35px 35px;
        height: 218px;
    }
    .our-community h2.title{
        font-size: 1.45em;

    }
    .our-community h2.promo{
        font-size: 1.1em;
    }
    .our-community p{
        font-size: 1em;
        line-height: 27px;
        margin-top: 8px;
    }
    .monthly_subscription{
        padding: 20px 40px 40px;
        height: 258px;
    }
    .monthly_subscription h2{
        font-size: 1.1em;
    }
    .monthly_subscription p{
        font-size: 0.95em;
    }
    .why_us{
        height: 258px;
        padding: 20px 40px 40px;
    }


}