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

body {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  background-color: hsl(30, 38%, 92%);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 1rem;
}

.card {
  background-color: hsl(0, 0%, 100%);
  border-radius: 0.75rem;
  overflow: hidden;
  max-width: 600px;
  display: grid;
  grid-template-rows: auto 1fr;
}
.card__image img {
  width: 100%;
  display: block;
  height: auto;
}
.card__content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.card__category {
  text-transform: uppercase;
  letter-spacing: 4px;
  color: hsl(228, 12%, 48%);
  font-size: 0.75rem;
}
.card__title {
  font-family: "Fraunces", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  font-size: 1.8rem;
  color: hsl(212, 21%, 14%);
  line-height: 1.1;
}
.card__description {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 0.875rem;
  color: hsl(228, 12%, 48%);
  line-height: 1.5;
}
.card__price {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.card__price--current {
  font-family: "Fraunces", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  font-size: 1.8rem;
  color: hsl(158, 36%, 37%);
}
.card__price--old {
  font-size: 0.875rem;
  text-decoration: line-through;
  color: hsl(228, 12%, 48%);
}
.card__button {
  background-color: hsl(158, 36%, 37%);
  color: hsl(0, 0%, 100%);
  border: none;
  border-radius: 0.5rem;
  padding: 1rem;
  font-size: 0.875rem;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.card__button:hover {
  background-color: hsl(158, 42%, 8%);
}

@media (min-width: 768px) {
  .card {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    max-width: 580px;
  }
  .card__image img {
    height: 100%;
    object-fit: cover;
  }
  .card__content {
    gap: 1.5rem;
    padding: 2rem;
  }
}
footer {
  position: fixed;
  bottom: 3rem;
  width: 100%;
  text-align: center;
  font-size: 1rem;
  color: #555;
}

footer a {
  color: #3e52a3;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

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