.card {
  margin: 0 auto;
  margin: 1.2rem 1rem;
  border-radius: 0.5rem;
  background-color: hsl(0deg, 0%, 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-width: 450px;
  box-shadow: 1px 2px 4px 4px rgba(182, 180, 180, 0.1);
}
.card .card_img img {
  background-size: cover;
  background-position: center center;
}
.card .card_details {
  padding: 2rem;
}
.card .card_details .tag {
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.2rem;
}
.card .card_details .pricing {
  margin-top: 2rem;
}
.card .card_details .pricing .price {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 195px;
}
.card .card_details .pricing .price h2 {
  font-size: 2.1rem;
}
.card .card_details .pricing .price p {
  font-size: 0.8rem;
  text-decoration: line-through;
}
.card .card_details .pricing button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.9rem 0;
  cursor: pointer;
  border-radius: 0.6rem;
  border: none;
  font-size: 0.9rem;
  transition: 0.4s ease;
}
.card .card_details .pricing button img {
  width: 0.9rem;
  margin-right: 0.8rem;
}
.card .card_details .pricing button:hover {
  background-color: hsl(212deg, 21%, 14%);
}

@media screen and (min-width: 32.4em) {
  .card {
    flex-direction: row;
    max-width: 600px;
    margin: 0;
  }
  .card .card_img {
    background-image: url("./images/image-product-desktop.jpg");
    background-size: cover;
    background-position: center;
    width: 60rem;
    height: inherit;
  }
  .card .card_img img {
    display: none;
  }
  .card .card_details {
    padding: 1.5rem;
  }
  .card .card_details .pricing {
    margin-top: 1rem;
  }
  .card .card_details .pricing .price h2 {
    font-size: 2rem;
  }
  .card .card_details .pricing .price p {
    font-size: 0.7rem;
  }
  .card .card_details .tag {
    font-size: 0.8rem;
    line-height: 1.5rem;
  }
  .card .card_details h1 {
    font-size: 1.7rem;
  }
  .card .card_details .text {
    font-size: 1rem;
    line-height: 1.3;
  }
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

html {
  font-size: 18px;
}

body {
  scroll-behavior: smooth;
  min-height: 100vh;
  background-color: hsl(30deg, 38%, 92%);
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
}

img {
  display: block;
  width: 100%;
  height: 100%;
}

h1 {
  font-weight: 700;
  color: hsl(212deg, 21%, 14%);
  margin: 0.5rem 0;
  font-size: 2rem;
}

p {
  font-weight: 500;
  font-size: 1rem;
}

h2 {
  color: hsl(158deg, 36%, 37%);
}

button {
  color: hsl(0deg, 0%, 100%);
  background-color: hsl(158deg, 36%, 37%);
}

p {
  color: hsl(228deg, 12%, 48%);
}/*# sourceMappingURL=compiler.css.map */