@font-face {
  font-family: "SF Pro";
  src: url("./fonts/SF-Pro-Rounded-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "SF Pro";
  src: url("./fonts/SF-Pro-Rounded-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

body,
html {
  overflow-y: auto;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  height: 100%;
}

body {
  background: linear-gradient(
    90deg,
    hsla(296, 82%, 19%, 1) 17%,
    hsla(211, 51%, 80%, 1) 100%
  );
  padding-bottom: 70px;
  /*font-family: 'SF Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;*/
  font-family: 'SF Pro', 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

.content {
  flex: 1;
  width: 100%;
  /*max-width: 1200px; /* Consistent max width */
  padding: 0;
  color: white;
  animation: fade-slide 0.5s ease;
}

.index-content {
  flex: 1;
  width: 100%;
  /*max-width: 1200px; /* Consistent max width */
  padding: 0;
  color: white;
  animation: fade-slide 0.5s ease;

  text-align: center;
}

/* Optional: padding for top containers */
.container-padding-top {
  padding-top: 20px;
}

/* Modern Gradient Background for Navbar */
.bg-gradient {
  background: linear-gradient(90deg, #560467 0%, #ac7bec 100%);
  border: none;
  backdrop-filter: blur(100px); /* Adds a blur effect to the background */
  -webkit-backdrop-filter: blur(100px); /* For Safari support */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Add some subtle shadow */
}

.black-text {
  color: black;
}

/* Navbar styling */
.navbar {
  padding: 0.8rem 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Logo styling */
.logo-img {
  width: 30px;
  height: 30px;
}

/* Navbar links */
.navbar .navbar-nav .nav-link {
  color: #fff;
  font-weight: 500;
  margin-right: 15px;
  transition: color 0.3s ease, transform 0.3s ease;
  text-align: left;
}

.navbar .navbar-nav .nav-link:hover {
  color: #f1f1f1;
  transform: translateY(-2px);
}

/* Active state for nav items */
.navbar .navbar-nav .nav-item.active .nav-link {
  color: #ffffff;
  font-weight: bold;
  border-bottom: 2px solid #ffffff;
}

/* Stylish Button */
.modern-btn {
  background-color: #ffffff;
  color: #2575fc;
  border: none;
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.modern-btn:hover {
  background-color: #f1f1f1;
  color: #6a11cb;
}

/* Alignment for left-aligned button */
.navbar .mr-auto {
  margin-right: auto;
}

.navbar-collapse {
  transition: height 0.35s ease;
  overflow: hidden;
}

/* Dock styling */
.dock {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  padding: 12px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

/* Dock items */
.dock-item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.dock-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.dock-item.active {
  background: radial-gradient(
    circle,
    rgba(0, 149, 255, 0.8) 0%,
    rgba(0, 149, 255, 0.5) 70%,
    rgba(0, 149, 255, 0.1) 100%
  );
  border: 2px solid rgba(0, 149, 255, 0.8);
  transform: scale(1.1);
}

.dock-item img {
  width: 20px;
  height: 20px;
}

/* Make search bar adjustments */
.search-bar {
    display: flex;
    align-items: center;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 2px;
    padding-bottom: 2px;
    background-color: #000;
    border-radius: 25px;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
  }
  
  .search-bar input {
    flex: 1;
    border: none;
    background: none;
    color: #fff;
    padding: 10px;
    font-size: 16px;
    outline: none;
  }
  
  .search-icon {
    position: absolute;
    right: 15px;
  }
  
  .search-icon img {
    width: 20px;
    height: 20px;
  }
  
  /* Ensure buttons are horizontally scrollable and don't scale */
  .category-carousel-wrapper {
    overflow-x: auto;
    display: flex;
    justify-content: center;
    padding: 15px 0;
  }
  
  .category-carousel {
    display: flex;
    gap: 10px;
    overflow-x: scroll;
    scrollbar-width: none; /* Hide scrollbar on Firefox */
    -ms-overflow-style: none; /* Hide scrollbar on IE */
  }
  
  /* Hide scrollbar for Webkit */
  .category-carousel::-webkit-scrollbar {
    display: none;
  }
  
  .category-btn {
    background: #333;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 25px;
    white-space: nowrap;
    transition: background-color 0.3s ease;
    cursor: pointer;
  }
  
  .category-btn:hover {
    background: #555;
  }
  
  .category-btn.active {
    background: white;
    color: black;
  }
  
  /* Make sure buttons don't scale but stack on mobile */
  @media (max-width: 768px) {
    .category-btn {
      flex: 0 0 auto; /* Prevent stretching */
    }
  
    .search-bar input {
      font-size: 14px;
      padding: 8px;
    }
  
    .search-icon img {
      width: 16px;
      height: 16px;
    }
  }

/* Category carousel 
.category-carousel {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  margin-top: 20px;
  padding: 10px 0;
}

.category-btn {
  background-color: #333;
  color: white;
  border: none;
  border-radius: 25px;
  padding: 10px 20px;
  margin: 0 5px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.category-btn:hover {
  background-color: #555;
}

.category-btn.active {
  background-color: white;
  color: #000;
  font-weight: bold;
  transform: scale(1.1);
}

.category-carousel::-webkit-scrollbar {
  display: none; /* Hide scrollbar 
}*/
