.curtain-box {
  position: relative;
  width: 100%;
  height: min(90vh, 900px);
  background: black;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 5vh;
  
}

/* шторки */
.curtain {
    position: absolute;
    top: 50%;
    width: 60%;
    height: 100%;
    background-image: url("../img/zanaves.svg");
	  background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 1.2s cubic-bezier(.4,0,.2,1);
}

.curtain.left {
  left: 50%;
  transform: translate(-100%, -50%);
}

/* правая — ЗЕРКАЛЬНАЯ */
.curtain.right {
  left: 50%;
  transform: translate(0, -50%) scaleX(-1);
}

.curtain-box:hover .curtain.left {
  transform: translate(-130%, -50%);
}

.curtain-box:hover .curtain.right {
  transform: translate(30%, -50%) scaleX(-1);
}

.curtain-box:hover .center-content {
  opacity: 1;
  transform: scale(1);
	 transition-delay: 0.5s; /* задержка ТОЛЬКО при появлении */
}

/* центр с масками */
.center-content {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity .6s ease, transform .6s ease;
	transition-delay: 0; /* задержка появления */
  z-index: 1;
}

.center-content img {
  width: 300px;
  max-width: 20vw;
  height: auto;
  margin: 0 10px;
  animation: fadeSwing 1.1s ease-in-out infinite;
}


/* анимация масок */
@keyframes fadeSwing {

    0% {
      opacity: 1;
        transform: rotate(-15deg);
    }
    50% {
      
        transform: rotate(15deg);
				opacity: 0.7;
    }
    100% {
       
        transform: rotate(-15deg);
				opacity: 1;
    }

}


