.mySwiper3 {
  display: block;
  background-color: gray;
  width: 100%;
  height: 500px;
}

.swiper-slide {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.desc {
  opacity: 0;
  transform: translateY(200px);
}

.swiper-slide-active .desc {
  opacity: 1;
  transform: translateY(0px);
  transition: opacity 1s ease-in-out, transform 0.5s ease-in-out;
  transition-delay: 0.2s;
}

.desc2 {
  transform: translateY(-150px);
  opacity: 0;
  transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

.bannerDelay {
  opacity: 0;
  transition: 0.8s ease-in-out;
}

.npl-figure-image-second {
  opacity: 0;
}

.npl-figure-image-second-change {
  opacity: 1;
  transition-delay: 0.7s; /* Delay the fade-in of the second image by 1 second */
}

.npl-figure-image-first-change {
  opacity: 0;
  transition-delay: 0.7s; /* No delay for fading out the first image */
}

.npl-figure-image-first-change-reverse {
  opacity: 1;
  transition-delay: 0s; /* Delay the fade-in of the first image by 1 second */
}

.npl-figure-image-second-change-reverse {
  opacity: 0;
  transition-delay: 0s; /* No delay for fading out the second image */
}

.mySwiper3 .swiper-slide-active .bannerDelay {
  opacity: 1;
  transition: 0.5s ease-in-out;
  transition-delay: 0.8s;
}

.mySwiper3 h2 {
  font-size: var(--twentyFive);
  color: #dfded2;
  font-weight: 850;
  text-transform: uppercase;
}

.mySwiper3 p {
  font-size: var(--twenty);
  color: #dfded2;
  font-family: var(--libre);
}

Figure {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding-left: 13.2%;
  gap: 20px;
}

figcaption {
  max-width: 400px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  text-align: left;
  position: absolute;
  margin-right: 30px;
  z-index: 1;
}

/* .npl-safeguard-img-container {
  max-width: 600px;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.npl-safeguard-first {
  position: absolute;
  bottom: -10px;
} */

/* .npl-safeguard-first,
.npl-safeguard-second {
  width: 100%;
  aspect-ratio: 3/2;
  transition: opacity 1s ease-in-out;
} */

/* update safeguard */
.npl-safeguard-img-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.npl-safeguard-first,
.npl-safeguard-second {
  /* width: 87.2%; */
  /* width: 100%; */
  /* height: 100%; */
  max-width: 1298px;
  position: absolute;
  transition: opacity 0.5s ease-in-out;
  bottom: -10px;
  right: 0;
}

@media screen and (max-width: 1024px) {
  .mySwiper3 {
    height: 300px;
  }

  .npl-rewind-first {
    max-width: 400px;
  }
}

@media screen and (max-width: 768px) {
  .mySwiper3 {
    height: 200px;
  }
  .npl-rewind-first {
    max-width: 300px;
  }
}

@media screen and (min-width: 1920px) {
  .mySwiper3 .swiper-slide {
    display: flex !important;
    justify-content: end;
  }

  figure {
    justify-content: end !important;
    position: relative;
    max-width: 2500px;
  }

  figcaption {
    position: relative !important;
    width: 60%;
    max-width: 60%;
  }
}

@media screen and (min-width: 2550px) {
  figure {
    padding: 0 !important;
  }
}

@media screen and (max-width: 500px) {
  .mySwiper3 {
    height: 150px;
  }

  .mySwiper3 h2 {
    font-size: clamp(1rem, 5vw, var(--twentyFive));
  }

  .mySwiper3 p {
    font-size: clamp(0.8rem, 2vw, var(--twenty));
  }
}

/* end of update safeguard*/

.npl-rewind-first,
.npl-rewind-second {
  transition: opacity 1s ease-in-out;
}

.npl-safeguard-first img,
.npl-safeguard-second img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.npl-rewind-img-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.npl-rewind-first {
  max-width: 600px;
  aspect-ratio: 3/2;
  position: absolute;
  right: 0;
  bottom: -10px;
}

.npl-rewind-first img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.npl-rewind-second {
  width: 100%;
  position: absolute;
  left: 0;
  bottom: -10px;
}

.npl-rewind-second img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
