/* Googlefont Poppins CDN Link */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
}
.sidebar{
  position: fixed;
  height: 100%;
  width: 240px;
  background: #0A2558;
  transition: all 0.5s ease;
}
.sidebar.active{
  width: 60px;
}
.sidebar .logo-details{
  height: 80px;
  display: flex;
  align-items: center;
}
.sidebar .logo-details i{
  font-size: 28px;
  font-weight: 500;
  color: #fff;
  min-width: 60px;
  text-align: center
}
.sidebar .logo-details .logo_name{
  color: #fff;
  font-size: 24px;
  font-weight: 500;
}
.sidebar .nav-links{
  margin-top: 10px;
}
.sidebar .nav-links li{
  position: relative;
  list-style: none;
  height: 50px;
}
.sidebar .nav-links li a{
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.4s ease;
}
.sidebar .nav-links li a.active{
  background: #081D45;
}
.sidebar .nav-links li a:hover{
  background: #081D45;
}
.sidebar .nav-links li i{
  min-width: 60px;
  text-align: center;
  font-size: 18px;
  color: #fff;
}
.sidebar .nav-links li a .links_name{
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
}
.sidebar .nav-links .log_out{
  position: absolute;
  bottom: 0;
  width: 100%;
}
.home-section{
  position: relative;
  background: #f5f5f5;
  min-height: 100vh;
  width: calc(100% - 240px);
  left: 240px;
  transition: all 0.5s ease;
}
.sidebar.active ~ .home-section{
  width: calc(100% - 60px);
  left: 60px;
}
.home-section nav{
  display: flex;
  justify-content: space-between;
  height: 80px;
  background: #fff;
  display: flex;
  align-items: center;
  position: fixed;
  width: calc(100% - 240px);
  left: 240px;
  z-index: 100;
  padding: 0 20px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
}
.sidebar.active ~ .home-section nav{
  left: 60px;
  width: calc(100% - 60px);
}
.home-section nav .sidebar-button{
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 500;
}
nav .sidebar-button i{
  font-size: 35px;
  margin-right: 10px;
}
.home-section nav .search-box{
  position: relative;
  height: 50px;
  max-width: 550px;
  width: 100%;
  margin: 0 20px;
}
nav .search-box input{
  height: 100%;
  width: 100%;
  outline: none;
  background: #F5F6FA;
  border: 2px solid #EFEEF1;
  border-radius: 6px;
  font-size: 18px;
  padding: 0 15px;
}
nav .search-box .bx-search{
  position: absolute;
  height: 40px;
  width: 40px;
  background: #2697FF;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 4px;
  line-height: 40px;
  text-align: center;
  color: #fff;
  font-size: 22px;
  transition: all 0.4 ease;
}
.home-section nav .profile-details{
  display: flex;
  align-items: center;
  background: #F5F6FA;
  border: 2px solid #EFEEF1;
  border-radius: 60vw;
  height: 50px;
  min-width: 170px;
  padding: 0 0px 0 2px;
}
nav .profile-details img{
  height: 40px;
  width: 40px;
  border-radius: 20px;
  object-fit: cover;
}
/* -----menu---- */
.menubar112{
  width: 20vw;
  height: 70vh;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 5%;
  right: 0%;
  display: none;
  padding: 2vw 0 ;
  z-index: 1;
  background: #081D45;
}

.pp1{
  color: white;
}


