.section__galleryportfolio__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.section__galleryportfolio__item {
  display: flex;
  position: relative;
  height: 450px;
  padding: 32px;
  align-items: flex-end;
}
.section__galleryportfolio__item::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 54%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
  pointer-events: none;
}
.section__galleryportfolio__item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../img/galleryportfolio_lines.svg);
  z-index: 1;
  pointer-events: none;
}
.section__galleryportfolio__item__icon {
  width: 64px;
  height: 64px;
  position: absolute;
  top: 32px;
  left: 32px;
  z-index: 2;
}
.section__galleryportfolio__item__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.section__galleryportfolio__item__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section__galleryportfolio__item__link {
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-family: var(--font-varela);
  color: var(--color-white);
  font-size: var(--font-size-48);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}
.section__galleryportfolio__item__link .icon {
  width: 24px;
  height: 16px;
}
.section__galleryportfolio__item__link .icon use {
  color: var(--color-white);
}
.section__galleryportfolio__item__inner .section__galleryportfolio__item__text {
  color: var(--color-white);
  font-weight: 500;
}
.section__galleryportfolio__item__inner .section__galleryportfolio__item__text a:not([class]) {
  text-decoration: underline;
  font-weight: 500;
}
@media (max-width: 1280px) {
  .section__galleryportfolio__item {
    height: 400px;
  }
  .section__galleryportfolio__item__link {
    font-size: var(--font-size-42);
  }
}
@media (max-width: 992px) {
  .section__galleryportfolio__body {
    gap: 16px;
  }
  .section__galleryportfolio__item__link {
    font-size: var(--font-size-36);
  }
}
@media (max-width: 560px) {
  .section__galleryportfolio__body {
    grid-template-columns: 1fr;
  }
  .section__galleryportfolio__item {
    height: 300px;
    padding: 24px;
  }
  .section__galleryportfolio__item__icon {
    top: 24px;
    left: 24px;
  }
  .section__galleryportfolio__item__link {
    font-size: var(--font-size-32);
  }
}
@media (any-hover: hover) {
  .section__galleryportfolio__item__link:hover {
    gap: 36px;
  }
}
