* {
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
}

*,
:after,
:before {
  box-sizing: border-box;
}

:root {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
       text-size-adjust: 100%;
  cursor: default;
  line-height: 1.5;
  overflow-wrap: break-word;
  -moz-tab-size: 4;
  -o-tab-size: 4;
     tab-size: 4;
}

html,
body {
  height: 100%;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

/*Colors*/
/*Fonts*/
/*Styling*/
html {
  font-size: 10px;
}

body {
  margin: 0;
  font-size: 1.4rem;
  background-color: hsl(30, 38%, 92%);
}

main {
  display: flex;
  flex-direction: column;
  margin: 16px;
  color: hsl(228, 12%, 48%);
  font-family: "Montserrat", sans-serif;
}
main picture img {
  border-radius: 10px 10px 0 0;
  max-inline-size: 100%;
  block-size: auto;
}

.content {
  background-color: hsl(0, 0%, 100%);
  border-radius: 0 0 10px 10px;
  padding: 3.2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.content .category {
  font-size: 1.2rem;
  letter-spacing: 0.5rem;
  text-transform: uppercase;
}
.content h1 {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 2.8rem;
  color: hsl(212, 21%, 14%);
  line-height: 1.25;
  padding-inline-end: 3rem;
}
.content p {
  line-height: 1.6;
}
.content .price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.content .sale {
  color: hsl(158, 36%, 37%);
  font-size: 3.2rem;
  font-family: "Fraunces", serif;
  font-weight: 700;
}
.content .original {
  text-decoration: line-through;
}
.content button {
  background-color: hsl(158, 36%, 37%);
  min-height: 4.8rem;
  border-radius: 0.8rem;
  color: hsl(0, 0%, 100%);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}
.content button:hover {
  background-color: #1a4032;
}

@media (min-width: 640px) {
  body {
    display: grid;
    place-items: center;
    flex-direction: column;
    height: 100vh;
  }
  main {
    max-width: 600px;
    flex-direction: row;
    align-items: stretch;
  }
  main picture img {
    border-radius: 10px 0 0 10px;
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
  main .content {
    border-radius: 0 10px 10px 0;
    justify-content: center;
  }
}