@import url('https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,400;1,700&display=swap');

*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
body{
    min-height: 100vh;
    display: flex;
    align-items: center;
    font-family: 'Karla', sans-serif;
    background-color: hsl(204, 43%, 93%);
}
.container{
    margin: 0 auto;
}
p{
    font-weight: 700;
    color:hsl(204, 43%, 93%);
    font-size: 1rem;
}
.wrapper{
    background-color: #fff;
    border-radius: 15px;
    max-width: 650px;
    overflow: hidden;
    margin: 1rem;

}
.cover{
    /* padding: 40px; */
    padding: 40px;
}
h2{
    color:hsl(179, 62%, 43%);
    font-weight: 700;
    margin-bottom: .5rem;
}
.subtitle1{
    color: hsl(71, 73%, 54%);
    font-weight:700;
    margin: 2rem 0rem;
    font-size: 18px;
}
.sub-p{
    color: hsl(218, 22%, 67%);
    font-weight: 400;
}



/* grid-column */
.foot{
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.first{
    background-color: hsl(179, 62%, 43%);
    padding: 5px 40px ;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-around;

}
.subtitle2{
    color: hsla(203, 44%, 93%, 0.87);
    font-weight: 700;
    margin-top: 20px;
    font-size: 18px;
}
.pricing{
    font-weight: 700;
    font-size:2rem;
}
span{
    font-size: 14px;
    font-weight: 700;
    color: hsla(203, 44%, 93%, 0.493);
}
.neutral{
    color: hsla(203, 44%, 93%, 0.705);
    margin-bottom: 20px;
}

button{
    background-color: hsl(71, 73%, 54%);
    border: none;
    width: 100%;
    padding: 15px 30px;
    color: hsla(203, 44%, 93%, 0.925);
    font-weight: 700;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 25px;
    transition: all .3s ease-in-out;
}
button:hover{
    background-color: hsla(71, 73%, 54%, 0.801);
}
.second{
    background-color: hsla(179, 62%, 43%, 0.623);
    padding: 40px;
    line-height: 1.5;
}
ul{
    list-style: none;
    color: hsla(203, 44%, 93%, 0.705);
}
.subtitle3{
    margin-bottom: 20px;
    color: hsla(203, 44%, 93%, 0.87);
}

@media only screen and (max-width:475px){
    .foot{
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
    .wrapper{
        max-width: 800px;
    }

}
 @media only screen and (max-width:555px){
    .subtitle2{
        max-width: 800px;
    }
    .first{
        background-color: hsl(179, 62%, 43%);
        padding: 5px 20px ;
    }
    .second{
        padding: 20px;
        line-height: 1.5;
    }
    .cover{
        padding: 20px;
    }
}

