/* Existing styles */

/* Loading spinner container */
#loading-spinner {
  display: flex;
  position: fixed;
  z-index: 9999;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.7); /* Darker background overlay */
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: white;
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
}

/* Spinner animation */
.spinner-border {
  width: 3rem;
  height: 3rem;
  border: 0.25em solid transparent;
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Progress bar */
.progress-bar {
  width: 0;
  height: 5px;
  background: white;
  margin-top: 20px;
}

/* Blur effect for content during loading */
.blur {
  filter: blur(5px);
  pointer-events: none;
}

/* Custom scrollbar styling */
::-webkit-scrollbar {
  width: 8px; /* Width of the vertical scrollbar */
  height: 8px; /* Height of the horizontal scrollbar */
}

::-webkit-scrollbar-track {
  background: #000000; /* Background of the scrollbar track */
}

::-webkit-scrollbar-thumb {
  background-color: #333333; /* Color of the scrollbar thumb */
  border-radius: 10px; /* Rounded corners on the scrollbar thumb */
  border: 2px solid #000000; /* Border around the scrollbar thumb */
}

::-webkit-scrollbar-thumb:hover {
  background-color: #555555; /* Color of the scrollbar thumb on hover */
}

/* Firefox scrollbar styling */
* {
  scrollbar-width: thin; /* Make scrollbar thinner */
  scrollbar-color: #333333 #000000; /* Thumb color and track color */
}

.category-icon {
  width: 50px; /* Adjust size as needed */
  height: auto;
  margin-bottom: 10px; /* Space between icon and text */
  transition: text-shadow 0.3s ease;
}

.glow-animation-white {
  text-shadow: 0 0 10px white, 0 0 20px white, 0 0 30px white;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.category-icon.glow-animation-white:hover {
  text-shadow: 0 0 10px white, 0 0 20px white, 0 0 30px white;
}
