@import url(fonts.css);
:root {
  --white: #ffffff;
  --bg-cream: #f2eae2;
  --aurometal-saurus: #6c7289;
  --deep-aquamarine: #3d8168;
  --deep-aquamarine-hover: #1a4032;
  --gunmetal: #1c232b;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  font-family: "Montserrat", sans-serif;
  background: var(--bg-cream);
  margin: 0;
  padding: 0;
  height: 100vh;
}
h1,
h2,
p {
  margin: 0;
}
img {
  width: 100%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.flex {
  width: 343px;
  margin-inline: auto;
  border-radius: 10px;
  background: var(--white);
  margin-top: 28px;
}
.text-container {
  padding-block: 24px;
}
.wrapper {
  padding-inline: 24px;
}
.tag {
  text-transform: uppercase;
  color: var(--aurometal-saurus);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 5px;
  margin-bottom: 12px;
}
.title {
  font-family: "Fraunces";
  line-height: 32px;
  font-weight: 800;
  font-size: 32px;
  color: var(--gunmetalfch);
  margin-bottom: 16px;
}
.description {
  line-height: 23px;
  color: var(--aurometal-saurus);
  font-size: 14px;
  margin-bottom: 24px;
}
.price p {
  font-size: 32px;
  line-height: 32px;
  font-family: "Fraunces";
  font-weight: 800;
  color: var(--deep-aquamarine);
  margin-bottom: 20px;
}
span {
  padding-left: 18px;
  vertical-align: top;
  font-size: 13px;
  text-align: 23px;
  font-family: "Montserrat", sans-serif;
  color: var(--aurometal-saurus);
  text-decoration: line-through;
  font-weight: 500;
}
.btn {
  width: 100%;
  padding-block: 15px;
  background-color: var(--deep-aquamarine);
  border: none;
  border-radius: 8px;
  color: var(--white);
  transition: background 150ms ease-in-out;
}
.btn:hover {
  background: var(--deep-aquamarine-hover);
}
.attribution {
  position: relative;
  top: 19px;
  font-size: 11px;
  text-align: center;
  padding-bottom: 3px;
}
.attribution a {
  color: #3d8168;
}

@media (min-width: 1020px) {
  .flex {
    margin-top: 175px;
    display: flex;
    width: 600px;
    height: 450px;
  }

  .product__image img {
    width: 300px;
    height: 450px;
    border-radius: 12px;
  }
  .text-container {
    margin-left: 31.5px;
    padding-block: 32px;
  }
  .wrapper {
    padding-left: 0;
    padding-right: 32px;
  }
  .tag {
    margin-bottom: 20px;
  }
  .title {
    margin-bottom: 24px;
    width: 236px;
  }
  .description {
    width: 237px;
    margin-bottom: 29px;
  }
  span {
    padding-left: 19px;
  }
  .price p {
    margin-bottom: 30px;
  }
  .attribution {
    font-size: 8px;
  }
}
