@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@500;700;900&display=swap');


* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --color-bright-blue:  hsl(245, 75%, 52%);
    --color-purple: #766cf1;
    --color-desturated-blue: hsl(224, 23%, 55%);
    --color-dark-blue: hsl(223, 47%, 23%);
    --color-pale-blue : hsl(225, 100%, 94%);
    --color-very-pale-blue: hsl(225, 100%, 98%);;
    --color-white : #fff;
}
 
body {
    font-family: 'Red Hat Display', sans-serif;
    background-color: var(--color-pale-blue);
    font-size: 16px;
}

h2, h4 {
    color: var(--color-dark-blue);
}

.main {
    background: url(../images/pattern-background-desktop.svg) no-repeat;
    background-size: 100%;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.card {
    width: 410px;
    max-width: 85%;
    background-color: var(--color-white);
    border-radius: 15px;
    text-align: center;
    margin: 15px;
    box-shadow: 0 0 25px 0 rgba(92, 81, 248, 0.2);
}

.card .hero-img {
    margin: auto;
    width: 100%;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.card .card-body {
    width: 100%;
    padding: 18px 25px;
}

.card .card-body h2 {
    font-size: 24px;
    padding-top: 25px;
    font-weight: 900;
}

.card .text-p {
    padding: 20px 0;
    font-weight: 500;
    color: var(--color-desturated-blue);
    line-height: 21px;
}


.order-plan {
    width: 100%;
    display: flex;
    padding: 15px;
    align-items: center;
    background-color: var(--color-very-pale-blue); 
    border-radius: 10px;
    margin-bottom: 17px;
}

.card .plan-bg img {
    height: 45px;
    width: 45px;
}
.card .plan-info {
    padding: 0 16px;
    width: 100%;
    text-align: start;
}
.card .plan-info h4 {
    font-size: 16px;
    padding-bottom: 5px;
    font-weight: 900;
}
.card .plan-info .info-p {
    color: var(--color-desturated-blue);
}

.card .change-link {
    color: var(--color-bright-blue);
    font-weight: 700;
    transition: all 0.3s;
    font-size: 13px;
}

.card .change-link:hover {
    color: #766cf1;
    transition: all 0.3s;
    text-decoration: none;
}

.card .card-btns {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.card button {
    width: 100%;
    font-size: 14px;
    padding: 15px;
    font-weight: 700;
    background-color: var(--color-bright-blue);
    border: var(--color-bright-blue);
    color: var(--color-white);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0px 8px 20px rgba(64, 96, 238, 0.7);
}

.card button:hover {
    background-color: var(--color-purple);
    border: var(--color-purple);
    transition: all 0.3s;
}

.card .cancel-link {
    padding: 21px 0;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    color: var(--color-desturated-blue);
}

.card .cancel-link:hover {
    color: var(--color-dark-blue);
    transition: all 0.3s;
}

.attribution {
    font-size: 11px;
    text-align: center;
    padding-top: 20px;
}

.attribution a {
    color: hsl(228, 45%, 44%);
}