.header-pages {
  padding: 60px 0 24px;
}

.header-pages-title {
  text-align: center;
  color: hsl(0, 0%, 90.2%);
}

.section-portfolio-project-about {
  margin-bottom: 48px;
}

.portfolio-project-figure {
  display: none;
}

.portfolio-project-title {
  width: max-content;
  margin-bottom: 12px;
}

.portfolio-project-title::after {
  margin: 12px 0 0;
}

.portfolio-project-desc-info {
  margin-bottom: 24px;
}

.btn-backto {
  margin-bottom: 48px;
}

.btn-backto::before {
  content: url("/media/backTo.svg");
}

.btn-watch {
  margin-top: 12px;
}

.btn-watch::after {
  content: url("/media/behanceLogo.svg");
}

.section-portfolio-project-gallery {
  display: grid;
  gap: 48px;
}

.portfolio-project-gallery-body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.portfolio-project-gallery-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.portfolio-project-gallery-figure {
  display: grid;
  gap: 12px;
}

.portfolio-project-galley-img {
  border: 1px solid hsl(0, 0%, 90.2%);
  border-radius: 2px;
}

.portfolio-project-gallery-item-img {
  object-fit: cover;
  object-position: top center;
  height: 154px;
}

.portfolio-project-galley-figcaption {
  line-height: 1;
  color: hsl(0, 0%, 50.2%);
}

@supports ((-webkit-appearance: none) or (appearance: none)) {

}

@media (min-width: 540px) {
  .header-pages {
    padding: 96px 0 30px;
  }

  .portfolio-project-gallery-body {
    grid-template-columns: repeat(3, 1fr);
  }

  .portfolio-project-gallery-item-img {
    height: 306px;
  }

@supports ((-webkit-appearance: none) or (appearance: none)) {

}
}

@media (min-width: 768px) {
  .section-portfolio-project-about {
    --gap: 48px;
    display: flex;
    align-items: center;
    gap: var(--gap);
  }

  .portfolio-project-figure {
    display: block;
    flex-shrink: 0;
    width: calc(58.3333333333% - var(--gap) * 0.4166666667);
  }

@supports ((-webkit-appearance: none) or (appearance: none)) {

}
}

@media (min-width: 1024px) {
  .main-pages-body {
    --gap: 72px;
  }

@supports ((-webkit-appearance: none) or (appearance: none)) {

}
}

@media (pointer: coarse) {
  .btn-backto:active::before {
    translate: -3px 0;
  }

@supports ((-webkit-appearance: none) or (appearance: none)) {

}
}

@media (pointer: fine) {
  .btn-backto:hover::before {
    translate: -3px 0;
  }

@supports ((-webkit-appearance: none) or (appearance: none)) {

}
}