@font-face {
    font-family: "GT Walsheim Pro Regular";
    src: url("fonts/GT-Walsheim-Pro-Regular.woff");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "GT Walsheim Pro Regular", serif;
}
:root {
  --navbar-color: linear-gradient(90deg, #F04031 0%, #5636F0 100%);
  --blue-color: #4070f4;
  --grey-color: #707070;
  --shadow-color: rgba(0, 0, 0, 0.25);;
}
body {
  transition: all 0.5s ease;
  min-height: 100vh;
  background: #eef5fe;
}
body.dark {
  background-color: #333;
}
body.dark {
  --navbar-color: linear-gradient(90deg, #F04031 0%, #5636F0 100%);
  --blue-color: #fff;
  --grey-color: #f2f2f2;
  --shadow-color: rgba(0, 0, 0, 0.25);;
}

/* Pre css */
.flex {
  display: flex;
}

.flex-center {
  align-items: center;
}
.nav_image {
  min-width: 55px;
}
.nav_image img {
  height: 56px;
  width: auto;
}

.n55 {
  margin-left: -55px;
}

.nav_image_full {
  height: 70px !important;
}

.pl-20 {
  padding-left: 20px;
}

.pl-40 {
  padding-left: 40px;
}

/* navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  left: 0;
  background: var(--navbar-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 30px;
  z-index: 1000;
  box-shadow: 0 -2px 4px 0 var(--shadow-color);
}
.logo_item {
  display: flex;
  align-items: center;
  column-gap: 10px;
  font-size: 22px;
  font-weight: 500;
  color: var(--blue-color);
}
.navbar img {
  width: 100px;
  height: auto;
  object-fit: cover;
}
.search_bar {
  height: 47px;
  max-width: 430px;
  width: 100%;
}

.navbar_content {
  display: flex;
  align-items: center;
  column-gap: 25px;
}
.navbar_content i {
  cursor: pointer;
  font-size: 20px;
  color: var(--grey-color);
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 62.84px;
  left: 0;
  height: calc(100% - 62.84px);
  width: 300px;
  border-radius: 0 8px 8px 0;
  background: #F7F7F7;
  box-shadow: 2px 0 16.4px 0 rgba(0, 0, 0, 0.25);
  padding-top: 20px;
  transition: all 0.4s ease;
}
.sidebar.close {
  width: calc(55px + 20px);
}

.logo_name {
  transition: all 0.3s ease;
}
.sidebar.close .logo_name,
.sidebar.close #lock-icon,
.sidebar.close #sidebar-close {
  opacity: 0;
  pointer-events: none;
}
#lock-icon,
#sidebar-close {
  padding: 10px;
  color: #4070f4;
  font-size: 25px;
  cursor: pointer;
  margin-left: -4px;
  transition: all 0.3s ease;
}
#sidebar-close {
  display: none;
  color: #333;
}
.menu_container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 0px;
  overflow-y: auto;
  height: calc(100% - 82px);
}
.menu_container::-webkit-scrollbar {
  display: none;
}
.menu_title {
  position: relative;
  height: 50px;
  width: 55px;
}
.menu_title .title {
  margin-left: 15px;
  transition: all 0.3s ease;
}
.sidebar.close .title {
  opacity: 0;
}
.menu_title .line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 3px;
  width: 20px;
  border-radius: 25px;
  background: #aaa;
  transition: all 0.3s ease;
}
.menu_title .line {
  opacity: 0;
}
.sidebar.close .line {
  opacity: 1;
}
.item {
  list-style: none;
}
.link {
  text-decoration: none;
  margin-bottom: 8px;
  color: #000;
}
.link:hover {
  color: #000;
  background-color: #DDD;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.link span {
  white-space: nowrap;
}

.link img {
  height: 50px;
  min-width: 55px;
  object-fit: scale-down;
}


@media screen and (max-width: 800px) {
  .sidebar {
    left: 0;
    z-index: 1000;
  }
  .sidebar.close {
    left: -100%;
  }
  #sidebar-close {
    display: block;
  }
  #lock-icon {
    display: none;
  }
  #sidebar-open {
    display: block;
  }
}
