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


/* Box sizing rules */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Prevent font size inflation */
html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
    font-size: 62.5%;
}

/* Remove default margin in favour of better control in authored CSS */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
    list-style: none;
}

/* Set core body defaults */
body {
    min-height: 100vh;
    line-height: 1.5;
    font-size: 1.6rem;
    font-family: "Karla", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    background-color: var(--lightGray);
}

/* Set shorter line heights on headings and interactive elements */
h1,
h2,
h3,
h4,
button,
input,
label {
    line-height: 1.1;
}

/* Balance text wrapping on headings */
h1,
h2,
h3,
h4 {
    text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
    text-decoration-skip-ink: auto;
    color: currentColor;
}

/* Make images easier to work with */
img,
picture {
    max-width: 100%;
    display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
    min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
    scroll-margin-block: 5ex;
}
:root {
    --cyan: hsl(179, 62%, 43%);
    --brightYellow: hsl(71, 73%, 54%);
    --lightGray: hsl(204, 43%, 93%);
    --grayishBlue: hsl(218, 22%, 67%);
}

.container {
    height: 100%;
    border-radius: 0.8rem;
    margin-left: 2rem;
    margin-right: 2rem;
    color: #fff;
    overflow: hidden;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}

.top {
    background-color: #fff;
    padding: 2.5rem 2rem;
}
.top h1 {
    font-size: 2.2rem;
    color: var(--cyan);
    margin-bottom: 2rem;
}
.top h2 {
    font-size: 1.6rem;
    color: var(--brightYellow);
    margin-bottom: 1.5rem;
}
.top p {
    font-size: 1.5rem;
    color: var(--grayishBlue);
}

.middle {
    background-color: var(--cyan);
    padding: 2.5rem 2rem;
}
.middle .price-div {
    display: flex;
    align-items: center;
    margin-top: 1.2rem;
}
.middle .price-div h2 {
    margin-right: 1rem;
}
.middle h1 {
    font-size: 1.8rem;
    font-weight: 500;
}
.middle div h2 {
    font-size: 2.9rem;
    margin: 0;
    margin-right: 1rem;
}
.middle .price-div span {
    margin: 0;
    color: var(--lightGray);
}

.middle p {
    margin-top: 0.1rem;
    margin-bottom: 2.5rem;
}
.middle button {
    width: 100%;
    outline: none;
    background-color: var(--brightYellow);
    padding: 1.5rem 3rem;
    border-radius: 1rem;
    color: #fff;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}
.bottom {
    background-color: rgb(68, 192, 192);
    padding: 2.5rem 2rem;
}
.bottom h1 {
    font-size: 2rem;
}
.bottom ul {
    list-style: none;
    padding: 0;
}

.bottom li {
    color: var(--lightGray);
}

@media only screen and (min-width: 768px) {
    .container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        width: 56rem;
    }
    .top {
        grid-column-start: span 2;
    }

}

@media only screen and (min-width: 768px) {
    .container {
        width: 60rem;
    }
    .top {
        padding: 2rem 2rem 5rem 2rem;
        
    }
    .top h1 {
        font-size: 3rem;

    }
    .top h2 {
        font-size: 2rem;
        
    }
    .middle {
        padding: 2rem 2rem 2rem 2rem;
    }
    .middle .price-div h2 {
        font-size: 4rem;
    }
    .middle .price-div {
        margin-bottom: 1rem;
    }
    .middle p {
        margin-bottom: 4rem;
    }
    .middle button {
        width: 24rem;
        padding: 2rem;
    }
}

@media only screen and (min-width: 1440px) {
    .container {
        width: 80rem;
    }
}