@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");
:root {
  --Dark-cyan: hsl(158, 36%, 37%);
  --Cream: hsl(30, 38%, 92%);
  --Very-dark-blue: hsl(212, 21%, 14%);
  --Dark-grayish-blue: hsl(228, 12%, 48%);
  --White: hsl(0, 0%, 100%);
}
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 14px;
}
body {
  background: var(--Cream);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
main {
  width: 48rem;

  /* height: 32rem; */
  background: var(--White);
  border-radius: 1rem;
  display: flex;
}
.the-img img {
  width: 21.5rem;
  height: 32rem;
  border-radius: 1rem 0 0 1rem;
}
.side {
  padding-inline: 3rem;
}
.side p:first-of-type {
  color: rgba(0, 0, 0, 0.6);
  margin-top: 10% !important;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.7rem;
}
.side p:nth-of-type(2) {
  color: var(--Very-dark-blue);
  font-size: 3rem;
  font-family: "Fraunces", sans-serif;
  font-weight: 700;
  margin-top: 5%;
  line-height: 3rem;
}

.side p:nth-of-type(3) {
  color: rgba(0, 0, 0, 0.6);
  margin-top: 9%;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  line-height: 1.5rem;
}
.side p:nth-of-type(4) {
  margin-top: 9%;
}
.price {
  font-family: "Fraunces", sans-serif;
  font-size: 2rem;
  color: var(--Dark-cyan);
  font-weight: 800;
}
.previeuw-price {
  text-decoration: line-through;
  position: relative;
  top: -0.7rem;
  right: -1rem;
  /* text-align: start; */
}
button {
  width: 100%;
  margin-top: 5%;
  padding: 1rem;
  color: var(--White);
  font-weight: 600;
  background: var(--Dark-cyan);
  border: none;
  border-radius: 0.6rem;
  transition: all 0.3s ease;
}
button img {
  margin-right: 1rem;
}

button:hover {
  background: #1a4031;
  cursor: pointer;
}
@media screen and (max-width: 375px) {
  html {
    font-size: 12px;
  }
  main {
    display: flex;
    flex-direction: column;
    margin: 1rem;
    margin-top: 15rem;
    margin-bottom: 2rem;
  }
  .the-img img {
    border-radius: 1rem 1rem 0 0;
    width: 100%;
    min-width: 21rem;
    height: 26rem;
    min-height: 20rem;
  }
  button {
    margin-bottom: 1rem;
  }
}
