@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: hsl(30, 38%, 92%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
}
main {
  background-color: hsl(0, 0%, 100%);
  margin: 20px;
  max-width: 340px;
  border-radius: 10px;
  overflow: hidden;
}

.primary-image .img-m {
  width: 100%;
  height: auto;
}
.whole-text {
  margin: 0 1.5rem;
}
.whole-text .first-line {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 12px;
  margin-top: 10px;
  margin-bottom: 10px;
  color: hsl(228, 12%, 48%);
}
.img-d{
  display: none;
}
.heading {
  line-height: 1.7rem;
  font-family: "Fraunces", serif;
  margin-bottom: 15px;
}
.follow-up-text {
  font-size: 14px;
  font-family: "Montserrat", sans-serif;
  color: hsl(228, 12%, 48%);
  margin-bottom: 12px;
  word-break: break;
}
.price {
  font-size: 20px;
  display: flex;
}
.green {
  font-size: 30px;
  padding-right: 20px;
  margin-bottom: 15px;
  color: hsl(158, 36%, 37%);
  font-family: "Fraunces", serif;
}
.slashed-price {
  text-decoration: line-through;
  font-size: 14px;
  font-family: "Montserrat", sans-serif;
  color: hsl(228, 12%, 48%);
}
.btn {
  padding: 15px;
  margin-bottom: 15px;
  width: 100%;
  color: white;
  background-color: hsl(158, 36%, 37%);
  border: none;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  border-radius: 10px;
}
.btn:hover {
  background-color: hsl(158, 78%, 9%);
}

/* || SMALL */
@media screen and (min-width: 376px) {
  body {
    align-items: center;
  }
}

/* || LARGE */
@media screen and (min-width: 992px) {
  main {
    display: flex;
    justify-content: space-between;
    max-width: 600px;
  }
  .whole-text{
    display: flex;
    flex-direction: column;
    justify-content: center;
  
  }
  .heading{
    margin-right: 5rem;
  }
  .primary-image .img-m {
    display: none;
  }
  .primary-image .img-d {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    display: block;
  }
  .follow-up-text {
margin-right: 30px;
  }
}


