:root {
  --main-color: #0072ff;
  --main-alt-color: #0073ff97;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  --webkit-box-sizing: border-box;
  --moz-box-sizing: border-box;
  user-select: none;
}
body {
  font-family: "Open Sans", sans-serif;
  background-color: #f1f5f9;
}
*:focus {
  outline: none;
}
i {
  font-size: 14px;
}
a {
  text-decoration: none;
}
ul {
  list-style: none;
}
::-webkit-scrollbar {
  width: 15px;
  cursor: pointer;
}
::-webkit-scrollbar-thumb {
  background-color: #0072ff;
  transition: 0.5s;
}
::-webkit-scrollbar-track {
  background-color: #ececec;
}
::-webkit-scrollbar-thumb:hover {
  background-color: #0073ff97;
}
.page {
  height: 100vh;
}
/* start Sidebar */
.sidebar {
  flex-basis: 20%;
  box-shadow: 0 0 10px #ddd;
}
.sidebar > h3 {
  margin-bottom: 50px;
  font-size: 24px;
}
.sidebar > h3::before,
.sidebar > h3::after {
  content: "";
  position: absolute;
  background-color: #000;
  left: 50%;
  transform: translateX(-50%);
}
.sidebar > h3::before {
  width: 82px;
  height: 2px;
  bottom: -20px;
}
.sidebar > h3::after {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 4px solid #fff;
  bottom: -29px;
}
.sidebar li a {
  transition: 0.3s;
}
.sidebar li a.active,
.sidebar li a:hover {
  background-color: #f6f6f6;
}
.sidebar li a span {
  margin-left: 10px;
  font-size: 14px;
}
@media (max-width: 767px) {
  .sidebar {
    padding: 10px;
  }
  .sidebar > h3 {
    position: absolute;
    left: 50%;
    margin: 0;
    top: 60px;
    transform: translateX(-50%) rotate(-90deg);
  }
  .sidebar > h3::before,
  .sidebar > h3::after {
    display: none;
  }
  .sidebar ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
  .sidebar li a {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
  }
  .sidebar li a i {
    font-size: 18px;
  }
  .sidebar li a span {
    display: none;
  }
}
/* End Sidebar */
/* Start Content */
.content {
  overflow: hidden;
}
.content .search {
  margin-left: 5px;
}
.content .search::before {
  font-family: "Font Awesome 6 Free";
  content: "\f002";
  font-weight: 900;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #000;
  font-size: 16px;
  cursor: pointer;
  padding: 8px;
  margin-right: 3px;
  display: flex;
  align-items: center;
  background-color: #ccc;
  /* border-radius: 10px 0 0 10px; */
}
.content .search input {
  width: 180px;
  padding-right: 40px;
  border: 2px solid #ccc;
  transition: 0.5s;
  font-size: 15px;
  border-radius: 10px 0 0 10px;
}
.content .search input:focus {
  width: 220px;
}
.content .search input::placeholder {
  transition: 0.5s;
}
.content .search input:focus::placeholder {
  opacity: 0;
}
.content .icons {
  gap: 15px;
}
.content .icons img {
  width: 32px;
  height: 32px;
  cursor: pointer;
}
.content .icons .notification::before {
  content: "";
  position: absolute;
  right: -5px;
  top: -5px;
  width: 8px;
  height: 8px;
  background-color: red;
  border-radius: 50%;
}
.content .icons .notification i {
  cursor: pointer;
}
@media (max-width: 767px) {
  .content .search input {
    width: 160px;
    font-size: 14px;
  }
  .content .search input:focus {
    width: 160px;
  }
}
.page h1 {
  margin: 20px 20px 40px;
}
.page h1::before,
.page h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  height: 4px;
  border-radius: 5px;
}
.page h1::before {
  background-color: #fff;
  width: 140px;
}
.page h1::after {
  background-color: #000;
  width: 50px;
}
.wrapper {
  grid-template-columns: repeat(auto-fill, minmax(250px px, 1fr));
  margin: 0 20px;
}
@media (max-width: 767px) {
  .wrapper {
    grid-template-columns: minmax(250px, 1fr);
    margin: 0 10px;
  }
}
/* End Content */
