@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,700&display=swap');

:root {
    --cream: #F2EAE2;
    --aurometal-saurus: #6C7289;
    --deep-aquamarine: #3D8168;
    --deep-aquamarine-hover: #1A4032;
    --gumetal: #1C232B;
}

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

html {
    font-size: 62.5%;
}

body {
    font-family: Montserrat, sans-serif;
    font-size: 1.4rem;
}

/*typography*/
p {
    line-height: 2.3rem;
    letter-spacing: 0;
    font-weight: 500;
}

.display {
    font-family: Fraunces, sans-serif;
    font-weight: bold;
    font-size: 3.2rem;
    line-height: 3.2rem;
    color: var(--gumetal);
}

.overline {
    font-size: 1.2rem;
    letter-spacing: .5rem;
    line-height: normal;
    color: var(--aurometal-saurus);
}

.discount {
    font-size: 1.3rem;
    color: var(--aurometal-saurus);
}

button {
    display: flex;
    justify-content: center;
    column-gap: 1.2rem;
    background-color: var(--deep-aquamarine);
    color: white;
    border: none;
    border-radius: 0.8rem;
    padding: 1.5rem 9.2rem;
    min-width: 29.5rem;

    @media screen and (width >= 690px) {
        min-width: 23.6rem;
        padding: 1.5rem 6.2rem;
    }
}

button:hover{
    background-color: var(--deep-aquamarine-hover);
    cursor: pointer;
}

.btn-text {
    font-family: Montserrat, sans-serif;
    font-weight: bold;
    font-size: 1.4rem;
}

/*containers*/
.container {
    width: 100%;
    height: calc(100vh - 1px);
    background-color: var(--cream);
    display: flex;
    justify-content: center;
    padding: 2.8rem 1.6rem;

    @media screen and (width >= 690px) {
        align-items: center;
    }
}

.card {
    display: flex;
    flex-direction: column;
    max-width: 42rem;

    @media screen and (width >= 690px) {
        flex-direction: row;
        max-width: 60rem;
    }
}

.card img {
    width: 100%;
    height: 100%;
    border-top-left-radius: 1.2rem;
    border-top-right-radius: 1.2rem;

    @media screen and (width >= 690px) {
        border-radius: 1.2rem 0 0 1.2rem;
        min-width: 30rem;
    }
}

.card-body {
    display: flex;
    flex-direction: column;
    row-gap: 2.4rem;
    padding: 2.4rem;
    background-color: white;
    border-bottom-left-radius: 1.2rem;
    border-bottom-right-radius: 1.2rem;

    @media screen and (width >= 690px) {
        border-radius: 0 1.2rem 1.2rem 0;
        row-gap: 3rem;
        padding: 3.2rem;
    }
}

.card-title {
    display: flex;
    flex-direction: column;
    row-gap: 1.2rem;

    @media screen and (width >= 690px) {
        row-gap: 2rem;
    }
}

.card-text {
    display: flex;
    flex-direction: column;
    row-gap: 1.6rem;

    @media screen and (width >= 690px) {
        row-gap: 2.4rem;
    }
}

.card-description {
    color: var(--aurometal-saurus);
}

.card-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 1.9rem;
    width: 65%;
}

.card-price p:first-of-type {
    color: var(--deep-aquamarine);
}


.attribution {
    font-size: 11px;
    text-align: center;
}

.attribution a {
    color: hsl(228, 45%, 44%);
}
