/* Font Import */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
/* Variables */
/* Colour Palette*/
/* Breakpoints */
h1 {
  font-family: "Montserrat", sans-serif;
  color: hsl(228, 12%, 48%);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.25rem;
  font-weight: 500;
  padding-bottom: 0.75rem;
}

h2 {
  font-family: "Fraunces", sans-serif;
  color: hsl(212, 21%, 14%);
  font-size: 2rem;
  font-weight: 700;
  line-height: 100%;
  padding-bottom: 1rem;
}

p {
  font-family: "Montserrat", sans-serif;
  color: hsl(228, 12%, 48%);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 150%;
  padding-bottom: 1rem;
}

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

html {
  background-color: hsl(30, 38%, 92%);
}

.container {
  display: grid;
  height: 100vh;
  place-content: center;
}

.card {
  background-color: hsl(0, 0%, 100%);
  border-radius: 0.7rem;
  overflow: hidden;
  height: fit-content;
  margin: 1.5rem 1rem;
}

figure img {
  display: block;
  width: 100%;
}
figure img.desktop-img {
  display: none;
}

.product-text {
  margin: 1.5rem;
}

.product-price {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-bottom: 1rem;
}
.product-price .price-current {
  font-family: "Fraunces", sans-serif;
  color: hsl(158, 36%, 37%);
  font-weight: 700;
  font-size: 2rem;
  padding-right: 1rem;
  padding-bottom: 0;
}
.product-price .price-original {
  font-family: "Montserrat", sans-serif;
  color: hsl(228, 12%, 48%);
  text-decoration: line-through;
  font-size: 0.75rem;
  font-weight: 500;
  padding-bottom: 0;
}

button {
  display: flex;
  background-color: hsl(158, 36%, 37%);
  width: 100%;
  font-family: "Montserrat", sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: hsl(0, 0%, 100%);
  border-radius: 10px;
  padding: 0.875rem;
  border: none;
  justify-content: center;
}
button .icon {
  padding-right: 0.75rem;
}
button:hover {
  cursor: pointer;
  background-color: hsl(158, 42%, 18%);
}

.attribution {
  font-size: 0.688rem;
  text-align: center;
}

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

@media only screen and (min-width: 1440px) {
  .card {
    display: grid;
    grid-template-columns: 0.5fr 0.5fr;
    margin: 0 auto;
    width: 36rem;
    height: 27rem;
  }
  .product-text {
    margin: 1.75rem;
    margin-bottom: 1.5rem;
  }
  .product-price {
    padding-bottom: 1.5rem;
  }
  h1,
  h2 {
    padding-bottom: 1.5rem;
  }
  figure img.mobile-img {
    display: none;
  }
  figure img.desktop-img {
    display: block;
  }
}

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