:root {
    --prmry-clr: hsl(125, 25%, 47%);
    --sec-clr: hsl(228, 12%, 48%);
    --ff-prmry: "Montserrat", sans-serif;
    --ff-sec: "Fraunces", sans-serif;
    --fs-1: 2rem;

}

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Montserrat:wght@500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,700&display=swap');

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

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

body {
    font-size: 14px;
    font-family: var(--ff-prmry);
    background-color: hsl(30, 38%, 92%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 0.1px);
    margin: 0 1.5rem;
}

p {
    color: var(--sec-clr);
    line-height: 1.8;
}

.container article:first-child img {
    border-radius: 1.2rem 1.2rem 0 0;

}

.container article:last-child {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 0 0 1.2rem 1.2rem;
    margin-top: -1rem;
}

h1 {
    color: hsl(212, 21%, 14%);
    font-family: var(--ff-sec);
    font-size: var(--fs-1);
    font-weight: 700;
}

.price {
    color: var(--prmry-clr);
    font-family: var(--ff-sec);
    font-weight: 700;
}

.container h1 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.container p {
    margin-bottom: 1rem;
}

.container ul {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.container ul li:first-child {
    font-size: var(--fs-1);
    margin-right: 1.5rem;
}

.container ul li:nth-child(2) {
    color: var(--ff-prmry);
}

h2 {
    font-family: var(--ff-prmry);
    font-size: 1rem;
    font-weight: 500;
    color: var(--sec-clr);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

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

img {
    max-width: 100%;
}

.container .btn {
    background-color: var(--prmry-clr);
    color: #fff;
    font-weight: 700;
    padding: 1rem 2rem;
    font-size: 1rem;
    width: 100%;
    border: none;
    border-radius: 0.625rem;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.container .btn img {
    margin-right: 0.5rem;
}

.container .btn:hover {
    background-color: #51754e;

}

.container {
    max-width: 800px;
}

ul {
    list-style: none;
}


@media(min-width: 640px) {
    .container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .container article:first-child img {
        border-radius: 0.625rem 0 0 0.625rem;
        width: 100%;
        src: "./images/image-product-mobile.jpg";
      }
    
      .container article:last-child {
        border-radius: 0 0.625rem 0.625rem 0;
        margin-top: 0;
        padding: 1.5rem 1.5rem 0;
      }
    
      picture img {
        height: 100%;
      }
    
      .container p {
        margin-bottom: 1rem;
      }
}