#benefits {
  height: 90vh;
  border-bottom: 3px solid var(--color-heading-accent);
}

.benefits__image {
  width: 40%;
  background: url(../img/beres-alexandra-benefits-bg.jpg) center / cover
    no-repeat;
  cursor: pointer;
  position: relative;
}

.benefits__image img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateY(-50%) translateX(-50%) scale(1.2);
  pointer-events: auto;
  transition: 0.5s;
  z-index: 999;
  animation: pulse 2s infinite ease-in-out;
}
.benefits__image img:hover {
  transform: translateY(-50%) translateX(-50%) scale(1.4);
}
@keyframes pulse {
  0%   { transform: translate(-50%, -50%) scale(1.2); }
  50%  { transform: translate(-50%, -50%) scale(1.4); }
  100% { transform: translate(-50%, -50%) scale(1.2); }
}

.benefits__content {
  width: 60%;
  align-items: flex-start;
  justify-content: center;
  padding: 25px 0 25px 10%;
}

.benefits__content h2 {
  width: 50%;
  line-height: var(--text-heading-lg);
}

.benefits__content h3 {
  margin-top: 25px;
}

.benefits__list {
  margin: 60px 0;
  gap: 40px;
}

.benefits__list-elem {
  align-items: center;
  gap: 35px;
  color: var(--color-text-benefits-list);
  font-family: var(--font-menu);
  font-size: var(--text-body-lg);
  font-weight: 400;
}

.video-lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-lightbox.active {
  display: flex;
}

.video-lightbox__content {
  position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 1 / 1;
  background: black;
}

.video-lightbox__iframe-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-lightbox__iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-lightbox__close {
  line-height: normal;
  position: absolute;
  top: -15px;
  right: -15px;
  font-size: 32px;
  background: white;
  color: black;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 9999;
  font-family: Arial;
}
