.gallery-block {
  background-color: var(--gray7);
  padding: 100px 0 197px;
}

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

.gallery-block .gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 30px;
  margin-bottom: 50px;
}

.gallery-block .image-holder {
  width: 100%;
  display: flex;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  transition: background-size .3s ease-in;
}

.gallery-block .image-holder.hidden {
  display: none;
}

.gallery-block .image-holder .hover {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  text-align: center;
  opacity: 1;
  pointer-events: none;
  background-color: var(--secondary);
  border-radius: 0 0 50% 50%;
  transform: translateY(-100%);
  transition: background-color 0.3s ease-in-out, border-radius 0.6s cubic-bezier(0.94, 0.01, 0.21, 0.99), transform 0.6s ease-in-out;
}

.gallery-block .image-holder .hover-text {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  transition: opacity .3s ease-in;
}

.gallery-block .image-holder .hover-text svg {
  width: 50px;
  height: 50px;
  color: var(--white);
}

.gallery-block .image-holder .hover-text .title {
  color: var(--white);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  /* 30px */
}

.gallery-block .image-holder:hover {
  /*background-size: 105%;*/
}

.gallery-block .image-holder:hover .hover {
  background-color: rgba(230, 183, 114, 0.9);
  opacity: 1;
  border-radius: 20px;
  transform: translateY(0);
}

.gallery-block .image-holder:hover .hover-text {
  opacity: 1;
}

.gallery-block .image {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.gallery-block .look-more {
  color: var(--secondary);
  padding-bottom: 5px;
  border: none;
  border-bottom: 1px dashed var(--secondary);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  /* 24px */
  cursor: pointer;
  outline: none;
  margin: 0 auto;
  background-color: transparent;
  text-transform: uppercase;
  transition: color .3s ease-in, border-color .3s ease-in;
  display: block;
}

.gallery-block .look-more:hover {
  color: var(--primary);
  border-color: var(--primary);
}

@media (max-width: 1025px) {
	.gallery-block {
		padding: 80px 0;
	}
}

@media (max-width: 769px) {
  .gallery-block {
    padding: 60px 0;
  }

  .gallery-block .gallery {
    grid-gap: 20px;
  }
}

@media (max-width: 498px) {
  .gallery-block .gallery {
    grid-gap: 15px;
    grid-template-columns: repeat(2, 1fr);
  }
}

/*# sourceMappingURL=block.css.map */