@import url("https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Bitcount+Grid+Single:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Playwrite+AU+NSW:wght@100..400&display=swap");
body {
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  font-style: normal;
 overflow-x:hidden;
width: 100%;
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
}
* {
  box-sizing: border-box;

}

/* Sidebar Styles */
.sidebar-icon {
  transition: all 0.3s ease;
}
.sidebar-icon:hover {
  transform: scale(1.1);
}
.sidebar-icon.active {
  background: #dc2626;
  color: white;
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
}
.tooltip {
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}
.sidebar-icon:hover .tooltip {
  opacity: 1;
  visibility: visible;
}
.progress-bar {
  transition: width 0.3s ease;
}

/* Add margin to main content to account for sidebar */
body {
  margin-left: 64px;
}

/* Hide sidebar margin on mobile */
@media (max-width: 700px) {
  body {
    margin-left: 0;
  }
  .fixed.left-0.w-16 {
    display: none;
  }
}


@media screen and (max-width: 600px) {
  #first-section {
    position: fixed; /* Makes navbar stick to top */
    height: auto; /* Changed from fixed 65px to auto */
    min-height: 65px; /* Minimum height for the compact state */
    top: 0;
    left: 0;
    width: 100vw;
    background: rgba(0, 0, 0, 0); /* Transparent for glass effect */
    backdrop-filter: blur(20px); /* Glass blur effect */
    -webkit-backdrop-filter: blur(20px); /* Safari support */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border */
    z-index: 1000;
    transition: all 0.3s ease; /* Smooth transitions */
    overflow: hidden; /* Prevents content spillover during animation */
  }

  /* Compact state - only visible content (logo, hamburger) */
  #first-section .navbar-content {
    height: 65px; /* Height of visible content */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
  }

  /* Hidden navigation links container */
  #first-section .nav-links {
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
  }

  /* Expanded state when menu is open */
  #first-section.menu-open .nav-links {
    max-height: 300px; /* Adjust based on your content */
    opacity: 1;
    padding: 20px;
  }

  /* Alternative approach using a toggle class */
  #first-section.expanded {
    height: auto;
  }

  #first-section.expanded .nav-links {
    max-height: 300px;
    opacity: 1;
    padding: 20px;
  }
}

@media screen and (min-width: 601px) {
  #first-section {
   display: none;
  }
}

#Logo {
  font-family: "Bitcount Grid Single", system-ui;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #ff0000; /* Red color */
  text-align: left;
}
#ray {
  font-family: "Bitcount Grid Single", system-ui;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #ff0000; /* Red color */
}
#soft {
  font-family: "Bitcount Grid Single", system-ui;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #ff0000; /* Red color */
}
#passion {
  font-family: "Bitcount Grid Single", system-ui;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #ff0000; /* Red color */
}
#about {
  font-family: "Playwrite AU NSW", system-ui;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.05em;
}
.topicc {
  font-family: "Bitcount Grid Single", system-ui;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #ff0000; /* Red color */
}
#ten {
  font-size: 3.5rem;
}
.topic {
  font-family: "Playwrite AU NSW", system-ui;
  font-weight: 500;
  font-style: italic;
  font-size: 1.3rem;
}
