@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Yatra+One&display=swap');

.holi-slider-section {
  padding: 2rem 10rem 12rem;
  width: 100%;
  height: 100%;
  background-color: #fcfcfc;
  /* background: linear-gradient(135deg, #fff5e6, #ffe0f0); */
  cursor:
    url('../images/HoliPichkari-1.png') 10 10,
    auto; /* Sets the hotspot to 16px from the left and 16px from the top */
  user-select: none;

  position: relative;
}
.holi-1 {
  position: absolute;
  left: 0;
  bottom: 0;
  border-radius: 0 !important;
}
.holi-2 {
  position: absolute;
  right: 0;
  bottom: 0;
}
.holi-3 {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 0 !important;
}
.holi-4 {
  position: absolute;
  right: 0;
  top: 0;
  border-radius: 0 !important;
}

.holi-slider-header {
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}
.krishna {
  width: 220px;
  position: absolute;
  top: 0;
  left: 16%;
}
.radha {
  width: 220px;
  position: absolute;
  top: 0;
  right: 16%;
}

.holi-slider-header h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #603c51;
}

/* Wrapper */
.holi-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

/* Slider container */
.holi-slider {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 2rem;
}

.holi-slider::-webkit-scrollbar {
  display: none;
}
.holi-slider a {
  cursor:
    url('../images/HoliHandCursors.png') 10 10,
    auto; /* Sets the hotspot to 16px from the left and 16px from the top */
}

/* Card */
.holi-card {
  background-color: #fff;
  min-width: 340px;
  max-width: 320px;
  height: 20rem;
  flex: 0 0 auto;
  border-radius: 28px;
  padding: 2rem 1.5rem;
  /* background-image:
    linear-gradient(to top, rgba(0, 0, 0, 0.322), rgba(0, 0, 0, 0.274), rgba(0, 0, 0, 0.377)),
    url(../images/homeBrajAttractionImages/holi.webp); */
  background-image: url(../images/holi-new-bg.webp);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  /* background: linear-gradient(135deg, #ffcc70, #ff6ec4); */
  color: #000;
  box-shadow:
    rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
    rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  transition: transform 0.3s ease;
  font-family: 'Poppins', sans-serif;
  text-align: right;

  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: start;
  transition: all 0.3s ease-in-out;
}

.holi-card:hover {
  transform: translateY(-8px);
  box-shadow:
    rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

.holi-card h3 {
  text-align: right;
  margin: 0 auto;
  width: 16rem;
  /* font-family: 'Baloo 2', sans-serif; */
  font-family: 'Gotu', sans-serif;
  /* font-family: 'Rozha One', serif; */
  font-size: 2.2rem;
  font-weight: 500;
  /* color: #fff; */
  color: #da0989;
  /* letter-spacing: 2.5px; */
  /* margin-bottom: 0.5rem; */

  font-family: 'Yatra One', cursive;
  /* font-size: 40px; */
  /* color: #0f6f63; */
  text-shadow: 4px 4px 0 #e6be0c;
}

.holi-card .location {
  font-size: 1.4rem;
  font-weight: 700;
  color: #222;
  margin: 0.8rem 0 0;
  font-family: 'Baloo 2', sans-serif;
  /* opacity: 0.9; */
}

.holi-card .date {
  font-size: 1.2rem;
  color: #000;
  font-weight: 500;
  font-family: 'Baloo 2', sans-serif;
  margin-top: 0.5rem;
}

/* Arrows */
.slider-arrow {
  /* background: 0 0; */
  background: linear-gradient(135deg, #ffcc70, #ff6ec4);
  /* background: #603c51; */
  color: #fff;
  border: none;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  cursor:
    url('../images/HoliHandCursors.png') 30 30,
    auto; /* Sets the hotspot to 16px from the left and 16px from the top */
  /* cursor: pointer; */
  font-size: 2rem;
  position: absolute;
  z-index: 10;
  transition: 0.3s ease;
}

.slider-arrow:hover {
  color: #fff;
}
.holi-slider::before {
  content: '';
  position: absolute;
  top: 6%;
  left: -2rem;
  width: 12.6rem;
  height: 22.5rem;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.733) 0%, rgba(255, 255, 255, 0) 66%);
  z-index: 10;
  pointer-events: none;
}
.holi-slider::after {
  content: '';
  position: absolute;
  top: 6%;
  right: -2rem;
  width: 12.6rem;
  height: 22.5rem;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.712) 0%, rgba(255, 255, 255, 0) 66%);
  z-index: 10;
  pointer-events: none;
}

.left-arrow {
  /* bottom: -20%; */
  /* left: 44%; */
  left: -8%;
}

.right-arrow {
  /* bottom: -20%; */
  /* right: 44%; */
  right: -8%;
}

@media (max-width: 1380px) {
  .holi-slider-section {
    padding: 2rem 2rem 12rem;
  }
  .krishna {
    left: 5%;
  }
  .radha {
    right: 5%;
  }
}
@media (max-width: 980px) {
  .krishna {
    width: 220px;
    top: 0;
    left: 0;
  }
  .radha {
    width: 220px;
    top: 0;
    right: 0;
  }
  .slider-arrow {
    display: none;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .holi-slider {
    padding-left: 1rem;
  }

  .holi-card {
    min-width: 250px;
  }
}

@media (max-width: 680px) {
  .holi-slider-section {
    padding: 1rem 1rem 12rem;
  }
  .main-logo-txt {
    width: 300px;
  }
  .krishna {
    width: 180px;
    top: 28%;
    left: -2%;
  }
  .radha {
    width: 180px;
    top: 28%;
    right: -2%;
  }
  .holi-slider {
    padding: 6rem 0 2rem;
  }
  .slider-arrow {
    display: none;
  }
  .holi-1 {
    left: 25%;
  }
  .holi-2 {
    display: none;
  }
}

@media (max-width: 480px) {
  .holi-slider-section {
    padding: 1rem 1rem 12rem;
  }
  .main-logo-txt {
    width: 260px;
  }
  .krishna {
    width: 160px;
    top: 46%;
    left: -8%;
  }
  .radha {
    width: 160px;
    top: 38%;
    right: -8%;
  }
  .holi-slider {
    padding: 6.8rem 0 2rem;
    margin-bottom: 1rem;
  }
  .holi-slider::before {
    top: 20%;
    left: -0.4rem;
    background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0) 8%);
  }
  .holi-slider::after {
    top: 20%;
    right: -0.4rem;
    background: linear-gradient(to left, #ffffff 0%, rgba(255, 255, 255, 0) 8%);
  }
  .holi-1 {
    left: 25%;
  }
}

.particle {
  position: fixed;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(0.2px);
  animation: spray 800ms ease-out forwards;
}

@keyframes spray {
  to {
    transform: translate(var(--x), var(--y));
    opacity: 0;
  }
}
