.navigation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--clr);
  z-index: 1000;
}

.container-fluid {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.navigation ul {
  display: flex;
  justify-content: center;
  padding-left: 0;
  margin: 0;
  list-style: none;
}

.navigation ul li {
  flex: 0 0 auto;
  text-align: center;
  margin: 0 1rem;
  width: 6rem;
}

.navigation ul li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  padding: 0.5rem;
}

.navigation ul li a .icon{
    position: relative;
    display: block;
    line-height: 75px;
    font-size: 1.5em;
    text-align: center;
    transition: 0.5s;
    color: #fff;
}

.navigation ul li:hover a .icon{
    transform: translateY(-35px);
}

.navigation ul li a .text {
    position: absolute;
    color: #fff;
    font-weight: 400;
    font-size: 0.75em;
    letter-spacing: 0.05em;
    transition: 0.5s;
    opacity: 0;
    transform: translateY(20px);
}

.navigation ul li:hover a .text{
    opacity: 1;
    transform: translateY(10px);
}

.header_page{
    letter-spacing: 4px;
}
  
#themeToggleBtn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}

#moonIcon {
    display: none;
}

.theme-icon {
    width: 24px;
    height: 24px;
    margin-left: 8px;
}

.navbar-nav {
  display: flex;
  flex-direction: row;
}

.navbar-nav .nav-item {
  flex: 1;
  text-align: center;
}

.navbar-nav .nav-item a {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  font-weight: 500;
  text-decoration: none;
  color: #fff;
}

.navbar-nav .nav-item a .icon {
  line-height: 75px;
  font-size: 1.5em;
  text-align: center;
  transition: 0.5s;
}

.navbar-nav .nav-item a .text {
  font-weight: 400;
  font-size: 0.75em;
  letter-spacing: 0.05em;
  transition: 0.5s;
  opacity: 0;
  transform: translateY(20px);
}

.navbar-nav .nav-item:hover a .text {
  opacity: 1;
  transform: translateY(0);
}

#themeToggleBtn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
}

#moonIcon {
  display: none;
}

.theme-icon {
  width: 24px;
  height: 24px;
  margin-left: 8px;
}

.user-details {
  margin-left: 10px;
}

.user-name {
  display: block;
  font-weight: 600;
  color: #ffffff;
}

.user-role {
  display: block;
  font-size: 12px;
  color: #9ca3af;
}

.user-info {
  display: flex;
  align-items: center;
}

.user-avatar {
  width: 40px;
  height: 40px;
  background-color: #4a5568;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.avatar-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.avatar-initials-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.avatar-initials {
  color: white;
  font-weight: bold;
  font-size: 14px;
}

@media (max-width: 992px) {
  .navbar-nav {
    display: block;
    width: 100%;
  }

  .navbar-nav .nav-item {
    flex: none !important;
    width: 100% !important;
    padding: 0;
  }

  .navbar-nav .nav-item .nav-link {
    display: block;
    width: 100%;
    padding: 1rem;
    text-align: center;
  }

  .navbar-collapse .btn {
    width: auto !important;
    display: inline-block !important;
    margin: 0 auto;
  }
}

.navigation {
  background-color: var(--clr);
}

.d-none.d-lg-flex {
  display: flex !important;
}

.d-lg-none {
  display: none !important;
}

@media (max-width: 992px) {
  .d-lg-none {
    display: flex !important;
  }

  .d-none.d-lg-flex {
    display: none !important;
  }

  .navbar-nav {
    flex-direction: column;
    width: 100%;
  }

  .navbar-nav .nav-item {
    text-align: center;
    padding: 10px 0;
  }

  .navbar-nav .nav-link {
    padding: 10px;
  }

  .form-control {
    margin: 10px 0;
  }

  .btn-outline-light {
    margin: 10px 0;
  }
}
