* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  color: hsl(228deg, 12%, 48%);
}

body {
  background-color: hsl(30deg, 38%, 92%);
  font-size: 14px;
}

main {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product {
  display: flex;
  max-width: 43%;
  max-height: 80%;
  border-radius: 0.5rem;
  background-color: hsl(0deg, 0%, 100%);
}
.product-image {
  max-width: 50%;
}
.product-image img {
  width: 100%;
  height: 100%;
  border-radius: 0.5rem 0 0 0.5rem;
  -o-object-fit: cover;
     object-fit: cover;
}
.product-content {
  display: flex;
  align-items: center;
  max-width: 50%;
  padding: 2rem;
}
.product span.label {
  letter-spacing: 5px;
}
.product h1 {
  font-family: "Fraunces", serif;
  font-size: 30px;
  line-height: 1.7rem;
  color: hsl(212deg, 21%, 14%);
  margin: 1.5rem 0;
}
.product p {
  line-height: 22px;
}
.product .price {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
}
.product .price-after {
  font-family: "Fraunces", serif;
  font-size: 30px;
  color: hsl(158deg, 36%, 37%);
}
.product .price-before {
  margin-left: 1rem;
  text-decoration: line-through;
}
.product .btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  outline: none;
  border: none;
  width: 100%;
  padding: 0.75rem 0;
  border-radius: 0.5rem;
  color: hsl(0deg, 0%, 100%);
  background-color: hsl(158deg, 36%, 37%);
  font-weight: 700;
  cursor: pointer;
}
.product .btn-primary:active {
  background-color: #2c5e4b;
}

.attribution {
  font-size: 11px;
  text-align: center;
}

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

@media only screen and (max-width: 1024px) {
  .product {
    max-width: 60%;
  }
}
@media only screen and (max-width: 768px) {
  .product {
    max-width: 80%;
  }
}
@media only screen and (max-width: 425px) {
  main {
    height: unset;
    margin: 2rem 0;
  }
  .product {
    flex-direction: column;
    width: 90%;
  }
  .product-image {
    max-width: unset;
  }
  .product-image img {
    width: 100%;
    border-radius: 0.5rem 0.5rem 0 0;
  }
  .product-content {
    max-width: unset;
    padding: 1rem;
  }
}/*# sourceMappingURL=style.css.map */