@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@500;700;900&display=swap');
:root{
    /* ### Primary */

    --Pale_blue: hsl(225, 100%, 94%);
    --Bright_blue: hsl(245, 75%, 52%);

/* ### Neutral */

    --Very_pale_blue: hsl(225, 100%, 98%);
    --Desaturated_blue: hsl(224, 23%, 55%);
    --Dark_blue: hsl(223, 47%, 23%);
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-size: 16px;
    font-family: 'Red Hat Display', sans-serif;
    background-color: var(--Pale_blue);
    background-image: url("images/pattern-background-mobile.svg");
    background-repeat: no-repeat;
    background-size: cover;
}
.main-container{
    width: 328px;
    height: 570px;
    margin: 70px auto;
    border-radius: 20px;
    background-color: white;
    overflow: hidden;
}
.image{
    background-image: url("images/illustration-hero.svg");
    height: 162px;
    background-size: cover;
}
h1{
    font-weight: 900;
    text-align: center;
    font-size: 1.4em;
    margin: 24px 0;
    color: var(--Dark_blue);
}
.main-paragraph{
    text-align: center;
    color: var(--Desaturated_blue);
    margin-bottom: 32px;
    padding: 0 30px;
}
.plan-container{
    width: 280px;
    height: 82px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto 32px;
    border-radius: 8px;
    background-color: var(--Very_pale_blue);
}
.icon-container{
    background-image: url("images/icon-music.svg");
    background-repeat: no-repeat;
    width: 50px;
    height: 50px;
}
.payment p:nth-child(1) {
    color: var(--Dark_blue);
    font-weight: 900;
    font-size: 0.9em;
}
.payment p:nth-child(2){
    color: var(--Desaturated_blue);
}
.change{
    color: var(--Bright_blue);
    font-size: 0.8em;
    font-weight: 700;
    margin-left: 30px;
}
.change:hover{
    text-decoration: none;
    color: var(--Desaturated_blue);
}
button{
    background-color: var(--Bright_blue);
    border: none;
    width: 280px;
    height: 53px;
    color: var(--Very_pale_blue);
    border-radius: 8px;
    margin: 0 auto;
    display: block;
    cursor: pointer;
    font-weight: 900;
    font-size: 0.9em;
    margin-bottom: 18px;
    box-shadow: 1px 10px 8px 3px var(--Pale_blue);
}
button:hover{
    background-color: var(--Desaturated_blue);

}
.cancel-container{
    text-align: center;
}
.cancel{
    text-decoration: none;
    color: var(--Desaturated_blue);
    font-size: 0.9em;
    font-weight: 900;
}
.cancel:hover{
    color: var(--Dark_blue);
}



/*FOOTER -----------------------*/
.attribution {
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
}

.attribution a {
    color: hsl(228, 45%, 44%);
}

/* VISTA DE ESCRITORIO-------------------*/
@media only screen and (min-width:944px) {
    body{
        background-image: url("images/pattern-background-desktop.svg");
        background-size: contain;
    }
    .main-container{
        width: 408px;
        height: 632px;
        margin-bottom: 50px;
    }
    .image{
        height: 220px;
    }
    h1{
        margin: 24px 0 24px;
    }
    .main-paragraph{
        margin-bottom: 20px;
    }
    .plan-container{
        width: 316px;
        height: 91px;
        padding: 0 10px;
        margin-bottom: 28px;
    }
    .change{
        margin-left: 60px;
    }
    button{
        width: 316px;
        margin-bottom: 32px;
    }
}