* {
  margin: 0;
}

body {
  background-color: hsl(30, 38%, 92%);
}

#product-card {
  margin: auto;
  width: 38rem;
  display: flex;
  flex-direction: row;
  background-color: hsl(0, 0%, 100%);
  border-radius: 0.5rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#desktop-img {
  width: 50%;
  border-radius: 0.5rem 0 0 0.5rem;
}

#mobile-img {
  visibility: hidden;
  display: none;
  border-radius: 0.5rem 0.5rem 0 0;
}

#content {
  padding: 2rem;
  font-family: "Montserrat", sans-serif;
  line-height: 2rem;
}
#content h1 {
  font-family: "Fraunces", sans-serif;
  margin: 1rem 0;
  color: hsl(212, 21%, 14%);
  font-weight: 700;
}
#content p {
  color: hsl(228, 12%, 48%);
  font-size: 0.875em;
  line-height: 1.5rem;
}

#price {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
}
#price h2 {
  color: hsl(158, 36%, 37%);
  font-family: "Fraunces", sans-serif;
  font-size: 2em;
}
#price p {
  margin-left: 1rem;
  text-decoration: line-through;
}

button {
  margin-top: 1.875rem;
  width: 100%;
  height: 3rem;
  background-color: hsl(158, 36%, 37%);
  color: white;
  border: none;
  border-radius: 0.5rem;
  display: flex;
  font-weight: 800;
  text-align: center;
  align-items: center;
  justify-content: center;
}
button img {
  padding-right: 0.25rem;
}

button:hover {
  background-color: hsl(158, 42%, 18%);
}

.attribution {
  font-size: 0.15rem;
  text-align: center;
}

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

@media (max-width: 43.75rem) {
  #desktop-img {
    visibility: hidden;
    display: none;
  }
  #mobile-img {
    visibility: visible;
    display: block;
  }
  #product-card {
    flex-direction: column;
    max-width: 22rem;
    margin: 2rem auto;
  }
}

/*# sourceMappingURL=styles.css.map */
