* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  line-height: 1;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font: 100% Montserrat, sans-serif;
  color: hsl(212, 21%, 14%);
  background-color: hsl(30, 38%, 92%);
  transition: 0.5s;
}

main {
  display: flex;
  flex-direction: row;
  width: 600px;
  height: 400px;
  background-color: hsl(0, 0%, 100%);
  border-radius: 0.5rem;
  overflow: hidden;
}
main .image {
  background-image: url(./images/image-product-desktop.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 300px;
  height: auto;
}
main .info {
  width: 300px;
}
main p, main h1, main .original {
  color: hsl(228, 12%, 48%);
}
main h2, main .reduced {
  color: hsl(158, 36%, 37%);
}
main button {
  background-color: hsl(158, 36%, 37%);
  color: hsl(0, 0%, 100%);
}
main .info {
  padding: 2rem;
}
main h1 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.4rem;
}
main h2 {
  font-family: Fraunces, serif;
  font-size: 32px;
  color: hsl(212, 21%, 14%);
  padding: 1rem 0;
}
main p {
  font-size: 14px;
  line-height: 1.5;
  padding-bottom: 1rem;
}
main .price {
  padding-bottom: 1rem;
}
main .reduced {
  font-size: 32px;
  font-family: Fraunces, serif;
  font-weight: bold;
}
main .original {
  font-size: 13px;
  font-weight: medium;
}
main button {
  display: flex;
  justify-content: center;
  gap: 1rem;
  font-size: 14px;
  border: none;
  width: 100%;
  padding: 1rem 0;
  border-radius: 0.5rem;
  cursor: pointer;
}
main button:hover {
  background-color: hsl(158, 42%, 18%);
}

@media only screen and (max-width: 650px) {
  body {
    background-color: hsl(158, 36%, 37%);
  }
  main {
    display: flex;
    flex-wrap: wrap;
    width: 343px;
    height: 611px;
  }
  main .image {
    background-image: url(./images/image-product-mobile.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 343px;
    height: 240px;
  }
  main h1 {
    font-size: 12px;
  }
  main .info {
    width: 100%;
  }
}

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