/* || RESET */
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* border: solid red 1px; */
}

img,
picture,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border-color: transparent;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style-type: none;
}

body {
  display: flex;
  flex-direction: column;
  gap: 3vw;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-family: 'Montserrat', sans-serif;
  background-color: hsl(30, 38%, 92%);
  padding-left: 5.33vw;
  padding-right: 5.33vw;
  padding-top: 70px;
  padding-bottom: 70px;
}

.main {
  display: flex;
  flex-direction: column;
  background-color: hsl(0, 0%, 100%);
  border-radius: 10px;
}

.main__perfume-mobile {
  display: block;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  width: 100%;
}

.main__perfume-desktop {
  display: none;
}

.section {
  padding: 8vw;
  max-width: 100%;
}

.section__header-title {
  font-size: 3vw;
  letter-spacing: 1.33vw;
  color: hsl(228, 12%, 48%);
  margin-bottom: 4vw;
}

.section__header-name {
  font-family: 'fraunces', serif;
  font-size: 8vw;
  color: hsl(212, 21%, 14%);
  margin-bottom: 5.33vw;
  line-height: 1.2;
}

.section__header-description {
  font-size: 4vw;
  color: hsl(228, 12%, 48%);
  margin-bottom: 6.67vw;
  line-height: 1.5;
}

.section__price {
  font-family: 'fraunces', serif;
  display: flex;
  align-items: center;
  margin-bottom: 6.67vw;
}

.section__price-span1 {
  font-size: 8.53vw;
  font-weight: 700;
  color: hsl(158, 36%, 37%);
  margin-right: 5.33vw;
}

.section__price-span2 {
  font-size: 5.33vw;
  color: hsl(228, 12%, 48%);
  text-decoration: line-through;
}

.section__button {
  display: flex;
  width: 100%;
  padding: 4vw;
  font-size: 3.47vw;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: hsl(0, 0%, 100%);
  gap: 2.67vw;
  background-color: hsl(158, 36%, 37%);
}

.section__button-cart {
  width: 3.2vw;
  height: auto;
}

.attribution {
  font-size: 3vw;
  text-align: center;
}
.attribution a {
  color: hsl(228, 45%, 44%);
}

@media (min-width: 1024px) {
  body {
    gap: 1.5vw;
  }

  .main {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 60%;
  }

  .main__figure {
    width: 50%;
  }

  .main__perfume-mobile {
    display: none;
  }

  .main__perfume-desktop {
    display: block;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    width: 100%;
  }

  .section {
    width: 50%;
    display: flex;
    flex-direction: column;
    padding: 3vw;
    justify-content: space-between;
  }

  .section__header-title {
    font-size: 1vw;
    letter-spacing: 0.33vw;
    margin-bottom: 1.5vw;
  }

  .section__header-name {
    font-size: 2.7vw;
    line-height: 1.2;
    margin-bottom: 1.5vw;
  }

  .section__header-description {
    font-size: 1.2vw;
    margin-bottom: 1.3vw;
  }

  .section__price {
    margin-bottom: 1.3vw;
  }

  .section__price-span1 {
    font-size: 2.8vw;
    font-weight: 700;
    color: hsl(158, 36%, 37%);
    margin-right: 1.5vw;
  }

  .section__price-span2 {
    font-size: 1.5vw;
    color: hsl(228, 12%, 48%);
    text-decoration: line-through;
  }

  .section__button {
    width: 100%;
    padding: 1vw;
    font-size: 1vw;
    gap: 1.67vw;
  }

  .section__button-cart {
    width: 2vw;
  }

  .attribution {
    font-size: 1.5vw;
  }
}
