* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 14px;
}
:root {
  --font-default: "Montserrat", sans-serif;
  --font-head: "Fraunces", serif;
  --font-weight-head: 700;
  --font-weight-default: 500;
  --color-white: hsl(0, 0%, 100%);
  --color-cream: hsl(30, 38%, 92%);
  --color-grey: hsl(228, 12%, 48%);
  --color-black: hsl(212, 21%, 14%);
  --color-green-500: hsl(158, 36%, 37%);
  --color-green-700: hsl(158, 42%, 18%);
}
body {
  font-family: var(--font-default);
  font-weight: var(--font-weight-default);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-cream);
}
.container {
  background-color: var(--color-white);
  max-width: 700px;
  width: 100%;
  margin-inline: 10px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  border-radius: 20px;
  overflow: hidden;
}
.img {
  width: 100%;
}
img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.content {
  width: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.content h3 {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 20px;
  font-weight: inherit;
}
.content h1 {
  font-size: clamp(1.5625rem, 0.625rem + 4.6875vw, 2.5rem);
  line-height: 1;
  text-transform: capitalize;
  font-weight: var(--font-weight-head);
  font-family: var(--font-head);
}
.content p {
  font-size: clamp(0.875rem, 0.6875rem + 0.9375vw, 1.0625rem);
  color: var(--color-grey);
  line-height: 1.5;
}
.content div > span:nth-child(2) {
  color: var(--color-grey);
  text-decoration: line-through;
}
.content div > span:nth-child(1) {
  font-family: var(--font-head);
  font-size: 40px;
  color: var(--color-green-500);
}
button {
  width: 100%;
  margin-top: auto;
  padding: 14px;
  border: none;
  border-radius: 8px;
  background-color: hsl(158, 36%, 37%);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-transform: capitalize;
  transition: 0.5s all ease-in-out;
}
button:hover {
  background-color: var(--color-green-700);
}
button img {
  width: 30px;
}
button span {
  display: inline-block;
}
@media (max-width: 640px) {
  .container {
    grid-template-columns: 1fr;
  }
  .img {
    height: 300px;
  }
}
