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

:root {
    --pale-blue: hsl(225, 100%, 94%);
    --bright-blue: hsl(245, 75%, 52%);
    --hover-blue: hsl(245, 86%, 71%);
    --very-pale-blue: hsl(225, 100%, 98%);
    --desaturated-blue: hsl(224, 23%, 55%);
    --dark-blue: hsl(223, 47%, 23%);
    --box-shadow: hsla(244, 34%, 65%, 0.249);
    --white: hsl(0, 0%, 100%);
    --mobile-width: 375px;
    --desktop-width: 1440px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Red Hat Display', sans-serif;
}

body {
    display: grid;
    min-height: 100vh;
    place-items: center;
    background-color: var(--pale-blue);
    background-image: url(/images/pattern-background-desktop.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 1rem auto;
    width: 450px;
    
}

.image-desktop {
    background-image: url(/images/illustration-hero.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 100%;
    padding-top: 14rem;
    border-radius: 20px 20px 0 0;
    width: 100%;
    overflow: hidden;
}

.card-container {
    display: grid;
    background: var(--white);
    border-radius: 20px;
    place-items: center;
    margin: 50px auto;
    gap: 1rem;
    box-shadow: 0px 15px 20px var(--box-shadow);
}

.card-description {
    padding: 0 3rem 0 3rem;
}

.card-description h1 {
    color: var(--dark-blue);
    padding-bottom: 1rem;
}

.card-description p {
    color: var(--desaturated-blue);
    font-size: 16px;
    padding-bottom: 0.5rem;
    line-height: 1.6rem;
}

.annual-plan-container {
    display: flex;
    background-color: var(--very-pale-blue);
    padding: 1.5rem;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.annual-price {
    padding-right: 70px;
}

.title {
    font-weight: bold;
    color: var(--dark-blue);
    margin-bottom: 0.4rem;
}

.subtitle {
    color: var(--desaturated-blue);
}

.change-link {
    font-size: 14px;
    font-weight: bold;
    color: var(--bright-blue);
}

.change-link:hover {
    text-decoration: none;
    color: var(--hover-blue);
}

.btn {
    padding: 1rem;
    width: 75%;
    outline: none;
	border: none;
    font-weight: 700;
    color: var(--white);
    background-color: var(--bright-blue);
    border-radius: 10px;
    box-shadow: 0px 15px 20px var(--box-shadow);
}

.btn:hover {
    cursor: pointer;
    background-color: var(--hover-blue);
}

.cancel-link {
    text-decoration: none;
    font-weight: 700;
    color: var(--desaturated-blue);
    margin-top: 1rem;
    padding-bottom: 3rem;
}

.cancel-link:hover {
    color: var(--dark-blue);
}

.attribution { 
    font-size: 11px; text-align: center; 
}
.attribution a { color: hsl(228, 45%, 44%); }