/* Common Styles */
/* Add a background color or image to the navigation bar */
/* Frosted Glass Effect for Navigation Bar */
.container {
  display: flex;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 1000px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between; /* Changed from center to space-evenly */
  gap: 10px;
  margin-top: 20px;
  padding: 15px 30px; /* Added padding */
  z-index: 1000; /* Increased z-index */
  background: linear-gradient(
    to right,
    rgba(10, 10, 10, 0.7),
    rgba(10, 10, 10, 0.7)
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Ensure the content doesn't overlap with the fixed navigation bar */
.main-content {
  position: relative;
  padding-top: 80px; /* Adjust this value based on the height of your navigation bar */
}


.radio-wrapper {
  position: relative;
  height: 55px;
  width: auto;
  min-width: 90px;
  margin: 0 5px;
}

/* Make the "Contributors" button wider */
.radio-wrapper:last-child {
  min-width: 130px; /* Specific width for Contributors */
}

.btn {
  font-size: 15px;
  position: relative;
  font-weight: 900;
  width: auto;
  padding: 10px;
  height: 100%;
  line-height: 38px;
  text-align: center;
}

.btn a {
  text-decoration: none;
  white-space: nowrap;
  display: block;
  font-family: 'Poppins';
  font-size: 20px;
  color: white;
  font-weight: bold;
  position: relative;
  z-index: 1;
  text-align: center;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(to right, #23abd4, #23abd4 50%, #fff 50%);
  background-size: 200% 100%;
  background-position: -100%;
  transition: all 0.3s ease-in-out;
}

.nav-link:hover {
  text-shadow: 0 0 3px #4b4949, 0 0 10px rgba(167, 45, 237, 0.3), 0 0 20px rgba(167, 45, 237, 0.4), 0 0 30px rgba(167, 45, 237, 0.5), 0 0 40px rgba(167, 45, 237, 0.6), 0 0 50px rgba(167, 45, 237, 0.7);
}

.btn a::before {
  display: none; /* Disable the underline effect */
}

/* Disable the hover effect */
.btn a:hover {
  background-position: -100%; /* Keep the gradient in its original position */
  text-shadow: none; /* Remove text shadow on hover */
}

.btn a:hover::before {
  width: 0; /* Ensure the underline doesn't appear on hover */
}

.hamburger {
  color: white;
  display: none;
  flex-direction: column;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 1001;
}

.main.navbar.dark-theme {
  background: #000000; /* Dark background */
  color: #a49090; /* Light text color */
}



.hamburger .line {
  width: 30px;
  height: 3px;
  background: white;
  margin: 5px 0;
  transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    background: linear-gradient(to right, rgba(128, 128, 128, 0.5), rgba(64, 64, 64, 0.5));
    position: fixed;
    top: 0;
    left: 20%;
    width: 85%;
    align-items: stretch;
    height: auto; /* Adjust height for mobile */
    z-index: 100;
    padding: 1rem;
    background-color: #007bff; /* Ensure background color is consistent */
  }

  .main-content {
    padding-top: 120px; /* Adjust padding for mobile */
  }

  .radio-wrapper{
    width: 100%;
    margin: 5px 0;
  }

  .btn{
    width: 100%;
    text-align: center;
  }
} 
  
/*
  .navbar.open .container {
    display: flex; /* Show the navbar when the menu is open */
  /* } */

  
  /* .hamburger {
    display: flex;
  }



  .hamburger.open .line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.open .line:nth-child(2) {
    opacity: 0;
  }

  .hamburger.open .line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

