* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: Verdana, sans-serif;
  padding: 20px;

  background-image: linear-gradient(to right, #182b2a, #12100e, #182b2a);
}
.mySlides {
  display: none;
}
img {
  vertical-align: baseline;
  height: 500px;
}

/* Slideshow container */

.container {
  display: flex;
  flex-direction: column;
  padding: 5px;
  border-radius: 10px;
  background: black;
  padding-bottom: 15px;
  margin: 20px 0;

  position: relative;
}

.number {
  position: absolute;
  background-color: #00bf96;
  color: #fff;
  height: 30px;
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 5px;

  text-align: center;

  top: -10px;
  left: -10px;
}

.container h4 {
  display: inline;
  background: linear-gradient(90deg, #1a237e, transparent); /* Set your desired background color */
  padding: 10px 15px; /* Adjust the padding as needed */
  border-radius: 6px; /* Set the border radius to create rounded corners */
  color: #fff;
  border-left: 4px solid #64b5f6;
}

.slideshow-container {
  max-width: 600px;
  /* max-height: 650px; */
  position: relative;
  color: white;
  margin: 20px;
  margin-bottom: 10px;
  overflow-y: scroll;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.show-slide {
  display: block;
}

/* Next & previous buttons */
.prev {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: 16px;
  margin-bottom: 16px;
  margin-left: 16px;
  margin-right: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 3px 3px 3px 3px;
  user-select: none;
  align-items: center;
}
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: 16px;
  margin-bottom: 16px;
  margin-left: 16px;
  margin-right: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 3px 3px 3px 3px;
  user-select: none;
}

.next {
  right: 0;
  border-radius: 35%;
  /* background-color: rgba(0, 0, 0, 0.8); */
}
.prev {
  left: 0;
  border-radius: 35%;
  /* background-color: rgba(0, 0, 0, 0.8); */
}

.prev:hover {
  background-color: rgba(0, 0, 0, 0.5);
}
.next:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

/* Caption text */
.text {
  color: greenyellow;
  font-size: 18px;
  padding: 8px 12px;
  bottom: 8px;
  font-weight: bold;
  width: 100%;
  margin-top: 12px;
  text-align: center;
}

.winLakshana {
  display: relative;
  font-size: 18px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  border-radius: 6px;
  background: linear-gradient(90deg, #1a7e5d, transparent); /* Set your desired background color */
  padding: 8px; /* Add padding as needed */
  border-left: 5px solid #00bf96; /* Set the border radius to create rounded corners */
}

.losingLakshana {
  display: relative;
  font-size: 18px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  margin-top: 8px;
  background: linear-gradient(90deg, #e91e63, transparent); /* Set your desired background color */
  padding: 8px; /* Add padding as needed */
  border-radius: 6px;
  border-left: 5px solid #ffbbd2; /* Set the border radius to create rounded corners */
}

.lossColors {
  display: relative;
  font-size: 18px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  margin-top: 8px;
  background: linear-gradient(90deg, #910404, transparent); /* Set your desired background color */
  padding: 8px; /* Add padding as needed */
  border-radius: 6px;
  border-left: 5px solid #ff7a7a; /* Set the border radius to create rounded corners */
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.pic {
  width: 100%;
}

/* The dots/bullets/indicators */

.dot-holder {
  text-align: center;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

.slideshow-container > h4 {
  margin-bottom: 10px;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev,
  .next,
  .text {
    font-size: 11px;
  }
}

/* Add loader animation styles */
.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.loader {
  border: 16px solid #f3f3f3;
  border-top: 16px solid #db3434;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.mySlides {
  transition: transform 0.3s ease-in-out;
}

.show-slide {
  transform: translateX(0);
}

#mainmodal {
  position: relative;
  font-family: 'Arial', 'Segoe UI', Tahoma, sans-serif;
  background: linear-gradient(90deg, #000 0%, #000 50%, #4E514E 100%);
  height: 40px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

@keyframes pulse-live {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.85;
  }
}

.marquee {
  color: #ffffff;
  letter-spacing: 0.5px;
  font-weight: 600;
  padding: 0 20px;
  font-size: 15px;
  white-space: nowrap;
  line-height: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

@keyframes marquee-shine {
  0% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.1);
  }
  100% {
    filter: brightness(1);
  }
}

.calender-roller {
  /* --spacer: 5px; */
  /* margin-top: 10px;
  margin-left: 20px; */
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 33.3%;

  overflow-x: auto;
  overscroll-behavior-inline: contain;
  /* padding: 0 var(--spacer) var(--spacer); */
  /* padding-bottom: var(--spacer); */
}

.snaps-inline {
  scroll-snap-type: inline mandatory;
  /* scroll-padding-inline: var(--spacer, 16px); */
}

.snaps-inline > * {
  scroll-snap-align: start;
  text-align: center;
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 15px;
  margin: 5px;
  padding: 5px;
  justify-content: center;
}

.snaps-inline {
  -ms-overflow-style: none; /* Internet Explorer 10+ */
  scrollbar-width: none; /* Firefox */
}
.snaps-inline::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.centerMark {
  height: 50px;
  width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ff666b;
  margin: 0 auto;
  border-radius: 5%;
  /* animation: scaleAnimation 1s linear infinite alternate; */
}

.leftAndRightMark {
  height: 50px;
  width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #277a6e;
  margin: 0 auto;
  border-radius: 5%;
  /* animation: scaleAnimation 1s linear infinite alternate; */
}

@keyframes scaleAnimation {
  0% {
    transform: scale(0.7);
  }
  100% {
    transform: scale(0.8);
  }
}

.selected-date {
  background-color: #00bf96;
  color: #ffffff;
  border-radius: 25px;
  text-align: center;
  transition: transform 0.5s; /* 0.5s will make the effect slower */
  cursor: pointer;
}

.selected-date:active {
  transform: scale(1.1); /* This enlarges the element by 10% when clicked */
}

/* Duplicate styles removed - see lines 276-342 for main #mainmodal and .marquee styles */

.centered-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

h1 {
  color: #396;
  font-weight: 10;
  font-size: 24px;
  margin: 40px 0px 20px;
}
#clockdiv {
  font-family: sans-serif;
  color: #fff;
  display: inline-block;
  font-weight: 100;
  text-align: center;
  font-size: 30px;
}
#clockdiv > div {
  padding: 10px;
  border-radius: 3px;
  background: #00bf96;
  display: inline-block;
}
#clockdiv div > span {
  padding: 15px;
  border-radius: 3px;
  background: #00816a;
  display: inline-block;
}

.smalltext {
  padding-top: 5px;
  font-size: 16px;
}

.festival-rainbow-animation {
  font-family: fantasy;
  font-size: 24px;
  background-image: linear-gradient(
    to right,
    red,
    orange,
    green,
    yellow,
    violet,
    red
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbow-animation 35s linear infinite;
}

.text-rainbow-animation {
  font-family: fantasy;
  font-size: 28px;
  background-image: linear-gradient(
    to right,
    red,
    orange,
    green,
    yellow,
    indigo,
    violet
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbow-animation 35s linear infinite;
}

@keyframes rainbow-animation {
  to {
    background-position: 300vh;
  }
}

/* Keyframes for pulsating animation */
@keyframes pulsate {
  0% {
    border-width: 1px;
  }
  50% {
    border-width: 3px;
  }
  100% {
    border-width: 1px;
  }
}

/* Apply the animation to the frame */
.w3-content {
  max-width: 50%;
  border: 1px solid #12100e;
  padding: 10px;
  margin: 0 auto;
  animation: pulsate 2s infinite; /* Apply pulsate animation to .w3-content */
}

/* Style the images */
.laddu {
  width: 100%;
  border: 1px solid black;
}

#buttonContainer {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  position: relative; /* Required for absolute positioning of stars */
  overflow: hidden; /* Hide stars going outside the container */
}

.star {
  position: absolute;
  width: 16px;
  height: 16px;
  background: radial-gradient(circle, #ffffff 30%, rgba(255, 255, 255, 0.4) 60%, rgba(255, 255, 255, 0) 100%);
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  ); /* Star shape */
  box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.8); /* Intense glow effect */
  animation: glowStar 2s infinite ease-in-out;
  opacity: 1;
}

@keyframes glowStar {
  0% {
    transform: scale(0.8);
    opacity: 0.7;
    box-shadow: 0 0 10px 3px rgba(255, 255, 255, 0.6);
  }
  50% {
    transform: scale(1.5);
    opacity: 1;
    box-shadow: 0 0 25px 10px rgba(255, 255, 255, 1);
  }
  100% {
    transform: scale(0.8);
    opacity: 0.7;
    box-shadow: 0 0 10px 3px rgba(255, 255, 255, 0.6);
  }
}


.customButton {
  flex-grow: 1;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
  border-radius: 8px; /* Set the corner radius to 8px */
  /* background-color: #374151; */
  color: #FFF; /* Optional: Set text color */
  cursor: pointer;
  margin: 8px;
  font-size: 15px;
  font-family: 'Courier New', Courier, monospace;
  border-color: #374151;
  background: linear-gradient(to right, #da4453, #89216b);
  transition: background-color 0.3s ease;
}

/* Hover effect */
.customButton:hover {
  background-color: #00bf96; /* Optional: Change background color on hover */
}

.customButton.selected {
  background: linear-gradient(to right, #4CAF50, #1E824C); /* Custom gradient for selected state */
  color: #FFF; /* Ensure the text remains visible */
  border-color: #4CAF50;
}

/* dummy commit */

#warning-text {
  border: 2px solid #4CAF50;
  border-radius: 10px;
  padding: 15px;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(76, 175, 80, 0.05));
  margin: 10px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

#customModal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  padding: 20px;
  animation: fadeInOut 2.2s ease-in-out;
  max-height: 90vh;
  overflow-y: auto;
}

#customModal img {
  max-width: 100%;
  border-radius: 4px;
  max-height: 50vh;
  margin-bottom: 10px;
}

#customModal p {
  margin-bottom: 15px;
}

