:root {
    --font-fam-montserrat: 'Montserrat', sans-serif;
    --font-fam-fraunces: 'Fraunces', serif;
    --wg-font-400: 400;
    --wg-font-600: 600;
    --wg-font-700: 700;
    --size-font-s: 0.9rem;
    --size-font-m: 1rem;
    --size-font-l: 1.8rem;
    --size-font-xl: clamp(1.5rem, 2rem, 3dvb);
    --White: hsl(0, 0%, 100%);
    --Dark-cyan: hsl(158, 36%, 37%);
    --Cream: hsl(30, 38%, 92%);
    --Very-dark-blue: hsl(212, 21%, 14%);
    --Dark-grayish-blue: hsl(228, 12%, 48%);
    --border-radius: 15px;
    --margin-x: 1rem;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
* {
    padding: 0;
    margin: 0;
}
html {
    font-family: var(--font-fam-fraunces);
    font-family: var(--font-fam-montserrat);
    background-color: var(--Cream);
}
.container {
    background-color: var(--White);
    border-radius: var(--border-radius);
    margin: clamp(.6rem, 3vw, 3rem);
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-width: 300px;
    overflow: hidden;
    box-sizing: border-box;
}
img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: top;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}
img:nth-child(1){
    max-height: 300px;
}
img:nth-child(2){
    display: none;
}
.wrapper {
    padding-left: 2rem;
    padding-right: 2rem;
}
.content {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    justify-content: space-around;
    gap: 1rem;

}
.content h2{
    font-size: var(--size-font-s);
    font-weight: 200;
    letter-spacing: 5px;
    color: var(--Dark-grayish-blue);
}
.content > h1 {
    font-family: var(--font-fam-fraunces);
    line-height: 1;
    font-size: var(--size-font-xl);
}
.content > p {
    color: var(--Dark-grayish-blue);
    font-size: var(--size-font-s);
    line-height: 1.5;
}
.prices {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.prices h3 {
    color: var(--Dark-cyan);
    font-size: var(--size-font-l);
    font-family: var(--font-fam-fraunces);
}
.prices h4 {
    text-decoration: line-through;
    color: var(--Dark-grayish-blue);
    font-weight: var(--wg-font-400);
    font-size: var(--size-font-s);
}
.btn {
    background-color: var(--Dark-cyan);
    color: var(--White);
    border: none;
    min-height: 3.2rem;
    border-radius: 9px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: var(--wg-font-700);
}
button:hover {
    background-color: hsl(158, 36%, 25%) ;
}
.btn img {
    margin-right: 1rem;
}
.btn::before{
content: url(./images/icon-cart.svg);
margin-right: 0.5rem;
}

@media (min-width: 601px) {

    html{
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
    }
    .container {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
        max-width: 600px;
    }

    img:nth-child(1) {
        display: none; 
    }

    img:nth-child(2) {
        display: block; 
        min-height: 100%;
        border-top-right-radius: 0;
        border-bottom-left-radius: var(--border-radius);
    }
}