/** Navigation from nextjs*/

.visibility-hidden {
  opacity: 0 !important;
}

.bg-gray-900 {
  background-color: lab(2.73912 -0.304833 -1.98073);
}

.bg-gray-800 {
  background-color: lab(2.73912 -0.304833 -1.98073);
}

/* .topnav styles */
.topnav #mobile-menu {
  margin-top: 1.3rem;
  z-index: 101;
}

.topnav #main-navbar {
  overflow: hidden;
  /* transition: opacity .5s ease; */
}

.topnav h3 {
  font-size: 1.125rem;
  font-weight: 700;
}

.topnav h4 {
  font-size: 0.85rem;
  font-weight: 700;
}

.topnav .text-xs {
  font-size: 0.75rem !important;
  font-weight: 300;
  line-height: 1.8;
}

.topnav .lucide-moon {
  display: none;
}

.topnav p {
  padding-bottom: 0;
}

.topnav label.p-2 {
  margin-bottom: 0 !important;
}

.topnav .border-gray-700\/50 {
  border-color: color-mix(
    in oklab,
    oklab(0.62 -0.18 0.06) 20%,
    transparent
  ) !important;
}

.topnav .border-gray-700\/50:hover {
  border-color: color-mix(
    in oklab,
    oklab(0.62 -0.18 0.06) 50%,
    transparent
  ) !important;
}

.topnav .from-primary\/5 {
  --tw-gradient-from: color-mix(
    in oklab,
    oklab(0.62 -0.18 0.06) 50%,
    transparent
  );
}

.topnav .to-primary\/10 {
  --tw-gradient-stops: var(--tw-gradient-via-stops);
}

.topnav .switch {
  display: flex;
  align-items: center;
  justify-content: center;
}

.topnav .switch input {
  width: 2rem;
  height: 2rem;
  position: absolute;
}

.light_theme .topnav .switch .theme-icon-light {
  display: none;
}

.topnav .switch .theme-icon-dark {
  display: none;
}

.light_theme .topnav .switch .theme-icon-dark {
  display: block;
}

.topnav svg {
  color: rgba(10, 177, 99, 1);
}

.topnav svg.lucide-arrow-right {
  color: rgba(255, 255, 255, 1) !important;
}

.topnav .mobile-nav-item button > svg {
  color: rgb(103, 103, 103) !important;
}

.topnav .button-primary-glass {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
  padding: 8px 24px;
  font-size: 12px;
  font-weight: 700 !important;
  letter-spacing: -0.1px;
  color: rgb(255, 255, 255);
  background-image: linear-gradient(
    135deg,
    rgb(8, 145, 80),
    rgb(10, 177, 99),
    rgb(61, 197, 131)
  );
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow:
    rgba(10, 177, 99, 0.3) 0px 4px 12px 0px,
    rgba(8, 145, 80, 0.2) 0px 2px 8px 0px;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  overflow: hidden;
}

.topnav .button-primary-glass:hover {
  box-shadow:
    rgba(10, 177, 99, 0.4) 0px 6px 16px 0px,
    rgba(8, 145, 80, 0.3) 0px 3px 10px 0px;
  transform: translateY(-1px);
}

.topnav .button-primary-glass:active {
  transform: translateY(0);
}

.topnav .dark\:hidden {
  display: none !important;
}

.topnav .text-gray-300 {
  color: #ddd;
}

.topnav .dark\:text-white {
  color: #fff;
}

.topnav .to-primary\/10 {
  --tw-gradient-stops: var(--tw-gradient-via-stops);
}

@supports (color: color-mix(in lab, red, red)) {
  .topnav .to-primary\/10 {
    --tw-gradient-to: color-mix(in oklab, var(--primary) 10%, transparent);
  }
}

.topnav .to-primary\/10 {
  --tw-gradient-to: var(--primary);
}

.topnav .from-blue-500\/5 {
  --tw-gradient-from: color-mix(
    in oklab,
    oklab(0.619996 -0.180692 0.0587216 / 0.2) 30%,
    transparent
  );
}

.topnav .to-blue-500\/10 {
  --tw-gradient-to: color-mix(
    in oklab,
    oklab(0.619996 -0.180692 0.0587216 / 0.3) 30%,
    transparent
  );
}

.topnav .border-blue-500\/20 {
  border-color: lab(58.4028 -66.1656 22.7044 / 0.2) !important;
}

.topnav .border-green {
  border-color: lab(58.4028% -66.1656 22.7044 / .3) !important;
}

/* Light theme overrides */
.light_theme .topnav .light\:hidden {
  display: none !important;
}

.light_theme .topnav .lucide-sun {
  display: block;
}

.light_theme .topnav .dark\:hidden {
  display: block !important;
}

.light_theme .topnav .bg-white,
.light_theme .topnav .light_theme\:bg-white {
  background-color: lab(98.2353 0.125 -0.125) !important;
}

.light_theme .topnav .light_theme\:text-gray-300 {
  color: #ddd !important;
}

.light_theme .topnav .light_theme\:text-gray-600 {
  color: #333 !important;
}

.light_theme .topnav .light_theme\:text-gray-700 {
  color: #000 !important;
}

.light_theme .topnav .light_theme\:text-gray-900 {
  color: #111 !important;
}

.light_theme .topnav .light_theme\:text-black {
  color: #000 !important;
}

.light_theme .topnav .lucide-sun {
  display: none;
}

.light_theme .topnav .lucide-moon {
  display: block;
  color: #aaa !important;
}
