*{
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* section1 */
.leftbar{
    height: 100vh;
    background-color: antiquewhite;
    width: 250px;
    margin: 0;
    padding: 0;
    box-shadow: 1px;
    font-size: larger;
    text-align:left;
}

.pages{
    display: inline-block;
    justify-content: space-between;
    padding-left: 20px;
        
}

a{
    text-decoration: none;
    color: grey;
    font-size: 20px;
    font-weight: 500;
}

.setting{
    margin-top: 400px;
}


body {
    margin: 0;
    font-family: Arial;
    background: #f4f6fb;
  }
  
  .main {
    display: flex;
  }
  
  /* SIDEBAR */
  .sidebar {
    width: 200px;
    background: white;
    height: 100vh;
    padding: 20px;
  }
  
  .sidebar h2 {
    color: #7e78ec;
  }
  
  .sidebar ul {
    list-style: none;
    padding: 0;
  }
  
  .sidebar li {
    margin: 15px 0;
    color: #555;
  }

  /* .sidebar li:hover{
    cursor: pointer;
    background-color: #b7b5b5;
    border-radius: 4px;
    width: 101px;
  } */

  .DashStyle:hover{
    cursor: pointer;
    background-color: #b7b5b5;
    border-radius: 4px;
    width: 103px;
  }

  .transStyle:hover{
    cursor: pointer;
    background-color: #b7b5b5;
    border-radius: 4px;
    width: 116px;
  }

  .insightStyle:hover{
    cursor: pointer;
    background-color: #b7b5b5;
    border-radius: 4px;
    width: 75px;
  }

  
  /* CONTENT */
  .content {
    flex: 1;
    padding: 20px;
  }
  
  /* TOPBAR */
  .topbar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
  }
  
  /* CARDS */
  .cards {
    display: flex;
    gap: 15px;
  }
  
  .card {
    height: 35px;
    flex: 1;
    padding: 20px;
    font-size: 22px;
    border-radius: 12px;
    color: white;
  }
  
  /* .blue { background: #3b82f6; }
  .green { background: #10b981; }
  .pink { background: #ec4899; } */

  /* new colors */
  .blue { background:  linear-gradient(90deg,#77BEF0 35%, rgba(209, 203, 203, 1) 100%);}
  .green { background: linear-gradient(90deg,#FF88BA 35%, rgba(209, 203, 203, 1) 100%); }
  .pink { background: linear-gradient(90deg,rgba(140, 199, 196, 1) 35%, rgba(209, 203, 203, 1) 100%); }

  
  /* CHARTS */
  .charts {
    display: flex;
    gap: 20px;
    margin-top: 20px;
  }
  
  .chart-box {
    background: white;
    padding: 15px;
    border-radius: 12px;
    flex: 1;
  }
  
  /* TRANSACTIONS */
  .transactions {
    margin-top: 20px;
    background: white;
    padding: 15px;
    border-radius: 12px;
  }
  
  .item {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
  }
  
  /* INSIGHT */
  .insight {
    margin-top: 20px;
    background: white;
    padding: 15px;
    border-radius: 12px;
  }

  .footer{
    width: 100vw;
    height: 30px;
    background-color: white;
    text-align: center;
    padding: 10px;
    text-decoration: none;
  }

 

  /* tablets */
@media (max-width: 900px) {
    .main {
      flex-direction: column;
    }
  
    .sidebar {
      width: 100%;
      height: auto;
      display: flex;
      justify-content: space-between;
    }
  
    .cards {
      flex-direction: column;
    }
  
    .charts {
      flex-direction: column;
    }
  }
  
  /* mobile */
  @media (max-width: 600px) {
    .topbar {
      flex-direction: column;
      gap: 10px;
    }
  
    .sidebar ul {
      display: flex;
      gap: 15px;
      font-size: 14px;
    }
  
    .card {
      font-size: 14px;
      padding: 15px;
    }
  
    .chart-box {
      padding: 10px;
    }
  
    .transactions, .insight {
      padding: 10px;
    }
  }