@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;800&family=Poppins:wght@300;400;500;600;700&display=swap");

* {
  font-family: "Poppins", "sans-sarif";
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --body-color: #e4e9f7;
  --sidebar-color: #fff;
  --primary-color: #f4f2f2;
  --primary-color-light: #f4f2f2;
  --toggle-color: #ddd;
  --text-color: #707070;
  --dark-color: #000;

  --trans-02: all 0.2s ease;
  --trans-03: all 0.3s ease;
  --trans-04: all 0.4s ease;
  --trans-04: all 0.5s ease;
}

body {
  height: 100%;
  background-color: var(--body-color);
  transition: var(--trans-02);
}




.sidebar .text {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-color);
  white-space: unset;
  opacity: 1;
}

.sidebar .image {
  min-width: 60px;
  display: flex;
  align-items: center;
}


.sidebar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0px;
  height: 100%;
  width: 250px;
  background-color: var(--sidebar-color);
  padding: 10px 5px;
  transition: var(--trans-02);
}

.sidebar header {
  position: relative;
}
.sidebar .image-text img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.sidebar header .image-text {
  display: flex;
  align-items: center;
}

.header .image-text .header-text {
  display: flex;
  flex-direction: column;
}

.header-text .main {
  font-weight: 600;
}

.header-text .sub {
  margin-top: -2px;
}
.burgerel{
  display: none;
}
.sidebar header .toggle {
  position: absolute;
  top: 50%;
  right: -25px;
  transform: translateY(-50%) rotate(180deg);
  height: 25px;
  width: 25px;
  background-color: var(--dark-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--sidebar-color);
  font-size: 22px;
}

.sidebar li {
  height: 50px;
  /* background-color: red; */
  margin-top: 10px;
  list-style: none;
  display: flex;
  align-items: center;
}

.sidebar li .icons {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  font-size: 20px;
}
.sidebar li .icons,
.sidebar li .text {
  color: var(--text-color);
  transition: var(--trans-03);
}

.sidebar .search-bar input {
  width: 100%;
  height: 100%;
  outline: none;
  border: none;
  border-radius: 6px;
  background-color: var(--primary-color-light);
}
.sidebar .search-bar {
  background-color: var(--primary-color-light);
}

.sidebar li a {
  height: 100%;
  width: 100%;
  text-decoration: none;
  display: flex;
  align-items: center;
  padding-right: 50px;
  border-radius: 6px;
  transition: var(--trans-04);
  text-align: left;
}


.sidebar li a:hover .icons,
.sidebar li a:hover .text {
  color: var(--dark-color);
}

.sidebar .menu-bar {
  height: 100%;
  height: calc(100% - 50px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sidebar .groups a{
  margin-top: 0;
  margin-left: 10px;
  
}
.sidebar .groups li{
  margin-top: 0px;
  height: 50px;

}

@media screen and (max-width: 800px) {
  .container2 {
    z-index: 1;
    position: absolute;
    top: 50px;
    margin-left: 150px;
  }
  .sidebar.close {
    width: 250px;
  }
  .sidebar.close .text {
    opacity: 1;
  }
  .sidebar.close .search-bar {
    background-color: var(--primary-color-light);
  }
  
  body.dark .search-bar input {
    color: white;
  }
  
  .sidebar.close .toggle {
    transform: translateY(0%);
  }
  .sidebar{
    width: 78px;
  }
  .sidebar .text {
    opacity: 0;
  }
  .sidebar .search-bar {
    background-color: var(--sidebar-color);
  }
}
.sidebar.close {
  width: 78px;
}
.sidebar.close .text {
  opacity: 0;
}
.sidebar.close .search-bar {
  background-color: var(--sidebar-color);
}

.sidebar.close .toggle {
  transform: translateY(-50%);
}
.alert {
  z-index: 2000;
    position: fixed;
  
    width: calc(100vw - 250px);
    background-color: #f44336; /* Red */
    color: white;
    padding: 20px;
  
    margin-left: 250px;
  
  }
  
  /* The close button */
  .closebtn a{
    margin-right: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
  }
  
  /* When moving the mouse over the close button */
  .closebtn a:hover {
    color: black;
  }