 
/* @import url("theme.css"); */
/*
static/
│
├── css/
│   ├── maindashboard/
│   │   ├── home/
│   │   │   └── home.css
│   ├── theme.css
│
└── ... 
*/

 
 /* Navigation header */
 .header{
  position: fixed; 
  padding: 0;
  top: 0; 
  left: 0;
  width: 100%;
  height: var(--header-height) ;
  /* background: linear-gradient(to right, #2d80c5 0%, #83ddca 100%); */
  background-color: #fff !important ;
  color: var(--accent-color);
  display: grid; /* IDEA: so that we can fit other stuff in the header. e.g logo */
  /* grid-template-columns: repeat(12, 1fr); */
  grid-template-columns: auto 2fr auto;
  gap: 12px;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 1000;
}
.header__button{
  /* grid-column: 1 ; */
  width: var(--header-height);
  flex-shrink: 0; /* IDEA: Making sure it will never be shrinked down by elements from the right */
  background: none;
  outline: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  font-size: 20px !important;
  font-weight: 700;
}
.header__button img{
  height: 17px;
  width: 17px;
}
.header__button i{
  font-size: 30px !important;
  color: var(--accent-color);
}
#logo{
  /* grid-column: 6; */
  margin: 0 auto;
  font-family: "Open Sans" sans-serif;
  /* font-size: 30px; */
  font-weight: 700;
  color: var(--accent-color);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
}
#logo a{
  text-decoration: none;
}
.logo span{
  color: var(--primary-color);
}
#navbar_d{
  display: flex;
  justify-content: flex-end;
  position: sticky;
}
#links a {
  color: var(--accent-color);
  font-size: 16px !important;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
  /* padding-bottom: 0.25rem; */
}
#links a::after{
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}
#links a:hover::after{
    width: 100%;
}
/* #links a:hover {
  color: var(--accent-color-hover);
  font-family: "Open Sans" sans-serif;
  font-size: 18px;
} */
.dashboard .dropdown-menu{
  /* background: linear-gradient(to right, #2d80c5 0%, #83ddca 100%);*/
  background-color: #fff !important ; 
}
.dashboard .dropdown-menu a{
  color: var(--accent-color) !important;
}
.dashboard .dropdown-menu li:hover > a {
  color: var(--primary-color) !important;
  background-color: #fff !important;
}
.user{
  /* grid-column: 9; */
  /* padding-right: 10px; */
  display: flex;
  align-items: center;
  position: sticky;
}
.user a span{
  color: var(--primary-color);
  font-size: 18px !important;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
  padding-bottom: 0.25rem;
  text-transform: uppercase;
}
.user a span::after{
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color); 
  transition: var(--transition);
}
.user a span:hover::after {
  width: 100%;
}
.user a.dropdown-toggle{
  color: var(--accent-color) !important;
}
.user a{
  display: flex;
  align-items: center;
  color: var(--accent-color) !important;
  font-weight: 600;
  text-decoration: none;
}
.user a img{
  height: 30px;
}
.user .dropdown-menu h4{
  color: var(--accent-color) !important;
  font-weight: 700;
}
.user .dropdown-menu h4:hover{
  background-color: var(--primary-color) !important;
}
.user .dropdown-menu a:hover{
  color: var(--accent-color-hover) !important;
  background-color: var(--primary-color) !important;
}
.user .dropdown-menu a i{
  width: 24px;
}
.nav__links{
  position: fixed;
  top:50px;
  left:0;
  z-index: 10005;
  height: fit-content;
  min-width: 200px;
  transform: translate(-250px); /* IDEA: To push navbar off the page by default */
  transition: transform 0.3s;
  height: 95%;
  /* background: linear-gradient(to right, #2d80c5 0%, #83ddca 100%); */
  background-color: #fff;
}
/* IDEA: For Opening the Navbar */
.nav--open .nav__links{
  transform: translate(0);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2 );
}
.nav__link{
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 14px !important;
  text-decoration: none;
  padding: 12px 15px;
  transition: transform 0.3s ease;
  color:var(--accent-color);
  margin: 10px 2px;
}
.nav__links .dropdown-toggle{
    font-weight: bold;
    font-size: 14px !important;
    text-decoration: none;
    padding: 12px 15px;
    transition: transform 0.3s ease;
    color: var(--accent-color);
    margin: 10px 2px;
}
/* IDEA: Putting spae btwn icons and text */
.nav__link > i{
  margin-right: 15px;
  color:var(--icon-bg-color);
  height: 20px;
  width: 20px;
}
/* .nav__link--active{
  color: #0062f3;

} */
.nav__link:hover{
  /* background-color:var(--accent-color); */
  /* color: white; */
  transform: translateX(5px);
}
.nav__link:hover i{
  color:var(--icon-bg-color-hover);
}
.nav__overlay{
  z-index: 1000;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100vw;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s;
}
.nav--open .nav__overlay{
  visibility: visible;
  opacity: 1;
}
.footer{
  color: #e9ebee;
  position: fixed;
  bottom: 0;
  width: 100%;
  /* background: linear-gradient(to right, #83ddca 0%, #2d80c5 100%); */
  background-color: rgb(22 21 20 / 80%) !important ;
  z-index: 10;
  font-weight: 700;
}

/* IDEA: Mobile to Tablet */
@media (min-width: 320px) and (max-width: 720px){
  #navbar_d{
   display: none;
 }
 #logo{
    /* height: 10px; */
    margin: 0;
 }
 #logo a span img{
  width: 140px;
  height: 30px;
 }
 .user{
  display: none;
 }
}
/* small screens */
@media (max-width: 968px) {
    #navbar_d, .user {
    display: none;
  }
}
@media (min-width: 968px){
  .header__button, .nav__links{
    display: none;
  }
  .header{
    grid-template-columns: auto 2fr auto auto;
    gap: 12px;
    justify-content: start;
    align-items: center;
    min-height: var(--header-height);
    z-index: 1000;
    grid-gap: 1em;
    padding: 0 10px;
    -webkit-box-shadow: -1px 4px 5px 0px var(--primary-color);
    -moz-box-shadow: -1px 4px 5px 0px var(--primary-color);
    box-shadow: -1px 4px 5px 0px var(--primary-color);
  }
  .user{
    display: inline-flex;
    justify-content: right;
  }
  #logo{
    display:grid;
    margin-top:10;
    font-family: "Open Sans" sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
  }
  .logo span{
    color: var(--primary-color) !important;
  }
  #links{
    display:grid;
    padding-right: 20px;
    align-items: center;
    grid-auto-flow: column;
    grid-gap: 1em;
    width: fit-content;
    font-size: 18px !important;
    font-weight: 700;
    
  }
  

}