/* Google Font Import - Poppins */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

:root{
  /* ===== Colors ===== */
  --primary-color-light: #F6F5FF;

  /* ====== Transition ====== */
  --tran-03: all 0.15s ease;
  --tran-04: all 0.3s ease;
  --tran-05: all 0.3s ease;
}

body{
  background-color: #171717!important;
  min-height: 100vh;
  transition: var(--tran-05);
  color: #18191a;
  --sidebar-color: #0D0D0D;
  --primary-color: #3a3b3c;
  --primary-color-light: #3a3b3c;
  --text-color: #ccc;
  overflow-x: hidden;
}

li:hover {
  color: #ccc;
}

::selection{
  background-color: rgba(204, 204, 204, 0.31);
  border-radius: 8px;
  color: #fff;
}

/* ===== Sidebar ===== */
.sidebar{
  position: fixed;
  height: 100%;
  width: 250px;
  padding: 10px 14px;
  background: var(--sidebar-color);
  transition: var(--tran-05);
  z-index: 100
}

.navbar-toggler {
  display: none;
}

@media screen and (max-width: 768px) {
  .sidebar {
    display: none!important;
  }

  .home {
    position: relative!important;
    width: 100% !important;
    left: 0!important;
  }

  .navbar-toggler {
    display: unset;
  }
}

.sidebar.close{
  width: 88px;
}

/* ===== Reusable code - Here ===== */
.sidebar li{
  height: 50px;
  list-style: none;
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.profile-picture-navbar {
  height: 32px;
  border-radius: 50%;
  vertical-align: -.7em;
}

.sidebar header .image,
.sidebar .icon{
  min-width: 60px;
  border-radius: 6px;
}

.sidebar .icon{
  min-width: 60px;
  border-radius: 6px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.navbar-nav span {
  transition: var(--tran-03);
  font-size: 17px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 1;
  font-family: "Proximanova"!important;
}

.sidebar .text,
.sidebar .icon{
  color: var(--text-color);
  transition: var(--tran-03);
}

.sidebar .text{
  font-size: 17px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 1;
}
.sidebar.close .text{
  opacity: 0;
}
/* =========================== */

.sidebar header{
  position: relative;
}

.sidebar header .image-text{
  display: flex;
  align-items: center;
}
.sidebar header .logo-text{
  display: flex;
  flex-direction: column;
}

header .image-text .name {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 600;
}

header .image-text .profession{
  font-size: 16px;
  margin-top: -2px;
  display: block;
}

.sidebar header .image{
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar header .image img{
  margin-top: 6px;
  width: 40px;
  border-radius: 50%;
}

.sidebar header .toggle{
  position: absolute;
  top: 50%;
  right: -25px;
  transform: translateY(-50%) rotate(180deg);
  height: 25px;
  width: 25px;
  background-color: var(--primary-color);
  color: var(--sidebar-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  transition: var(--tran-05);
}

.sidebar.close .toggle{
  transform: translateY(-50%) rotate(0deg);
}

.sidebar .menu{
  margin-top: 40px;
}

header a {
  text-decoration: none;
}

.sidebar li a{
  list-style: none;
  height: 100%;
  background-color: transparent;
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
  border-radius: 6px;
  text-decoration: none;
  transition: var(--tran-03);
}

.sidebar li a:hover{
  background-color: var(--primary-color);
}
.sidebar li a:hover .icon,
.sidebar li a:hover .text{
  color: #FFF;
}

.active-sidebar {
  background-color: #3A3B3C;
  border-radius: 6px;
}
.active-sidebar .icon,
.active-sidebar .text{
  color: #FFF;
}


.sidebar .menu-bar{
  height: calc(100% - 55px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

.menu-bar::-webkit-scrollbar{
  display: none !important;
}

.sidebar::-webkit-scrollbar{
  display: none !important;
}

.sidebar .menu-bar .mode{
  border-radius: 6px;
  background-color: var(--primary-color-light);
  position: relative;
  transition: var(--tran-05);
}

.menu-bar .mode .sun-moon{
  height: 50px;
  width: 60px;
}

.menu-bar .bottom-content .toggle-switch{
  position: absolute;
  right: 0;
  height: 100%;
  min-width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  cursor: pointer;
}


.home{
  position: absolute;
  top: 0;
  left: 250px;
  height: 100vh;
  width: calc(100% - 250px);
  transition: var(--tran-05);
}

.menu-bar span{
  font-family: "Proximanova";
}

.home .text{
  font-size: 30px;
  font-weight: 500;
  color: var(--text-color);
  padding: 12px 60px;
}

.sidebar.close ~ .home{
  left: 78px;
  height: 100vh;
  width: calc(100% - 78px);
}

#particles-js{
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0
}

#particles-js canvas {
  display:block;
  position: fixed;
  z-index: -5;
}
