@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@700&family=Red+Hat+Display:wght@500;700;900&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root{
    /* Primary colors */
    --Pale_blue: hsl(225, 100%, 94%);
    --Bright_blue: hsl(245, 75%, 52%);

    /* Neutral colors */
    --Very_pale_blue: hsl(225, 100%, 98%);
    --Desaturated_blue: hsl(224, 23%, 55%);
    --Dark_blue: hsl(223, 47%, 23%);
}

/* Mobile View */
@media (max-width: 500px) {
    
    main{
        max-width: 100%;
        font-size: 14px;
    }

    body{
        margin-top: 5rem;
        width: 100%;
        max-width: 350px;
    }

    /*
    .illustration-hero{
        width: 100px;
        max-width: 100%;
    }*/

}


body{
    font-family: 'Red Hat Display', sans-serif;
    font-size: 16px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--Desaturated_blue);
    background-image: url(./images/pattern-background-desktop.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-color: var(--Pale_blue);
    margin: auto;  
}

main{
    max-width: 100%;
    width: 450px;
    background-color: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0px 10px 25px 0px hsl(225, 25%, 69%, 0.3);
    margin-top: 10px;
    height: fit-content;
}

.illustration-hero{
    width: 100%;
    margin-bottom: 0.5rem;
}


.header-and-description{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.text-component{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 3rem;
}

.header{
    color: var(--Dark_blue);
    margin-bottom: 1.5rem;
}

p{
    margin-bottom: 1.5rem;
    color: var(--Desaturated_blue);
    text-align: center;
}

.plan{
    background-color: var(--Very_pale_blue);
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 2rem;
    border-radius: 10px;
    padding: 1.5rem;
}

.annual-plan{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-right: 5rem;
}

.icon-music{
    margin-right: 0.7rem;
    width: 30%;
    height: 300%;
}

.year{
    color: var(--Dark_blue);
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.change{
    font-weight: 700;
}

.change:hover{
    color: var(--Desaturated_blue);
    text-decoration: none;
}

button{
    width: 100%;
    padding: 1rem;
    margin-bottom: 2rem;
    border: none;
    border-radius: 10px;
    font-family: 'Red Hat Display', sans-serif;
    font-size: 16px;
    background-color: var(--Bright_blue);
    color: white;
    box-shadow: 0px 10px 20px 0px hsl(225, 25%, 69%, 1);
}

button:hover{
    background-color: var(--Desaturated_blue);
    cursor: pointer;
}

.cancel{
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 1rem;
    color: var(--Desaturated_blue);
}

.cancel:hover{
    color: var(--Dark_blue);
}

.attribution { 
    font-size: 12px; 
    text-align: center; 
    margin: 10px 0px;
    padding: 10px;    
}

.attribution a { 
    font-weight: 500;
    text-decoration: none;
    color: var(--Dark_blue);
    font-family: 'Red Hat Display', sans-serif;
}

a:hover{
    color: green;
}
