/* ------------------------- SIDE MENU ----------------------------- */


/*========== VARIABLES CSS ==========*/
:root {
  --header-height: 2rem;
  --nav-width: 300px;

  /*========== Colors ==========*/
  --first-color: #46c0ff;
  --first-color-light: rgba(255,255,255, 0.07);
  --title-color: #19181B;
  --text-color: #c6c0d3;
  --text-color-light: #A5A1AA;
  /* --text-color-light: #d3d7e8; */
  --body-color: #2d58af;
  /* --container-color: #17171e; */
  --container-color: #0c1c3c;

  /*========== Font and typography ==========*/
  --body-font: 'lexend', sans-serif;
  --normal-font-size: .8rem;
  --small-font-size: 12px;
  --smaller-font-size: 11px;

  /*========== Font weight ==========*/
  --font-medium: 400;
  --font-semi-bold: 500;

  /*========== z index ==========*/
  --z-fixed: 1;
}

@media screen and (min-width: 1340px) {
  :root {
    --normal-font-size: 0.8rem;
    --small-font-size: 12px;
    --smaller-font-size: 11px;
  }
}

/*========== BASE ==========*/
/* *, ::before, ::after {
  box-sizing: border-box;
} */

/* body {
  /* margin: var(--header-height) 0 0 0;
  padding: 1rem 1rem 0; 
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
} */

h3 {
  margin: 0;
}

a {
  text-decoration: none;
}

/*========== HEADER ==========*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--container-color);
  box-shadow: 0 1px 0 rgba(22, 8, 43, 0.1);
  padding: 0 1rem;
  z-index: var(--z-fixed);
  opacity: 0.5
}

.header__container {
  display: flex;
  align-items: center;
  height: var(--header-height);
}

.header__img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
}

.header__logo {
  color: var(--title-color);
  font-weight: var(--font-medium);
  display: none;
}

.header__search {
  display: flex;
  padding: .40rem .75rem;
  background-color: var(--first-color-light);
  border-radius: .25rem;
}

.header__input {
  width: 100%;
  border: none;
  outline: none;
  background-color: var(--first-color-light);
}

.header__input::placeholder {
  font-family: var(--body-font);
  color: var(--text-color);
}

.header__icon, 
.header__toggle {
  font-size: 1.2rem;
}

.header__toggle {
  color: var(--title-color);
  cursor: pointer;
}

/*========== NAV ==========*/
.navigation__inner {
  position: fixed;
  top: 0;
  left: -100%;
  height: 100vh;
  padding: 1rem 1rem 0;
  background-color: var(--container-color);
  box-shadow: 1px 0 0 rgba(22, 8, 43, 0.1);
  z-index: var(--z-fixed);
  transition: .4s;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  /* background-color: var(--body-color);
  color: var(--text-color);   */
  -webkit-box-sizing: border-box;
  /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;
  /* Firefox, other Gecko */
  box-sizing: border-box;
  /* Opera/IE 8+ */  
  display: block;
}

.nav__container {
  height: 100%;
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  row-gap: 6px;
  padding-bottom: 3rem;
  overflow: auto;
  scrollbar-width: none; /* For mozilla */
}

.nav-bottom{
  padding: 1.10rem 0;
  /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
  /* background-color: rgba(255,255,255,0.03); */
  background-color: rgba(6, 117, 255, 0.15);
  border-radius: 6px;
}

.nav__bg{
  padding-top: 22px;
  padding-bottom: 24px;
  background-color: rgba(255,255,255,0.04);
  border-radius: 6px;
}

/* For Google Chrome and others */
.nav__container::-webkit-scrollbar {
  display: none;
}

.nav__logo {
  font-weight: var(--font-semi-bold);
  margin-bottom: 0.8rem;
}

.nav__list, 
.nav__items {
  display: grid;
}

.nav__list {
  row-gap: 1.85rem;
}

.nav__items {
  row-gap: 0.45rem;
}

.nav__subtitle {
  font-size: var(--normal-font-size);
  text-transform: uppercase;
  letter-spacing: .1rem;
  color: var(--text-color-light);
  padding: 0 0.9rem;
  font-weight: 500;
}

.nav__link {
  display: flex;
  align-items: center;
  color: var(--text-color);
  padding: 0 0.7rem;
  background-color: transparent;
}

.nav__link:hover {
  color: var(--first-color);
}

.nav__name {
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  margin-right: 0.2rem;
  /* white-space: nowrap; */
}

.nav__logout {
  margin-top: 5rem;
}

