@import url("https://fonts.googleapis.com/css2?family=Fraunces:wght@700&family=Montserrat:wght@500;700&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  background-color: hsl(30, 38%, 92%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.container {
  display: flex;
  width: 650px;
  background-color: white;
  border-radius: 10px;
  margin: 2rem;
}
.img {
  width: 50%;
}
.img img {
  width: 100%;
  height: 100%;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}
.txts {
  width: 50%;
  padding: 2rem;
}
.perfume {
  letter-spacing: 5px;
  color: hsl(228, 12%, 48%);
  font-family: "Montserrat", sans-serif;
  margin-bottom: 1.3rem;
}
.h2 {
  font-family: "Fraunces", serif;
  font-size: 30px;
  line-height: 30px;
  margin-bottom: 2rem;
}
.discription {
  font-family: "Montserrat", sans-serif;
  color: hsl(228, 12%, 48%);
  line-height: 25px;
  margin-bottom: 2rem;
}
.pricings {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.pricings h1 {
  font-family: "Fraunces", serif;
  color: hsl(158, 36%, 37%);
}
.pricings p {
  font-family: "Montserrat", sans-serif;
  color: hsl(228, 12%, 48%);
  text-decoration: line-through;
}
.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 1rem;
  padding: 1.3rem 3rem;
  border-radius: 10px;
  border-style: none;
  background-color: hsl(158, 36%, 37%);
  color: white;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
}
.btn:hover {
  cursor: pointer;
  background-color: hsl(212, 21%, 14%);
  transition: 0.2s;
}
.h2-2 {
  display: none;
}
.discription-2 {
  display: none;
}
.pricings-2 {
  display: none;
}

/* .attribution {
  font-size: 11px;
  text-align: center;
}
.attribution a {
  color: hsl(228, 45%, 44%);
} */

@media only screen and (max-width: 550px) {
  .container {
    flex-direction: column;
  }
  .img {
    width: 100%;
    height: 40%;
  }
  .img img {
    content: url(./images/image-product-mobile.jpg);
    border-top-right-radius: 10px;
    border-bottom-left-radius: 0%;
  }
  .txts {
    width: 100%;
    padding: 1.5rem 2rem;
  }
  .h2 {
    display: none;
  }
  .discription {
    display: none;
  }
  .pricings {
    display: none;
  }
  .h2-2 {
    display: block;
    font-family: "Fraunces", serif;
    font-size: 30px;
    line-height: 30px;
    margin-bottom: 1rem;
  }
  .discription-2 {
    display: block;
    font-family: "Montserrat", sans-serif;
    color: hsl(228, 12%, 48%);
    line-height: 25px;
    margin-bottom: 1rem;
  }
  .pricings-2 {
    display: block;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  .pricings-2 h1 {
    font-family: "Fraunces", serif;
    color: hsl(158, 36%, 37%);
  }
  .pricings-2 p {
    font-family: "Montserrat", sans-serif;
    color: hsl(228, 12%, 48%);
    text-decoration: line-through;
  }
}
