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

html{
    width: 100%;
    font-size: 16px;
}

body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: "Karla", sans-serif;
    line-height: 1.5;
    background-color: hsl(204, 43%, 93%);
    padding: 2rem;
}

.wrapper{
    display: grid;
    grid-template-columns: 1fr;
    background-color: #fff;
    border-radius: 1rem;
    max-width: 980px;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.2);
}

.main-box{
    padding: 3rem;
}
.main-box h1.main-heading{
    color: hsl(179, 62%, 43%);
    font-weight: 600;
}

.main-box h2.sub-heading{
    color: hsl(71, 73%, 54%);
    font-weight: 500;
    margin-top: 1rem;
}

.main-box p.main-text{
    font-weight: 700;
    color: hsl(218, 22%, 67%);
    margin-top: 1rem;

}

.sub-box{
    display: flex;
    flex-wrap: wrap;
    color:  hsl(204, 43%, 93%);
}

.flex-box{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sub-box .subscription-box{
    background-color: hsl(179, 62%, 43%);
    padding: 3rem;
    border-radius: 0 0 0 1rem;
}

.sub-box .subscription-box .price{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.8rem;
    margin: 1rem 0;
}



.sub-box .subscription-box .price span{
    font-size: 2rem;
    font-weight: 700;
}

.sub-box .subscription-box .price p{
    color: hsl(204, 43%, 75%);
    font-weight: 700;
}

button{
    background-color: hsl(71, 73%, 54%);
    display: inline-block;
    border: none;
    font-family: "Karla", sans-serif;
    font-weight: bold;
    padding: 1rem;
    width: 100%;
    color: #fff;
    cursor: pointer;
    border-radius: 0.5rem;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.2);
}

.sub-box .why-us{
    background-color: hsl(179, 62%, 50%);
    padding: 3rem;
    border-radius: 0 0 1rem 0;
    color: hsl(204, 43%, 93%);;
}

.sub-box .why-us ul{
    list-style: none;
    margin-top: 1rem;
    line-height: 1.7;
}

@media (max-width: 560px){
    .main-box,
    .sub-box .subscription-box,
    .sub-box .why-us
    {
        padding: 1.5rem;
    }

    .sub-box{
        display: flex;
        flex-direction: column;
        
    }
    .sub-box .subscription-box{
        border-radius: 0px;
    }
    .sub-box .why-us{
        border-radius: 0 0 1rem 1rem;
    }
    button{
        margin-top: 1.5rem;
    }

    h1{
        font-size: 1.3rem;
    }

    h2{
        font-size: 1rem;
    }
    .main-box p.main-text,
    .sub-box p.sub-box-text{
        font-weight: 300;
    }

    .sub-box .why-us ul li{
        font-weight: 300;
    }
}