nav .profile-details .admin_name{
  font-size: 15px;
  font-weight: 500;
  color: #333;
  margin: 0 10px;
  white-space: nowrap;
}
nav .profile-details i{
  font-size: 25px;
  color: #333;
}
.home-section .home-content{
  position: relative;
  padding-top: 104px;
}
.home-content .overview-boxes{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 20px;
  margin-bottom: 26px;
}
.overview-boxes .box17{
  display: flex;
  /* width: calc(100% / 4 - 15px); */
  background: #fff;
  padding: 15px 14px;
  border-radius: 12px;
  width: 80vw;
  height: 85vh;

  display: none;
  background-image: linear-gradient(120deg, #d4fc79 0%, #96e6a1 100%);
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}
.overview-boxes .box-topic17{
  font-size: 20px;
  font-weight: 500;
}

/* -----b-------- */

.overview-boxes .box1{
  display: flex;
  /* width: calc(100% / 4 - 15px); */
  background: #fff;
  padding: 15px 14px;
  border-radius: 12px;
  width: 80vw;
  height: 85vh;

  display: none;
  background-image: linear-gradient(to right, #8360c3, #2ebf91);
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}
.overview-boxes .box-topic1{
  font-size: 20px;
  font-weight: 500;
}

/* -----c-------- */

.overview-boxes .box2{
  display: flex;
  /* width: calc(100% / 4 - 15px); */

  padding: 15px 14px;
  border-radius: 12px;
  width: 80vw;
  height: 85vh;
  display: none;
  background-image: linear-gradient(to right, #fc5c7d, #6a82fb);
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}
.overview-boxes .box-topic2{
  font-size: 20px;
  font-weight: 500;
}

/* -----D-------- */

.overview-boxes .box3{
    display: flex;
    /* width: calc(100% / 4 - 15px); */
  
    padding: 15px 14px;
    border-radius: 12px;
    width: 80vw;
    height: 85vh;
    display: none;
    background-image: linear-gradient(to right, #c6ffdd, #fbd786, #f7797d);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }
  .overview-boxes .box-topic3{
    font-size: 20px;
    font-weight: 500;
  }

/* -----E-------- */

.overview-boxes .box4{
    display: flex;
    /* width: calc(100% / 4 - 15px); */
  
    padding: 15px 14px;
    border-radius: 12px;
    width: 80vw;
    height: 85vh;
    display: none;
    background-image: linear-gradient(to right, #870000, #190a05);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }
  .overview-boxes .box-topic4{
    font-size: 20px;
    font-weight: 500;
  }
  /* -----F-------- */

.overview-boxes .box5{
    display: flex;
    /* width: calc(100% / 4 - 15px); */
  
    padding: 15px 14px;
    border-radius: 12px;
    width: 80vw;
    height: 85vh;
    display: none;
    background-image: radial-gradient(circle farthest-side, #fceabb, #f8b500);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }
  .overview-boxes .box-topic5{
    font-size: 20px;
    font-weight: 500;
  }
  /* -----G-------- */

.overview-boxes .box6{
    display: flex;
    /* width: calc(100% / 4 - 15px); */
  
    padding: 15px 14px;
    border-radius: 12px;
    width: 80vw;
    height: 85vh;
    display: none;
    background-color: #ff26fb;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }
  .overview-boxes .box-topic6{
    font-size: 20px;
    font-weight: 500;
  }

  /* -----H-------- */

.overview-boxes .box7{
    display: flex;
    /* width: calc(100% / 4 - 15px); */
  
    padding: 15px 14px;
    border-radius: 12px;
    width: 80vw;
    height: 85vh;
    display: none;
    background-color: #ff2679;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }
  .overview-boxes .box-topic7{
    font-size: 20px;
    font-weight: 500;
  }
  /* -----I-------- */

.overview-boxes .box8{
    display: flex;
    /* width: calc(100% / 4 - 15px); */
  
    padding: 15px 14px;
    border-radius: 12px;
    width: 80vw;
    height: 85vh;
    display: none;
    background-color: #26ff8f;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }
  .overview-boxes .box-topic8{
    font-size: 20px;
    font-weight: 500;
  }

@media (max-width: 1150px) {
  .home-content .sales-boxes{
    flex-direction: column;
  }
  .home-content .sales-boxes .box{
    width: 100%;
    overflow-x: scroll;
    margin-bottom: 30px;
  }
  .home-content .sales-boxes .top-sales{
    margin: 0;
  }
}
@media (max-width: 1000px) {
  .overview-boxes .box{
    width: calc(100% / 2 - 15px);
    margin-bottom: 15px;
  }
}
@media (max-width: 700px) {
  nav .sidebar-button .dashboard,
  nav .profile-details .admin_name,
  nav .profile-details i{
    display: none;
  }
  .home-section nav .profile-details{
    height: 50px;
    min-width: 40px;
  }
  .home-content .sales-boxes .sales-details{
    width: 560px;
  }
}
@media (max-width: 550px) {
  .overview-boxes .box{
    width: 100%;
    margin-bottom: 15px;
  }
  .sidebar.active ~ .home-section nav .profile-details{
    display: none;
  }
}
  @media (max-width: 400px) {
  .sidebar{
    width: 0;
  }
  .sidebar.active{
    width: 60px;
  }
  .home-section{
    width: 100%;
    left: 0;
  }
  .sidebar.active ~ .home-section{
    left: 60px;
    width: calc(100% - 60px);
  }
  .home-section nav{
    width: 100%;
    left: 0;
  }
  .sidebar.active ~ .home-section nav{
    left: 60px;
    width: calc(100% - 60px);
  }
  

  
}
 