:root{
    --pmr-clr-pale-blue: hsl(225, 100%, 94%);
    --pmr-clr-bright-blue: hsl(245, 75%, 52%);
    --ntl-clr-v-pale-blue: hsl(225, 100%, 98%);
    --ntl-clr-desatured-blue: hsl(224, 23%, 55%);
    --ntl-clr-dark-blue: hsl(223, 47%, 23%);
    --clr-white: hsl(0, 0%, 100%);
    --ff-red-hat:'Red Hat Display', serif; 
     
}


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

html{
    font-size: 16px;
    font-family: var(--ff-red-hat);
}

body{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding-top: 1em;
    background-image: url("../images/pattern-background-mobile.svg");
    background-repeat: no-repeat;
    background-size: 100vw;
    background-color: var(--pmr-clr-pale-blue);
}


p{  
    font-size: .9rem;
    font-weight: 500;
}

h1{
    font-size: 1.4rem;
    font-weight: 900;
}

h2{
    font-size: .9rem;
    font-weight: 700;
}

.hero{
    max-width: 100%;
    border-radius: 1rem 1rem 0 0;
    margin-bottom: 1.5rem;
}

.card{
    display: flex;
    flex-direction: column;
    background-color: var(--clr-white);
    align-items: center;
    text-align: center;
    gap: 1rem;
    max-width: 20rem;
    border-radius: 1rem;
    margin: 0 auto;
    margin-bottom: 1rem;
    box-shadow: 0 1rem 5rem -3rem var(--ntl-clr-desatured-blue);
    
}

.title, .h4__annual-price{
    color: var(--ntl-clr-dark-blue);
}

.app-description{
   max-width: 25ch;
   color:var(--ntl-clr-desatured-blue);
   line-height: 1.75rem;
}

.music-plan{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 1em;
    max-width: 18rem;
    background-color: var(--ntl-clr-v-pale-blue);
    border-radius: .5rem;
    margin-bottom: .5rem;
}




.annual-price{
    margin-left: 1rem;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    
}


.p__annual-price{
    color: var(--ntl-clr-desatured-blue);
}

.change-link{
    font-size: .9rem;
    margin-left: 3rem;
    font-weight: 700;
    color: var(--pmr-clr-bright-blue);
    
}

.btn-payment{
    color: var(--clr-white);
    padding: 1em 4em;
    border-radius: .5rem;
    background-color: var(--pmr-clr-bright-blue);
    text-decoration: none;
   /* box-shadow: 0 1rem 10px 0 var(--pmr-clr-pale-blue);*/
    box-shadow: 0 1rem 4rem -1.2rem var(--pmr-clr-bright-blue);
    margin-bottom: .5rem;
    max-width: 17.5rem;
    width: 17.5rem;
}


.btn-payment:hover, .change-link:hover{
    opacity: 0.7;
}

.cancel-order{
    color: var(--ntl-clr-desatured-blue);
    text-decoration: none;
    margin-bottom: 2rem;
}

.cancel-order:hover{
    color: var(--ntl-clr-dark-blue);
}

.attribution { font-size: 11px; text-align: center; color: var(--ntl-clr-dark-blue);
    margin-top: 7rem;
}
.attribution a { color: var(--pmr-clr-bright-blue); }

@media (min-width: 425px){
    body{
        /*display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        padding-top: 1em;*/
        background-image: url("../images/pattern-background-desktop.svg");
        background-repeat: no-repeat;
        background-size: 100vw;
        background-color: var(--pmr-clr-pale-blue);
        padding-top: 7em;
    }
    

    p{  
        font-size: 1.125rem;
        font-weight: 500;
    }
    
    h1{
        font-size: 2rem;
        font-weight: 900;
    }
    
    h2{
        font-size: 1rem;
        font-weight: 700;
    }

    .card{
        max-width: 30rem;
    }

    .app-description{
        max-width: 30ch;
     }

     .btn-payment{
        
        max-width: 22rem;
        width: 22rem;
     }

     .music-plan{
        flex-wrap: nowrap;
        max-width: 22rem;
        width: 22rem;
        padding: 1em;
        
     }

     .change-link{
        font-size: .9rem;
        margin-left: auto;
        font-weight: 700;
        color: var(--pmr-clr-bright-blue);
        
    }

}