* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  background-color: hsl(30, 38%, 92%);
  color: hsl(228, 12%, 48%);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
#mobile-image {
  width: 100%;
  overflow: hidden;
  border-radius: 2rem 2rem 0 0;
}
#desktop-image {
  display: none;
  width: 100%;
  border-radius: 2rem 0 0 2rem;
}
.card {
  max-width: 30rem;
  background-color: hsl(0, 0%, 100%);
  border-radius: 2rem;
  margin: 2rem 1rem;
  display: flex;
  flex-direction: column;
}
.card-information {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
h3 {
  text-transform: uppercase;
  letter-spacing: 0.3rem;
  font-weight: 500;
}
h1 {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: 3rem;
  color: hsl(212, 21%, 14%);
}
p {
  line-height: 2rem;
  font-weight: 500;
}
.card-price {
  font-family: "Fraunces", serif;
  font-size: 3rem;
  font-weight: 700;
  color: hsl(158, 36%, 37%);
  display: flex;
  align-items: center;
}
.original-price {
  font-size: 1rem;
  font-weight: 400;
  color: hsl(228, 12%, 48%);
  text-decoration: line-through;
  margin-left: 2rem;
}
button {
  background-color: hsl(158, 36%, 37%);
  color: hsl(0, 0%, 100%);
  padding: 1.2rem;
  margin: 1.5rem 2rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 700;
  cursor: pointer;
  font-size: 1.5rem;
}
button:hover {
  background-color: hsl(158, 42%, 18%);
}

footer {
  text-align: center;
  padding: 1rem 4rem;
  margin-bottom: 2rem;
}
footer a {
  color: hsl(228, 45%, 44%);
}

@media (min-width: 90rem) {
  .card {
    flex-direction: row;
    max-width: 30rem;
    margin-left: -25rem;
    margin-top: 10rem;
  }
  #mobile-image {
    display: none;
  }
  #desktop-image {
    display: block;
  }
  .card-information {
    padding: 3rem;
    gap: 2rem;
    background-color: hsl(0, 0%, 100%);
    border-radius: 0 2rem 2rem 0;
  }
  button {
    margin: 0;
    width: 100%;
  }
}
