@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=Lobster&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
  padding: 0;
  margin: 0;
}

body {
  height: 100vh;
  background-color: #F3EBE4;
  display: flex;
  justify-content: center;
  align-items: center;
}

main {
  background-color: white;
  width: 600px;
  min-height: 400px;
  display: flex;
  border-radius: 10px;
}

.main-img {
  width: 100%;
  display: flex;
  justify-content: center;
}

.main-img>img {
  width: 100%;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.infos {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  text-decoration: none;
  color: #7A7A7A;
  font-weight: 400;
  padding-bottom: 20px;
  padding: 30px 30px 10px 30px;
}

h2 {
  font-size: 34px;
  font-weight: 700;
  padding: 10px 30px 10px 30px;
}

h3 {
  color: #7A7A7A;
  font-weight: normal;
  font-size: 14px;
  padding-bottom: 20px;
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  padding: 10px 30px 10px 30px;
}

.prices {
  display: flex;
  padding-bottom: 20px;
  padding: 10px 30px 10px 30px;

}

.new-price {
  color: #008379;
  font-size: 30px;
  font-family: "Fraunces", serif;
  margin-right: 10px;
  font-weight: 700;
}


.div-price {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.price-del{
  color: grey;
}

.btn {
  background-color: #008379;
  color: white;
  border: 1px solid #008379;
  width: 100%;
  padding: 10px;
  cursor: pointer;
  font-weight: 500;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
}

.btn:hover {
  background-color: #194031;
}

.pre-btn {
  padding: 10px 30px 30px 30px;
}

#cart-img {
  width: 15px;
  margin-right: 10px;
}

#img-mobile {
  display: none;
}

.br-none-desktop {
  display: none;
}

@media screen and (max-width: 530px) {
  body {
    height: 100vh;
  }

  main {
    display: flex;
    flex-direction: column;
    min-height: 600px;
    width: 500px;
    margin: 15px;
  }

  #img-desktop {
    display: none;
  }

  #img-mobile {
    display: block;
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 0px;
  }

  h1 {
    padding: 15px 15px 15px 15px;
  }

  h2 {
    font-size: 30px;
    padding: 5px 15px 15px 15px;
  }

  h3 {
    font-size: 12px;
    padding: 5px 15px 15px 15px;
  }

  .pre-btn {
    padding: 5px 15px 15px 15px;
  }

  .prices {
    padding: 5px 15px 15px 15px;
  }

  .br-none-mobile {
    display: none;
  }

  .br-none-desktop {
    display: inline;
  }
}