@import url('https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,200..800;1,200..800&display=swap');

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

:root {
    --Cyan: hsl(179, 62%, 43%);
    --Bright-yellow: hsl(71, 73%, 54%);
    --Light-Gray: hsl(204, 43%, 93%);
    --Grayish-Blue: hsl(218, 22%, 67%);
}

ul {
    list-style: none;
}

body {
    font-family: "Karla", serif;
    background-color: var(--Light-Gray);
    min-height: 100vh;
    display: grid;
    place-content: center;
    font-weight: 400;
    font-size: 16px;
}

#card {
    box-shadow: 0px 15px 30px rgba(0, 81, 171, 0.148847);
    border-radius: 8px;
}

.top-content {
    background-color: white;
    padding: 40px;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
}

.top-content h1 {
    color: var(--Cyan);
    font-size: 24px;
}

.top-content h2 {
    color: var(--Bright-yellow);
    font-size: 18px;
    margin: 24px 0 11px 0;
}

.top-content p {
    color: var(--Grayish-Blue);
    line-height: 26px;
    width: 555px;
}

.bottom-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    color: var(--Light-Gray);
}

.bottom-content .col1 {
    background-color: var(--Cyan);
    padding: 40px;
    border-bottom-left-radius: 8px;
}

.bottom-content .col1 h2,
.bottom-content .col2 h2 {
    font-size: 18px;
    margin-bottom: 18px;
}

.bottom-content .col1 .price {
    font-size: 32px;
    font-weight: 700;
    margin: 4px 0 24px 0;
}

.bottom-content .col1 .price span {
    font-size: 16px;
    font-weight: 400;
    color: #FFFFFF;
    opacity: 0.5;
}

.bottom-content .col1 button {
    background-color: var(--Bright-yellow);
    margin-top: 26px;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    color: white;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 1px 1px 5px rgb(0, 0, 0, 0.1);
}

.bottom-content .col2 {
    background-color: hsl(179, 62%, 43%, 0.8);
    padding: 40px;
    border-bottom-right-radius: 8px;
}

.bottom-content .col2 ul {
    color: var(--Light-Gray);
}

.bottom-content .col2 ul li {
    font-size: 14px;
    line-height: 20px;
    opacity: 0.75;
}

/* mobile */
@media(max-width:700px) {
    body {
        padding-inline: 32px;
    }

    .top-content {
        padding: 28px 24px 32px 24px;
    }

    .top-content h1 {
        font-size: 20px;
    }

    .top-content h2 {
        font-size: 15px;
        margin: 24px 0 16px 0;
    }

    .top-content p {
        width: 263px;
        font-size: 14px;
    }

    .bottom-content {
        grid-template-columns: repeat(1, 1fr);
    }

    .bottom-content .col1 {
        padding: 24px;
        border-bottom-left-radius: 0px;
    }

    .bottom-content .col1 .price {
        margin: 4px 0 26px 0;
    }

    .bottom-content .col2 {
        padding: 24px;
        border-bottom-left-radius: 8px;
    }


}