*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
:root{
    --pale-blue: hsl(225, 100%, 94%);
    --bright-blue: hsl(245, 75%, 52%);

    --very-pale-blue: hsl(225, 100%, 98%);
    --desaturated-blue: hsl(224, 23%, 55%);
    --dark-blue: hsl(223, 47%, 23%);
}

body{
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Red Hat Display', sans-serif;
}
body{
    background-color: var(--pale-blue);
    background-image: url(./images/pattern-background-desktop.svg);
    background-position: top left;
    background-repeat: no-repeat;
    background-size: 100%;
}

.container{
    width: 21rem;
    height: 29rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: hidden;
    border-radius: 15px;
    background-color: white;
    box-shadow: 0 8px 30px 2px hsla(225, 17%, 54%, 0.3), 0 6px 20px 0 hsla(226, 100%, 96%, 0.19);
}
.img-girl{
    width: 100%;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    background: url(./images/illustration-hero.svg) no-repeat;
}

.description-hero{
    width: 300px;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: space-between;
    margin: 1rem;
}
  h1{
    font-size: 1.5rem;
    font-weight: 700;
}
p{
    color: var(--desaturated-blue);
    margin: 1rem;
    font-size: 0.8rem;
}
.payment-plan{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    background-color: hsl(225, 57%, 97%);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin: 0 1rem;
}

.payment-plan img{
    width: 15%;
}
.price-tag{
    padding: 0 3.5rem 0 0.5rem;
}
.price-tag h2{
    font-size: 0.75rem;
}
.price-tag p{
    color: var(--desaturated-blue);
    font-size: 0.75rem;
    margin: 0;
}
.payment-plan a{
    text-align: center;
    font-size: 0.65rem;
    color: var(--bright-blue);
    font-weight: bold;
}
.payment-plan a:hover{
    color: var(--desaturated-blue);
    transition: all 0.4s ease 0s;
}
button{
    padding: 0.5rem 1rem;
    margin: 1rem;
    border-radius: 8px;
    border: hidden;
    font-weight: 700;
    background-color: var(--bright-blue);
    color: white;
    box-shadow: 0 8px 16px 6px hsla(225, 17%, 54%, 0.3), 0 6px 20px 0 hsla(226, 100%, 96%, 0.19);
}
.cancel a{
    margin: 1rem 1rem 2rem 1rem;
    font-size: 0.83rem;
    text-decoration: none;
    color: var(--desaturated-blue);
    font-weight: 700;
}
button:hover{
    background-color: hsl(225, 100%, 98%);
    color: hsl(245, 75%, 52%);
    transition: all 0.4s ease 0s;
}

.attribution{
    font-size: 11px; text-align: center;
    margin: 2rem 0 0 0;
}
.attribution a{
    color: hsl(228, 45%, 44%);
    text-decoration: none;
}
a:hover{
    color: var(--bright-blue);
    transition: all 0.4s ease 0s;
}

@media only screen and(min-width: 440px){
    body{
        background: var(--pale-blue) url(./images/pattern-background-mobile.svg) no-repeat top left;
    }
    main{
        width: 80%;
    }
}