@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
:root {
  --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%);
  --White: hsl(0, 0%, 100%);
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--Cream);
}

.attribution {
  font-size: 11px;
  text-align: center;
  margin-top: 10px;
}
.attribution a {
  color: hsl(228, 45%, 44%);
}
.container {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.card {
  max-width: 600px;
  height: 450px;
  border-radius: 10px;
  background-color: var(--White);
  display: flex;
}
.card .left,
.card .right {
  width: 50%;
}
.card .left picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px 0 0px 10px;
}
.card .right {
  box-sizing: border-box;
  padding: 10px 44px;
}
.card .right p:first-child {
  color: var(--Dark_grayish_blue);
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.3em;
}
.card .right > h1 {
  font-family: "Fraunces", serif;
  font-weight: 700;
  color: var(--Very_dark_blue);
}
.card .right p:nth-child(3) {
  font-family: "Montserrat", sans-serif;
  color: var(--Dark_grayish_blue);
  font-size: 13px;
}
.card .right .price {
  display: flex;
  align-items: baseline;
  gap: 22px;
}
.card .right .price h1 {
  font-family: "Fraunces", serif;
  font-weight: 700;
  color: var(--Dark_cyan);
}
.card .right .price del {
  font-family: "Fraunces", serif;
  color: var(--Dark_grayish_blue);
}
.card .right button {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: white;
  border: none;
  background-color: var(--Dark_cyan);
  width: 100%;
  padding: 14px;
  border-radius: 10px;
}
.card .right button:hover {
  background-color: hsl(158, 37%, 14%);
}
@media (max-width: 768px) {
  .container {
    padding-top: 30px;
  }
  .card {
    flex-direction: column;
    width: 90%;
    height: 100%;
    padding-bottom: 10px;
  }
  .card .left {
    width: 100%;
    height: 100%;
  }
  .card .left picture img {
    border-radius: 10px 10px 0px 0px;
  }
  .card .right {
    width: 100%;
    padding: 18px 38px;
  }
  .card .right p:nth-child(3) {
    font-size: 14px;
  }
}
