
nav {
  width: 100vw;
  height: 80px;
  background-color: #0e0e17;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  border-bottom: 1px solid #000;
  box-sizing: border-box;
  position: relative;
  z-index: 999;
}

.home-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

#logo {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
}

.links-container {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-left: 40px;
}

nav a {
  height: 70px !important;
  border-radius: 10px;
  font-size: 20px;
  color: var(--text-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 10px;
  box-sizing: border-box;
}

.navbar-brand {
  font-size: 32px;
  line-height: 1;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

nav a:hover {
  background-color: #fdfdfd6c;
  text-decoration: none;
  color: var(--text-color);
}

/* nav a:focus{
  color: #840d3e; 
 background-image: linear-gradient(45deg, #840d3e , #7458f2 50%, #a8e7d6 100%); 
 background-clip: text; 
 -webkit-background-clip: text; 
 -webkit-text-fill-color: transparent;  
} */

#sidebar-active {
  display: none;
}

.open-sidebar-button {
  display: none;
  cursor: pointer;
  fill: var(--text-color);
}

.close-sidebar-button {
  display: none;
  cursor: pointer;
  fill: var(--text-color);
}


#overlay {
  display: none;
}

 @media screen and (max-width: 1037px) {
    .navbar-brand {
      font-size: 28px;
    }
  
    .links-container {
      gap: 30px;
    }
  
    nav a {
      font-size: 17px;
    }
  }

  @media screen and (max-width: 948px) {
  .navbar-brand {
    font-size: 20px;
  }

  .links-container {
    gap: 12px;
    margin-left: 2px;

  }

  nav a {
    font-size: 18px;
    padding: 0 6px;
  }
}

@media screen and (max-width: 796px) {
  .navbar-brand {
    font-size: 18px;
  }

  .links-container {
    gap: 10px;
    margin-left: 0;

  }

  nav a {
    font-size: 16px;
    padding: 0 6px;
  }
}

@media (max-width: 768px) {
  .open-sidebar-button {
    display: block;
    padding: 15px;
  }

  .close-sidebar-button {
    display: block;
    padding: 15px;
  }

  
  .links-container {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    padding: 90px 20px;
    background-color: #0e0e17;
    box-shadow: -5px 0 5px rgba(0, 0, 0, 0.25);
    transition: right 0.4s ease;
    gap: 20px;
    z-index: 1000;
  }

 
  #sidebar-active:checked ~ .links-container {
    right: 0;
  }

  /* #sidebar-active:checked ~ #overlay{
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
  } */

  nav a {
    width: 100%;
    justify-content: flex-start;
    padding: 14px 0;
  }

  
}

@media (max-width: 480px) {
  #logo {
    width: 40px;
    height: 40px;
  }

  .navbar-brand {
    font-size: 22px;
  }

  .links-container {
    width: 220px;
  }

  nav a {
    font-size: 15px;
  }

}
