@font-face {
  font-family: "Montserrat";
  src: url(./assets/fonts/Montserrat/Montserrat-VariableFont_wght.ttf);
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Fraunces";
  src: url(./assets/fonts/Fraunces/static/Fraunces_72pt-Regular.ttf);
  font-weight: normal;
  font-style: normal;
}

html,
body {
  background-color: hsl(30, 38%, 92%);
  font-family: Montserrat, sans-serif;
  color: hsl(228, 12%, 48%);
  font-size: 1rem;
  min-height: 100vh;
  max-width: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card {
  background-color: hsl(0, 0%, 100%);
  width: 90%;
  max-width: 800px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  border-radius: 10px;
  margin: 10% auto;
}

.column {
  width: 100%;
}

.product-desc {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.75rem;
  width: auto;
  gap: 1rem;
  margin: 0;
}

picture,
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 10px 0px 0px 10px;
}

.category {
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
}

h1 {
  font-size: 2.55rem;
  font-weight: 900;
  color: hsl(212, 21%, 14%);
  font-family: Fraunces, sans-serif;
  margin: 0;
}

.details {
  line-height: 1rem;
  margin: 0;
}

.product-price {
  display: flex;
  flex-direction: row;
  align-items: top;
  padding: 0;
  gap: 0.75rem;
}

.sale-price {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: hsl(158, 36%, 37%);
  font-family: Fraunces, sans-serif;
  margin: 0;
}

.actual-price {
  font-size: 0.75rem;
  font-weight: 500;
  text-decoration: line-through;
}

button {
  width: 100%;
  text-align: center;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: white;
  border: 1px solid hsl(158, 36%, 37%);
  border-radius: 6px;
  background-color: hsl(158, 36%, 37%);
}

button:hover {
  color: white;
  border: 1px solid hsl(158, 42%, 18%);
  background-color: hsl(158, 42%, 18%);
}

button img {
  margin-right: 0.5rem;
}

@media (max-width: 768px) {
  .card {
    flex-direction: column;
    flex-wrap: wrap;
  }

  .column {
    flex: 1;
    flex-basis: 50%;
  }

  picture,
  .product-img img {
    border-radius: 10px 10px 0px 0px;
  }
}
