/* ### Primary

- Dark cyan: hsl(158, 36%, 37%)
- Cream: hsl(30, 38%, 92%)

### Neutral

- Very dark blue: hsl(212, 21%, 14%)
- Dark grayish blue: hsl(228, 12%, 48%)
- White: hsl(0, 0%, 100%) */

@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,700&family=Montserrat:wght@500;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-size: 14px;
  background-color: hsl(30, 38%, 92%);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
img {
  max-width: 100%;
}

.container {
  display: flex;
  flex-direction: column;
  padding: 20px;
  max-width: 400px;
  align-self: center;
  justify-self: center;
}
.container article:first-child img {
  border-radius: 0.625rem 0.625rem 0 0;
}
.container article:last-child {
  background-color: #fff;
  max-width: 100%;
  padding: 20px;
  margin-top: -3px;
  border-radius: 0 0 0.625rem 0.625rem;
}
.container h2 {
  font-family: "Montserrat", sans-serif;

  letter-spacing: 0.3rem;
  text-transform: uppercase;
  color: hsl(228, 12%, 48%);
}
.container h1 {
  color: hsl(212, 21%, 14%);
  margin-right: 20px;
  margin-top: 0.5rem;
  line-height: 2rem;
}
.container h2,
.container p {
  color: hsl(228, 12%, 48%);
  font-size: 14px;
  margin-right: 20px;
  font-weight: 500;
}
.price {
  color: hsl(158, 36%, 37%);
}
.container ul {
  display: flex;
  align-items: center;
  list-style-type: none;
}
.container ul li:last-child {
  justify-content: center;
  color: hsl(228, 12%, 48%);
  margin-left: 1.5rem;
}
.container h1,
.price {
  font-family: "Fraunces", sans-serif;

  font-size: 2rem;
}
.container p {
  font-family: "Montserrat", sans-serif;
  line-height: 1.4rem;
  margin-top: 0.7rem;
  margin-bottom: 1.3rem;
}
.btn {
  display: flex;
  border-radius: 0.625rem;
  width: 100%;
  align-items: center;
  justify-content: center;
  background-color: hsl(158, 36%, 37%);
  color: hsl(0, 12%, 92%);
  border-style: none;
  padding: 20px;
  font-family: "Montserrat", sans-serif;
  font-weight: 550;
  margin-top: 1rem;
  cursor: pointer;
}
.btn img {
  margin-right: 10px;
}
.btn:active {
  background-color: hsl(157, 37%, 27%);
}
@media (min-width: 650px) {
  body {
    scale: 0.8;
  }
  .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
    padding: 70px;
  }
  .container article:first-child img {
    border-radius: 0.625rem 0 0 0.625rem;
    height: 100%;
  }
  .container article:last-child {
    width: 100%;
    height: 100%;
    margin-top: 0;
    border-radius: 0 0.625rem 0.625rem 0;
  }
  .container h2 {
    font-size: 12px;
    margin-bottom: 1rem;
  }
  .container p {
    margin-top: 1rem;
  }
}
