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

:root {
    --paleblue: hsl(225, 100%, 94%);
    --brightblue: hsl(245, 75%, 52%);
    --verypaleblue: hsl(225, 100%, 98%);
    --desaturatedblue: hsl(224, 23%, 55%);
    --darkblue: hsl(223, 47%, 23%);
}

body {
    font-family: "Red Hat Display", sans-serif;
    background-color: var(--paleblue);
    background-image: url(./images/pattern-background-mobile.svg);
    background-repeat: no-repeat;
    background-size: 100% 50%;
}

.main-container {
    display: flex;
    height: 95vh;
    justify-content: center;
    align-items: center;
}

.container {
    margin: 2rem auto;
    background-color: white;
    border-radius: 10px;
    text-align: center;
    max-width: 20rem;
}

.container img {
    border-radius: 10px 10px 0 0;
}

.content {
    padding: 1.5rem;
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

h1 {
    font-size: 1rem;
    font-weight: 900;
    color: var(--darkblue);
    margin-bottom: .5rem;
}

.desc p {
    font-size: .75rem;
    color: var(--desaturatedblue);
}

/* price plan section */

.plan {
    background-color: var(--verypaleblue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: .75rem;
}

.plan img {
    width: 3rem;
}

.price p {
    font-size: .7rem;
    color: var(--desaturatedblue);
    text-align: left;
}

.price p:first-child {
    font-weight: 900;
    color: var(--darkblue);
}

.plan a {
    font-size: .6rem;
    font-weight: 900;
    justify-self: flex-end;
    margin-left: 3rem;
}

.plan a:hover,
.plan a:active,
.plan a:focus {
    cursor: pointer;
    color: hsla(245, 75%, 52%, 0.5);
    text-decoration: none;
}

/* payment button */

button {
    border: none;
    border-radius: 10px;
    background-color: var(--brightblue);
    color: white;
    font-weight: 600;
    font-size: .8rem;
    padding: .875rem;
    box-shadow: 1px 5px 40px hsla(245, 75%, 52%, 0.5);
}

button:hover,
button:focus {
    cursor: pointer;
    background-color: hsla(245, 75%, 52%, 0.7);
}

button:active {
    box-shadow: none;
}

.cancel-button {
    text-decoration: none;
    font-size: .75rem;
    font-weight: 900;
    color: var(--desaturatedblue);
}

.cancel-button:hover,
.cancel-button:active,
.cancel-button:focus {
    cursor: pointer;
    color: var(--darkblue);
    text-decoration: none;
}

/* attribution section */

.attribution { 
    font-size: 11px; 
    text-align: center; 
    margin-bottom: 1rem;
}

.attribution a { 
    color: hsl(228, 45%, 44%); 
}