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

body{
    font-family: sans-serif;
    background-image: url(images/pattern-background-desktop.svg);
    min-height:100vh;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: hsl(225, 100%, 94%);
    position: relative;
}

.container{
    background-color: white;
    max-width: 420px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform:translate(-50%,-50%);
    border-radius: 15px;
    overflow:hidden;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

h1{
    display:flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    color: hsl(223, 47%, 23%);
}

p{
    display:flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: hsl(224, 23%, 55%);
    padding-left: 4rem;
    padding-right: 4rem;
    margin-top: 20px;
    line-height: 1.5;
}
.para2{
     margin-top: -1px;
}

.plan{
    height: 90px;
    background-color:hsl(225, 100%, 98%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    margin-top: 1rem;
    margin: 40px;
}

.plan-left{
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    margin-left: 1px;
}

.plan-details{
    display: flex;
    flex-direction: column;
}
 
h2{
    margin: 0;
} 

.plan-details span{
    margin-left: -55px;
    color: hsl(224, 23%, 55%);
    font-size: 14px;
}

.change{
    font-weight: bold;
}

.change:hover{
    text-decoration: none;
    color: blue;
    transition: color .3s ease;
}

a.payment{
    border-radius: 12px;
    background-color: hsl(245, 75%, 52%);
    color: white;
    padding: 20px 0;
    margin: 40px;
    text-decoration: none;
    display: block;
    font-weight: bold;
    font-size: 16px;
    padding:15px 0;
    text-align: center;
    box-shadow: 0 5px 5px hsl(245, 75%, 52%);
}
a.payment:hover{
    text-decoration: none;
    background-color: hsl(223, 47%, 23%);
    transition: color .3s ease;
}
a.cancel{
    color: hsl(224, 23%, 55%);
    text-decoration: none;
    text-align: center;
    font-weight: 900;
    display: block;
    margin-bottom: 40px;
}

a.cancel:hover{
    text-decoration: none;
    color: black;
    transition: color .3s ease;
}

@media only screen and (max-width:425px){
    body{
        background-image: url(images/pattern-background-mobile.svg);
        font-size: 14px;
    }
    .container{
        max-width: 85%;
    }
}