@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  background: #11101d;
  height: 100%;
  width: 260px;
  background: #11101d;
  /* z-index: 100; */
  transition: all 0.5s ease;
}

.sidebar.gizle {
  width: 60px;
  z-index: 100;
}

.sidebar .logo-details {
  height: 60px;
  width: 100%;
  display: flex;
  align-items: center;
}

.sidebar .logo-details i {
  font-size: 30px;
  color: #fff;
  /* background: red; */
  height: 40px;
  min-width: 60px;
  text-align: center;
  line-height: 40px;
  cursor: pointer;
}

.sidebar .logo-details .logo_name {
  font-size: 22px;
  color: #fff;
  font-weight: 600;
  transition: all 0.3s ease;
  transition-delay: 0.1s;
}

.sidebar.gizle .logo-details .logo_name {
  transition-delay: 0s;
  opacity: 0;
  pointer-events: none;
}

.sidebar .nav-links {
  /* background: red; */
  height: 100%;
  /* padding-top: 30px; */
  padding: 30px 0 150px 0;
  overflow: auto;
}

.sidebar .nav-links {
  overflow: visible;
}

.sidebar .nav-links::-webkit-scrollbar {
  display: none;
}

.sidebar .nav-links li {
  position: relative;
  list-style: none;
  transition: all 0.4s ease;
  cursor: pointer;
}

.sidebar .nav-links li a:hover {
  /* background-color: #1B1D31; */
  /* background-color: blue; */
}
.sidebar .nav-links li:hover {
  /* background-color: #1B1D31; */
  /* background-color: blue; */
}
.sidebar .nav-links li .icon-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar.gizle .nav-links li .icon-link {
  display: block;
}

.sidebar .nav-links li i {
  height: 50px;
  min-width: 60px;
  text-align: center;
  line-height: 50px;
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.3s ease;
}

.sidebar .nav-links li.showMenu i.arrow {
  transform: rotate(-180deg);
}

.sidebar.gizle .nav-links i.arrow {
  display: none;
}

.sidebar .nav-links li a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.sidebar .nav-links li a .link_name {
  font-size: 18px;
  font-weight: 400;
  color: #fff;
}

.sidebar.gizle .nav-links li a .link_name {
  opacity: 0;
  pointer-events: none;
}

.sidebar .nav-links li .sub-menu {
  padding: 6px 6px 14px 17px;
  margin-top: -10px;
  background: #1d1b31;
  display: none;
}

.sidebar .nav-links li.showMenu .sub-menu {
  display: block;
}

.sidebar .nav-links li .sub-menu a {
  color: #fff;
  font-size: 15px;
  padding: 5px 0;
  white-space: nowrap;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.sidebar .nav-links li .sub-menu a:hover {
  opacity: 1;
}

.sidebar.gizle .nav-links li .sub-menu {
  position: absolute;
  left: 100%;
  top: -10px;
  margin-top: 0;
  padding: 10px 20px;
  border-radius: 0 6px 6px 6px;
  opacity: 0;
  display: block;
  pointer-events: none;
  transition: 0s;
}

.sidebar.gizle .nav-links li:hover .sub-menu {
  transition: all 0.4s ease;
  top: 0;
  opacity: 1;
  pointer-events: auto;
}

.sidebar .nav-links li .sub-menu .link_name {
  display: none;
}

/* .sidebar.gizle .nav-links li .sub-menu .link_name {
    display: none;
} */

.sidebar.gizle .nav-links li .sub-menu .link_name {
  font-size: 18px;
  opacity: 1;
  display: block;
}

.sidebar .nav-links li .sub-menu.blank {
  opacity: 1;
  pointer-events: auto;
  padding: 3px 20px 6px 16px;
  opacity: 0;
  pointer-events: none;
}

.sidebar .nav-links li:hover .sub-menu.blank {
  top: 50%;
  transform: translateY(-50%);
}

.sidebar .profile-details {
  position: fixed;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1d1b31;
  padding: 6px 0;
  width: 260px;
  transition: all 0.5s ease;
}

.sidebar .profile-details .content {
  display: flex;
  align-items: center;
}

.sidebar .profile-details img {
  height: 48px;
  width: 48px;
  object-fit: cover;
  border-radius: 16px;
  margin: 0 14px 0 5px;
  background: #1d1b31;
  /* padding: 10px; */
}

.sidebar.gizle .profile-details img {
  padding: 10px;
}
/* .sidebar .profile-details .profile_name {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    white-space: nowrap;
} */
.sidebar .profile-details .profile_name,
.sidebar .profile-details .job {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
}

.sidebar.gizle .profile-details i,
.sidebar.gizle .profile-details .profile_name,
.sidebar.gizle .profile-details .job {
  display: none;
}

.sidebar.gizle .profile-details {
  background: none;
}

.sidebar .profile-details .job {
  font-size: 12px;
}

.sidebar.gizle ~ .home-section {
  left: 61px;
  width: calc(100% - 62px);
  /* width: 78px; */
}

.sidebar.gizle .profile-details {
  width: 78px;
  /* width: calc(100% - 78px); */
  /* width: 78px; */
}

.home-section {
  position: relative;
  /* background: blue; */
  /* background: #e4e9f7; */
  height: 100vh;
  left: 261px;
  width: calc(100% - 262px);
  transition: all 0.5s ease;
  top: 46px;
  bottom: 0;
  position: fixed;
}

.home-section .home-content {
  height: 60px;
  /* display: flex; */
  align-items: center;
}

.home-section .home-content .config {
  /* width: 100%; */
  display: flex;
  justify-content: center;
  
}

.home-section .home-content .bx-menu,
.home-section .home-content .text {
  color: #11101d;
  font-size: 35px;
}

.home-section .home-content .bx-menu {
  margin: 0 15px;
}

.home-section .home-content .text {
  font-size: 26px;
  font-weight: 600;
}

.navBar {
  position: absolute;
  display: flex;
  left: 260px;
  height: 45px;
  right: 1px;
  background: linear-gradient(-50deg, #1d1b31, transparent);
  transition: all 0.5s ease;
}

.sidebar.gizle ~ .navBar {
  left: 61px;
}

.navBar .titleBar {
  width: 100%;
  display: flex;
  justify-content: center;
}

.navBar .titleBarBtns {
  display: flex;
  flex-direction: row;
  width: 120px;
  height: 40px;
}

.topBtn {
  top: 2px;
  width: 40px;
  height: 40px;
  border: none;
  outline: none;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  transition: 0.2s;
  cursor: pointer;
  color: #fff;
  transition: all 0.5s ease;
}

.navBar .titleBarBtns .closeBtn:hover {
  background-color: #d01818;
  transition: all 0.5s ease;
}

.navBar .titleBarBtns .closeBtn:active {
  background-color: #b35353;
  transition: all 0.5s ease;
}

.topBtn:hover {
  background-color: #1b1d20;
  transition: all 0.5s ease;
}

/* .titleBarBtns >  */
.topBtn:active {
  background-color: #4f9fee;
  transition: all 0.5s ease;
}

@media screen and (max-height: 640px) {
  .profile-details {
    display: none !important;
  }
  .sidebar ~ .navBar {
    left: 260px;
  }


  .sidebar.gizle ~ .navBar {
    left: 60px;
  }
  .sidebar ~ .home-section {
    left: 261px;
    background-color: blue;
    width: calc(100% - 262px);
    /* right: 1px; */
    /* right: 5px; */
  }

  .sidebar.gizle ~ .home-section {
    left: 61px;
    background-color: blue;
    width: calc(100% - 62px);
    /* right: 5px; */
  }
}