.references-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  min-height: 290px;
  padding: 4rem 6.25rem;
  gap: 4rem;
}
@media (min-width: 1536px) {
  .references-section {
    padding-left: 12.5rem;
  }
}
@media (max-width: 1023px) {
  .references-section {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem 2rem;
  }
}
@media (max-width: 767px) {
  .references-section {
    padding: 2rem 1rem;
    gap: 2rem;
  }
}
.references-section__item {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}
@media (max-width: 767px) {
  .references-section__item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }
}
.references-section__image {
  min-width: 262px;
  height: 262px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
}
@media (max-width: 767px) {
  .references-section__image {
    min-width: 200px;
    width: 200px;
    height: 200px;
    margin: 0 auto;
  }
}
.references-section__image--dorothea {
  background-image: url("../imgs/referenciak/dorothea_nyitokep.jpg");
}
.references-section__image--attila99 {
  background-image: url("../imgs/referenciak/attila99_nyitokep.jpg");
}
.references-section__image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  opacity: 0.5;
  background: linear-gradient(45deg, rgba(143, 119, 106, 0.5) 0%, rgb(10, 10, 10) 50%, rgba(143, 119, 106, 0.5) 100%);
  background-size: 400% 400%;
  animation: gradientShift 6s ease infinite;
  z-index: 1;
}
.references-section__image-border {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.references-section__image-border--top {
  top: -32px;
  left: -50px;
}
.references-section__image-border--bottom {
  bottom: -20px;
  left: -32px;
}
.references-section__image-border svg {
  width: 261px;
  height: 262px;
}
@media (max-width: 767px) {
  .references-section__image-border svg {
    width: 200px;
    height: 200px;
  }
}
.references-section__image-border svg rect {
  stroke-dasharray: 1030;
  stroke-dashoffset: 1030;
  transition: stroke-dashoffset 1.2s ease-out 0.3s;
}
.references-section__image.in-view .references-section__image-border svg rect {
  stroke-dashoffset: 0;
}
.references-section__content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.references-section__title {
  font-size: 2rem;
  text-align: left;
  font-weight: 800;
  color: white;
  margin-bottom: 2rem;
  text-decoration: none;
}
.references-section__title:hover {
  color: #EAB58F;
  transition: color 0.3s ease;
}
@media (max-width: 767px) {
  .references-section__title {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
  }
}
.references-section__description {
  font-size: 1rem;
  text-align: left;
  color: white;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 767px) {
  .references-section__description {
    text-align: left;
    -webkit-line-clamp: 8;
    line-clamp: 8;
    font-size: 0.9rem;
  }
}
.references-section__link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.references-section__link:hover .references-section__title {
  color: #EAB58F;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/*# sourceMappingURL=references-section.css.map */
