@font-face {
    font-family: RedHat Display;
    src: url(./fonts/RedHatDisplay-VariableFont_wght.ttf);
}

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

:root {
    --blue100: hsl(225, 100%, 94%);
    --blue700: hsl(245, 75%, 52%);
    --blue50: hsl(225, 100%, 98%);
    --gray600: hsl(224, 23%, 55%);
    --blue950: hsl(223, 47%, 23%);
}

body, html {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: var(--blue100);
}

.background-design {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
}

.background-design img {
    max-height: 200px;
    width: 100%;
}

.container {
    width: calc(100% - 12vw);
    background-color: var(--blue50);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 1.25rem;
    max-width: 420px;
}

.hero-img {
    display: block;
    max-inline-size: 100%;
    border-radius: 1.25rem 1.25rem 0 0;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    background-color: white;
    padding: 1.5rem;
    border-radius: 0 0 1.25rem 1.25rem;
    font-family: RedHat Display;
}

.heading {
    font-size: 1.375rem;
    font-weight: 900;
    color: var(--blue950);
}

.desc {
    font-size: 1.05rem;
    color: var(--gray600);
    font-weight: 500;
    text-align: center;
}

.plan {
    display: flex;
    padding: 1rem;
    width: 100%;
    border-radius: 0.875rem;
    background-color: var(--blue50);
    justify-content: space-between;
    align-items: center;
}

.left {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.details {
    display: flex;
    gap: 0.2rem;
    flex-direction: column;
}

.details .title {
    color: var(--blue950);
    font-weight: 900;
    font-size: 0.95rem;
}

.details .price {
    color: var(--gray600);
    font-weight: 500;
    font-size: 0.9rem;
}

.plan a {
    font-weight: 900;
    font-size: 0.875rem;
}

.plan a:hover {
    color: var(--blue700);
    text-decoration: none;
}

button {
    font-family: RedHat Display;
    padding: 0.85rem 2.5rem;
    color: white;
    background-color: var(--blue700);
    border: none;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 0.725rem;
    transition: transform 120ms ease-out;
    width: 100%;
}

button:hover {
    opacity: 0.5;
    cursor: pointer;
}

button:active {
    transform: scale(0.9);
    cursor: pointer;
}

.cancel-link {
    text-decoration: none;
    color: var(--gray600);
    font-weight: 900;
}
.cancel-link:hover {
    color: var(--blue950);
}
@media (min-width: 1440px) {
    .background-design {
        inset: 0;
    }
    .background-design img {
        height: 60vh;
        max-height: none;
    }
}

