.form__max-width {
  max-width: 500px;
  margin: 50px auto;
  border: 1px solid black;
  padding: 20px;
  border-radius: 5px;
}
.dashboard {
  display: flex;
}
.dashboard__sidebar {
  background-color: rgb(0, 0, 0);
  color: white;
  width: max-content;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  flex: 0.1;
}
.dashboard__sidebar--top {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dashboard__sidebar--top > a {
  text-decoration: none;
  color: rgb(255, 255, 255);
}
.dashboard__content {
  padding: 20px;
  flex: 0.9;
  background-color: aliceblue;
}
.stats {
  display: flex;
  padding: 20px;
  justify-content: space-around;
}
.stat_card {
  background-color: rgb(0, 0, 0);
  padding: 10px 20px;
  border-radius: 10px;
  color: white;
}
.stat_card:nth-child(2) {
  background-color: red;
}
.stat_card:nth-child(3) {
  background-color: rgb(0, 26, 255);
}
.stat_card:nth-child(4) {
  background-color: rgb(0, 151, 8);
}
.stat_card > p {
  font-size: 25px;
  font-weight: 500;
}
.stat_card > span {
  font-size: 35px;
  font-weight: bold;
  text-align: center;
}
.card__width {
  max-width: 300px;
  margin: 20px auto;
}
.menu {
  display: none;
}

.menu_content {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 20px;
  background-color: black;
  z-index: 5;
  display: none;
}

.menu_header {
  display: flex;
  justify-content: space-between;
  color: white;
  margin-bottom: 20px;
}
.nav-link {
  color: white;
  font-size: 15px;
  font-weight: 500;
}

@media screen and (max-width: 1000px) {
  .dashboard {
    flex-direction: column;
    height: 100vh;
  }
  .dashboard__sidebar {
    background-color: rgb(0, 0, 0);
    color: white;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 5px 20px;
  }
  .dashboard__sidebar--top {
    display: flex;
    flex-direction: row;
  }

  .dashboard__sidebar--top > a {
    font-size: 14px;
  }
  .stat_card {
    padding: 10px;
  }
  .stat_card > p {
    font-size: 15px;
    font-weight: 500;
  }
  .stat_card > span {
    font-size: 25px;
    font-weight: bold;
    text-align: center;
  }
}

@media screen and (max-width: 670px) {
  .menu {
    display: inline-block;
  }
  .dashboard__sidebar--top > a {
    font-size: 14px;
    display: none;
  }
  .stats {
    flex-direction: column;
    gap: 10px;
  }
  .stat_card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 200px;
  }
  .stat_card > p {
    margin: 0;
  }
  .stat_card > span {
    font-size: 20px;
    font-weight: 500;
  }
}
