@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap');

* {
    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%);

    --softBlue: hsl(215, 51%, 70%);
    --cyan: hsl(178, 100%, 50%);
    --veryDarkBlueMain: hsl(217, 54%, 11%);
    --VerydarkblueCard: hsl(216, 50%, 16%);
    --VerydarkblueLine: hsl(215, 32%, 27%);
    --White: hsl(0, 0%, 100%);
}

body {
    height: 100vh;
    font-family: "Red Hat Display", serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    background-color: var(--paleBlue);
}

.container {
    text-align: center;
    max-width: 330px;
    border-radius: 16px;
    background-color: white;
    overflow: hidden;
    box-shadow: 0px 16px 16px rgba(0, 0, 0, 0.1);
}

.hero img {
    max-width: 100%;
    height: auto;
    display: block;
}

.text {
    line-height: 1.6rem;
}

.text1 h2 {
    margin-top: 2rem;
    font-weight: 900;
    color: var(--darkBlue);
    margin-bottom: 1.2rem;
}

.text1 p {
    padding: 0 2rem;
    font-weight: 500;
    color: var(--desaturatedBlue);
    margin-bottom: 0.5rem;
}

.text2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 1.5rem;
    font-size: 14px;
    background-color: var(--VeryPaleBlue);
}

.second {
    padding: 1.5rem;
}

.Annual-plan {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.Annual-plan div h4 {
    color: var(--darkBlue);
}

.Annual-plan div {
    font-weight: 700;
    color: var(--desaturatedBlue);
}

.text2 h4 {
    font-weight: 900;
}

.text2 a {
    font-weight: 700;
}

.text2 a:hover {
    color: #746bf1;
}

.btns {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btns button {
    padding: 14px;
    border: none;
    cursor: pointer;
}

.proceed {
    font-weight: 700;
    color: var(--VeryPaleBlue);
    background-color: var(--brightBlue);
    width: 100%;
    border-radius: 8px;
    box-shadow: 0px 16px 16px rgba(0, 0, 0, 0.1);
}

.proceed:hover {
    background-color: #746bf1;
}

.cancel {
    color: var(--desaturatedBlue);
    font-weight: 800;
    background-color: inherit;
}

@media (min-width: 765px) {
    .container {
        max-width: 420px;
    }

    .text2 {
        margin-top: 1rem;
        padding: 20px;
    }

    .second {
        padding: 0 2.5rem;
        margin-bottom: 1.5rem;
    }
}