#customModal button {
  background-color: #4caf50;
  color: #fff;
  border: none;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
}

#customModal button.cancel {
  background-color: #f44336;
  margin-left: 10px;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.calender-card {
  margin-top: 10px;
  /* margin-left: 20px; */

  border-radius: 10px;
  /* background-color: #000; */
  padding: 7px;
  padding-top: 12px;
  background: linear-gradient(
    150deg,
    #ff5722,
    #e91e63,
    #ff5722,
    #e91e63,
    #ff5722 100%
  );
}

.month-year {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 10px;
  gap: 10px;
}

.dropdown-wrapper {
  position: relative;
}

.selected-option {
  background-color: white;
  border-radius: 12px;
  min-height: 100%;
  text-align: center;
  position: relative;
}

.selected-option::after {
  position: absolute;
  right: 10px;
  top: 25%;

  content: "";
  border: solid black;
  border-width: 0 2.5px 2.5px 0;
  display: inline-block;
  padding: 2.5px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.option-dropdown {
  background-color: white;
  position: absolute;
  top: 100%;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 10px;
  z-index: 100;
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 5px;
}

.option-dropdown .active {
  background-color: #00bf96;
  color: #fff;
  font-weight: bold;
}

.option-dropdown > * {
  padding: 5px;
  text-align: center;
  border-radius: 2.5px;
  font-size: 14px;
  font-weight: 500;
}

.hide {
  display: none;
}

.dot-loader {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: -1;
}

.dot3 {
  position: relative;

  height: 20px;
  width: 20px;
  border-radius: 50%;

  background-color: #ff5722;
  animation: dot-flashing 1s infinite linear alternate;
  animation-delay: 0.5s;
}

.dot3::before,
.dot3::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;

  height: 100%;
  width: 100%;
  border-radius: 50%;

  background-color: inherit;
  animation: inherit;
}

.dot3::before {
  left: -30px;
  animation-delay: 0s;
}

.dot3::after {
  left: 30px;
  animation-delay: 1s;
}

@keyframes dot-flashing {
  0% {
    background-color: #ff5722;
  }

  50%,
  100% {
    background-color: rgba(255, 87, 34, 0.2);
  }
}
