@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins';
}
body{
  background-color: transparent;
}
section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.content {
    width: 100%; /* Use 100% width to make it responsive */
    max-width: 600px; /* Maintain a maximum width */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 30px;
    /* background: transparent; */
    /* backdrop-filter: blur(30px); */
    /* border-radius: 20px; */
    padding: 40px;
    width: min(900px, 100%);
    /* box-shadow: 0 0.5px 0 1px rgba(255, 255, 255, 0.23) inset, 0 1px 0 0 rgba(255, 255, 255, 0.66) inset, 0 4px 16px rgba(0, 0, 0, 0.12); */
    z-index: 10;
}

.info {
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 450px;
  padding: 0 35px;
  text-align: justify;
}

.info p{
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.movie-night {
  background: linear-gradient(225deg, #ff3cac 0%, #784ba0 50%, #2b86c5 100%);
}

.btn {
  display: block;
  padding: 10px 40px;
  margin: 10px auto;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 4px;
  outline: none;
  text-decoration: none;
  color: #784ba0;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
}

.btn:hover, .btn:focus, .btn:active, .btn:visited {
    transition-timing-function: cubic-bezier(0.6, 4, 0.3, 0.8);
    animation: gelatine 0.5s 1;
}

@keyframes gelatine {
  
  0%, 100% {
    transform: scale(1, 1);
  }
  25% {
    transform: scale(0.9, 1.1);
  }
  50% {
    transform: scale(1.1, 0.9);
  }
  75% {
    transform: scale(0.95, 1.05);
  }
}

/* SWIPER */

.swiper {
  width: 300px;
  height: 447px;
  padding: 0px 0;
}

/* Base styling for .swiper-slide to handle background image, blend, and positioning */
/* Base styling for .swiper-slide to handle background image, blend, and positioning */
.swiper-slide {
  border: 2px solid #f5f5dc; /* Beige border around each card */
  border-radius: 10px; /* Optional: Rounded corners */
  position: relative;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  background-blend-mode: multiply;
}

/* Center the card name (h2) */
.swiper-slide h2 {
  display: none;
  font-size: 1.4rem;
  font-weight: 500;
  color: #ffffff;
  opacity: 0.9;
  text-align: center;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Card labels (Card A, Card B) styling */
.swiper-slide span {
  position: absolute;
  bottom: 50px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 12px;
  fill: #fff; /* Main text color */
  stroke: #704214; /* Dark sepia stroke color */
  stroke-width: 2px; /* Thickness of the stroke */
  backdrop-filter: blur(8px);
  mix-blend-mode: screen;
}

/* Medium weight for the alphabet of card labels */
.swiper-slide span::last-letter {
  font-weight: 500;
  color: #ffffff;
}

/* Backgrounds and blended colors for each card */
.swiper-slide:nth-child(1) {
  background: linear-gradient(to top, rgba(15, 32, 39, 0.7), transparent), url(https://www.jix.co.nz/X_Pages/Portfolio/Koi/Cards/CardA.png) no-repeat center / cover;
}

.swiper-slide:nth-child(2) {
  background: linear-gradient(to top, rgba(32, 58, 67, 0.7), transparent), url(https://www.jix.co.nz/X_Pages/Portfolio/Koi/Cards/CardB.png) no-repeat center / cover;
}

.swiper-slide:nth-child(3) {
  background: linear-gradient(to top, rgba(0, 48, 73, 0.7), transparent), url(https://www.jix.co.nz/X_Pages/Portfolio/Koi/Cards/CardC.png) no-repeat center / cover;
}

.swiper-slide:nth-child(4) {
  background: linear-gradient(to top, rgba(3, 4, 94, 0.7), transparent), url(https://www.jix.co.nz/X_Pages/Portfolio/Koi/Cards/CardD.png) no-repeat center / cover;
}

.swiper-slide:nth-child(5) {
  background: linear-gradient(to top, rgba(36, 11, 54, 0.7), transparent), url(https://www.jix.co.nz/X_Pages/Portfolio/Koi/Cards/CardE.png) no-repeat center / cover;
}

.swiper-slide:nth-child(6) {
  background: linear-gradient(to top, rgba(48, 71, 94, 0.7), transparent), url(https://www.jix.co.nz/X_Pages/Portfolio/Koi/Cards/CardF.png) no-repeat center / cover;
}

.swiper-slide:nth-child(7) {
  background: linear-gradient(to top, rgba(47, 54, 64, 0.7), transparent), url(https://www.jix.co.nz/X_Pages/Portfolio/Koi/Cards/CardG.png) no-repeat center / cover;
}

.swiper-slide:nth-child(8) {
  background: linear-gradient(to top, rgba(30, 30, 30, 0.7), transparent), url(https://www.jix.co.nz/X_Pages/Portfolio/Koi/Cards/CardH.png) no-repeat center / cover;
}

.swiper-slide:nth-child(9) {
  background: linear-gradient(to top, rgba(50, 50, 93, 0.7), transparent), url(https://www.jix.co.nz/X_Pages/Portfolio/Koi/Cards/CardI.png) no-repeat center / cover;
}
}

/* Responsive styles */
@media (max-width: 768px) {
  .swiper {
    width: 240px;
    height: 360px;
  }

  .content {
    padding: 20px;
  }

  .swiper-slide {
    border-width: 1px;
  }
}

@media (max-width: 480px) {
  .swiper {
    width: 200px;
    height: 320px;
  }

  .content {
    gap: 15px;
    padding: 15px;
  }

  .swiper-slide {
    padding: 10px;
    border-radius: 8px;
  }
}