body {
  font-family: 'Heebo', sans-serif;
  color: #fff;
  background-color: #221d1d;
  line-height: 150%;
}

.section {
  padding: 48px 0;
}

.section-title {
  font-family: 'Roboto Slab', serif;
  font-weight: 500;
  font-size: 48px;
  line-height: 120%;
  letter-spacing: -0.01em;
}

.title {
  font-family: 'Roboto Slab', serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 130%;
  letter-spacing: -0.01em;
}

.text {
  font-size: 18px;
}

.subtext {
  font-size: 14px;
}

.link {
  font-weight: 500;
  color: inherit;
}

.pages {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-right: auto;
}

.button {
  display: block;
  padding: 8px 20px;
  background-color: #CE4D46;
  border: solid rgba(255, 255, 255, 20%);
  border-radius: 6px;
}

/* header */

.header {
  padding: 16px 0;
}

.header-navigation {
  display: flex;
  align-items: center;
}

.logo {
  margin-right: 40px;
}

.logo img {
  width: 150px;
}

.header .link {
  font-weight: 400;
}

.header-order {
  font-weight: 500;
}

/* hero */

.hero {
  padding: 112px 0;
}

.hero .container {
  padding-top: 380px;
}

.hero-title {
  font-size: 56px;
  max-width: 757px;
  margin-bottom: 32px;
}

.hero-text { 
  max-width: 757px;
  margin-bottom: 32px;
}

.hero-list {
  display: flex;
  gap: 32px;
}

.hero-item:last-child a {
  background-color: transparent;
}

/* about */

.about .container {
  display: flex;
  align-items: center;
  gap: 24px;
}

.about-title {
  margin-bottom: 24px;
}

.about img {
  width: 644px;
}

/* benefits */

.benefits-title {
  max-width: 553px;
  margin-bottom: 80px;
}

.benefits-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.benefits-icon {
  width: 48px;
  height: 48px;
}

.benefits-info {
  margin: 24px 0;
}

/* fireplaces */

.fireplaces-title {
  margin-bottom: 16px;
}

.fireplaces-box {
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
}

.fireplaces-menu {
  width: 309px;
}

.fireplaces-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 40px;
}

.fireplaces-item {
  /* max-width: 304px; */
  height: 453px;
  flex-basis: calc((100% - (32px * 3)) / 4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fireplaces-photo {
  width: 304px;
  margin-bottom: 16px;
}

.fireplaces-name {
  font-weight: 600;
}

.fireplaces-info {
}

.fireplaces-price {
  font-weight: 600;
  font-size: 20px;
}

.fireplaces-details {
  margin: 0 auto;
}

.fireplaces-link {
  background-color: transparent;
  text-align: center;
}

/* feedbacks */

.feedbacks-title {
  max-width: 560px;
  margin-bottom: 32px;
}

.feedbacks-list {
  display: flex;
  gap: 24px;
}

.feedbacks-icon {
  width: 20px;
  height: 19px;
  margin-bottom: 32px;
}

.feedbacks-author {
  font-weight: 600;
  margin-top: 32px;
}

.feedbacks-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 48px;
}

.feedbacks-btn {
  width: 48px;
  height: 48px;
  background-color: #534F4F;
}

/* gallery */

.gallery-title {
  margin-bottom: 24px;
}

.gallery-list {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 24px;
  max-height: 1578px;
}

.gallery-photo {
  width: 644px;
}

.gallery-title {
  text-align: center;
}

.container {
  width: 1336px;
  padding: 0 12px;
  margin: 0 auto;
  outline: solid red;
}

/* contacts */

.contacts-title {
  margin-bottom: 32px;
}

.contacts-box {
  display: flex;
  justify-content: space-between;
}

.contacts-item:not(:last-child) {
  margin-bottom: 40px;
}

.contacts-icon {
  width: 32px;
  height: 32px;
}

.contacts-name {
  font-family: 'Roboto Slab', serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 140%;
  letter-spacing: -0.01em;
  margin: 16px 0 8px;
}

.contacts-link {
  text-decoration: underline;
  text-decoration-skip-ink: none;
}

/* footer */

.footer {
  padding: 80px 0;
}

.footer-box {
  display: flex;
  align-items: center;
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 15%)
}
.footer .logo  {
  margin-right: 100px;
}

.footer .logo img {
  width: 290px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-icon {
  width: 24px;
  height: 24px;
}

.footer .link {
  font-weight: 600;
  font-size: 14px;
}

.footer-copyright {
  font-size: 14px;
  text-align: center;
}
