*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    text-align:center;
    font-family: 'Red Hat Display', sans-serif;
    font-size: 16px;
    color: hsl(224, 23%, 55%);
    background-color: hsl(225, 100%, 94%);
    background-repeat: no-repeat;
    background-image: url("images/pattern-background-desktop.svg");
}

@media only screen and (max-width: 600px) {
    body {
        background-image: url("images/pattern-background-mobile.svg");
    }
}

.for-centering {
    display: flex;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
}

.card-container {
    width: 364px;
    height: 540px;
    background-color: white;
    border-radius: .9em;
    overflow: hidden;
}

img.hero {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.plan {
    display: flex;
    gap: 1em;
    line-height: .5em;
    align-items: center;
    padding: .6em;
    border-radius: .5em;
    background-color: hsl(225, 100%, 98%);
    
}

.for-padding{
    padding: 2.2em;
}

.left img {
    display: inline-block;    
}

.right {
    margin-left: auto;
}

.right > p a {
    color: hsl(245, 75%, 52%);
}

h1 {
    font-size: 1.4rem;
    margin-top: 0;
    color: hsl(223, 47%, 23%);
}

h2 {
    font-size: 1rem;
    color: hsl(223, 47%, 23%);
}

button {
    font: inherit;
    font-size: .8rem;
    font-weight: bold;
    width: 100%;
    padding: .8em;
    margin-top: 1.5em;
    background-color: hsl(245, 75%, 52%);
    color: white;
    border: none;
    border-radius: .7em;
    box-shadow: 0 15px 15px hsl(225, 100%, 94%);
}

button + p > a {
    text-decoration: none;
    color: hsl(224, 23%, 55%);
    font-weight: bold;
    font-size: .8em;
}

button:hover {
    background-color:  hsl(245, 75%, 52%, .7);
    cursor: pointer;
}

button + p > a:hover{
    color: hsl(223, 47%, 23%);
}

.right p a:hover {
    text-decoration: none;
}

.attribution { font-size: 11px; text-align: center; }