@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@500;700;900&display=swap');

@media all and (min-width:375px) {
    html {
    background-image: url(images/pattern-background-mobile.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    }
}

html {
    background-image: url(images/pattern-background-desktop.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    background-color: hsl(225, 100%, 98%);
}

main {
    display: flex;
    flex-direction: column;
    min-width: 325px;
    max-width: 425px;
    height: 600px;
    background-color: white;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 2px 2px 50px hsla(245, 75%, 52%, 0.253);
    font-family: 'Red Hat Display', sans-serif;
    margin: auto;
}

.hero {
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    height: 200px;
}

h1 {
    margin-top: 10%;
    margin-bottom: 0;
    color: hsl(223, 47%, 23%);
    font-weight: 900;
}

.desc {
    padding: 0 12%;
    color: hsl(224, 23%, 55%);
    font-weight: 500;
}

.info {
    height: 55px;
    padding: 15px 0;
    display: flex;
    margin: 10px 10%;
    background-color: hsl(225, 100%, 98%);
    border-radius: 1rem;
    justify-content: center;
}

.info {
    justify-content: space-between;
}

.info img {
    margin: 5px 18px;
}

.plan {
    margin: 0px;
    padding: 5px;
    color: hsl(223, 47%, 23%);
    font-weight: 900;
}
.price {
    margin: 0;
    color: hsl(224, 23%, 55%);
    font-weight: 500;
}

.change {
    border: none;
    background: none;
    text-decoration: underline;
    color: hsl(245, 75%, 52%);
    font-family: 'Red Hat Display', sans-serif;
    font-weight: 700;
    margin-right: 25px;
}

.proceed {
    margin: 10px 10%;
    background-color: hsl(245, 75%, 52%);
    border: none;
    border-radius: .5rem;
    color: white;
    padding: 10px 0;
    box-shadow: 0 0 10px hsla(245, 75%, 52%, 0.336);
    font-family: 'Red Hat Display', sans-serif;
    font-weight: 700;
    letter-spacing: .5px;
}

.cancel {
    margin: 10px 10%;
    background: none;
    border: none;
    color: hsl(224, 23%, 55%);
    font-family: 'Red Hat Display', sans-serif;
    font-weight: 900;
    letter-spacing: .5px;
}

.cancel:hover {
    color: hsl(223, 47%, 23%);
}

.proceed:hover {
    background-color:hsl(245, 68%, 58%);
}

.change:hover {
    text-decoration: none;
}