@import url(https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@300;400;500;600;700&display=swap);

body{
    text-align: center;
    background-color: hsl(225, 100%, 94%, 0.4);
    background-image: url("./images/pattern-background-desktop.svg");
    background-repeat: no-repeat;
    background-position: inherit;
    background-blend-mode: overlay;
}

.container {
    text-align: center;
    justify-content: center;
    font-family: Arial, Helvetica, sans-serif;
    width: 450px;
    height: 580px;
    margin: 50px auto 7px;
    background-color: #fff;
    border-radius: 15px;
}

@media screen and (max-width: 768px){

    body{
        background-image: url("./images/pattern-background-mobile.svg");
    }
    .container {
        width: 310px;
        height: 490px;
        margin: 50px auto 30px;
    }
    .container img{
        width: 310px;
    }
    
}

h1, span {
    font-weight: 700;
    color: hsl(223, 47%, 23%);
}

#order-summary p {
    line-height: 1.5rem;
    padding: 0 85px;
    color: hsl(224, 23%, 55%);
}

@media screen and (max-width: 768px){

    #order-summary p {
        line-height: 1.2rem;
        padding: 0 25px;
    }

}

#box-plan {
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-self: center;
    background-color: hsl(225, 100%, 98%);
    border-radius: 10px;
    width: 350px;
    margin: 0 auto 5px;
    
}

#annual-plan{
    display: flex;
    align-items: center;
    margin-right: 5px;
}

#annual-plan img{
    margin-left: 20px;
    margin-right: 15px;
}

#box-plan a{
    margin-right: 20px;
    font-weight: 700;
}

#box-plan a:hover{
    text-decoration: none;
    color: hsl(239, 77%, 72%);
}

#year{
    letter-spacing: 0.5px;
    color:  hsl(224, 23%, 55%);
    font-weight: 500;
}


@media screen and (max-width: 768px){

    #box-plan {
        width: 260px;
        margin: 15px auto 5px;
    }
    
    #annual-plan{
        width: 180px;
    }
    
    #annual-plan img{
        width: 50px;
        margin-left: 10px;
        margin-right: 5px;
    }
    
    #box-plan a{
        margin-right: 10px;
    }

}

button{
    width: 350px;
    padding: 12px;
    margin: 10px auto 30px;
    box-shadow: 0px 20px 15px hsl(225, 100%, 94%);
    border: none;
    border-radius: 10px;
    font-size: 13px;
    color: hsl(225, 100%, 98%);
    background-color: hsl(245, 75%, 52%);
    cursor: pointer;
}

button:hover{
    background-color: hsl(239, 77%, 72%);
}

#cancel-order{
    margin-top: 5px;
    text-decoration: none;
    color: hsl(224, 23%, 55%);
    font-weight: 700;
}

#cancel-order:hover{
    color: hsl(223, 47%, 23%);
}

@media screen and (max-width: 768px){
    button{
        width: 260px;
        margin: 10px auto 40px;
    }

    #cancel-order{
        margin-top: 10px;
    }
}

#cancel-order{
    margin-top: 5px;
    text-decoration: none;
    color: hsl(224, 23%, 55%);
    font-weight: 700;
}

#cancel-order:hover{
    color: hsl(223, 47%, 23%);
}
