/* ----- Glass navbar style when scrolled ----- */

.nav-scrolled {
  background: rgba(255, 255, 255, 0.281);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  margin-top: 12px;
  margin-bottom: 8px;
}

.nav_container {
  max-width: 100%;
  margin: 45px 10px 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#navbar {
  position: fixed;
  z-index: 1000000;
}

/* ---------- Small Screen Nav Bar ---------- */

.small-screen-nav-bar-btn {
  width: 40px;
  height: 40px;
  border-radius: 5px;
  position: fixed;
  top: 0;
  right: 0;
  margin: 22px 25px 10px 10px;
  padding: 10px;
  background: #4da3ff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
  font-size: 20px;
  color: #ffffff;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000000000;
  transition: 0.5s;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.4);
}

.small-screen-nav-bar-btn:hover,
.small-screen-nav-bar-btn:focus {
  box-shadow: 0 0.5em 0.8em -0.4em #000000;
  transform: translateY(-0.25em);
}

.small-screen-nav-bar-links-container {
  width: 210px;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  z-index: 10000000;
  position: fixed;
  text-align: center;
  top: 0;
  right: -210px;
  transition: 0.5s;
}

.small-screen-nav-bar-links-container ul {
  padding-left: 10px;
}

.small-screen-nav-bar-links-container ul a {
  text-decoration: none;
}

.small-screen-nav-links {
  color: #000000;
  list-style: none;
  margin: 20px 10px;
}

@media (max-width: 767px) {
  .nav-bar-box {
    display: none;
  }

  .small-screen-nav-bar-btn {
    display: flex;
  }
}