/* Dropdown */
.nav__dropdown {
  overflow: hidden;
  /* max-height: 42px; */
  /* transition: 0.4s; */
}

.nav__dropdown-collapse {
  background-color: rgba(0, 0, 0, 0.15);
  border-radius: .25rem;
  margin-top: 1rem;
  display: none;
}

.nav__dropdown-item {
  font-size: var(--smaller-font-size);
  font-weight: var(--font-medium);
  color: var(--text-color)!Important;
  background-color: transparent!Important;
  animation: display_out2 0.25s ease-out forwards; 
}

.nav__dropdown-item:hover {
  color: var(--first-color);
}

.nav__dropdown-icon {
  margin-left: auto;
  transition: .4s;
}

/* Show dropdown collapse */
/* .nav__dropdown:hover {
  max-height: 100rem;
  transition: 2.5s;
} */


/* Rotate icon arrow */
.nav__dropdown:hover .nav__dropdown-icon {
  transform: rotate(180deg);
}

/*===== Show menu =====*/
.show-menu {
  left: 0;
}

/*===== Active link =====*/
nav .active {
    color: var(--first-color)!Important;
    max-height: 4rem;
    /* transition: max-height 0.5s ease-in-out;      */
}

/* ========== MEDIA QUERIES ==========*/
/* For small devices reduce search*/
@media screen and (max-width: 320px) {
  .header__search {
    width: 70%;
  }
}

@media screen and (min-width: 1560px) {
  body {
    padding: 1rem 3rem 0 6rem;
  }
  .header {
    padding: 0 3rem 0 6rem;
  }
  .header__container {
    height: calc(var(--header-height) + .5rem);
  }
  .header__search {
    width: 300px;
    padding: .55rem .75rem;
  }
  .header__toggle {
    display: none;
  }
  .header__logo {
    display: block;
  }
  .header__img {
    width: 40px;
    height: 40px;
    order: 1;
  }
  .navigation__inner {
    left: 0;    
    width: 68px; /* Reduced navbar */
  }
  .nav__items {
    row-gap: 0.4rem;
   }
   /*
  .nav__icon {
    font-size: 1.1rem;
    transition: .3s;
  } */


  /* Element opacity */
  .nav__logo-name, 
  .nav__name, 
  .nav__subtitle, 
  .nav__dropdown-icon {
    opacity: 0;
    transition: .3s;
  }
  
  
/* 
  .navigation__inner:hover {
    width: var(--nav-width);
  }
  
  .navigation__inner:hover .nav__logo-name {
    opacity: 1;
  }
  .navigation__inner:hover .nav__subtitle {
    opacity: 1;
  }
  .navigation__inner:hover .nav__name {
    opacity: 1;
  }
  .navigation__inner:hover .nav__dropdown-icon {
    opacity: 1;
  }  */

  /* Navbar expanded */
  .navigation__inner {
    width: var(--nav-width);
    z-index: 100;
  }
  
  /* Visible elements */
  .navigation__inner .nav__logo-name {
    opacity: 1;
  }
  .navigation__inner .nav__subtitle {
    opacity: 1;
  }
  .navigation__inner .nav__name {
    opacity: 1;
  }
  .navigation__inner .nav__dropdown-icon {
    opacity: 1;
  }  
}

.sections_title{
  color: var(--text-color-light);
    padding: 28px 0.7rem 8px 0.7rem;
    text-transform: uppercase;
    font-weight: 600; 
}


@media screen and (min-width: 1340px) {
  .navigation__inner{
    padding: 1.2rem 0.4rem;
  }
  .nav__icon {
    font-size: 1.1rem;
    margin-right: .4rem;
  }
  .nav__dropdown-content {
    display: grid;
    row-gap: 1.85rem;
    padding: 1.3rem 2.2rem;
  }  
}

@media screen and (max-width: 1340px){
.navigation__inner{
  padding: 1.4rem 0rem;
}
.nav__icon {
  font-size: 1.1rem;
  margin-right: .5rem;
}
.nav__dropdown-content {
  display: grid;
  row-gap: 1.2rem;
  padding: 1.3rem 2.2rem;
}
}

#sidebar-audio{
  width: 100%;
  /* height: 46px; */
  /* height: auto; */
  margin: 0;
  padding: 0;
}
audio::-webkit-media-controls {
  background-color: #f1f3f4!important;
  border-radius: 7px;
}

audio {
  opacity: 1; /* Makes the entire audio player semi-transparent */
}
/*-------------------------------------------------------------------------------------------------------*/

