.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
  min-width: 100%;
  padding: 24px;
  background: var(--color-1);
}

.name {
  font-size: 24px;
  font-weight: 700;
}

.nav-list {
  list-style: none;
}

.nav-button {
  margin-left: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-base);
  text-decoration: none;
}

.active {
  color: var(--accent);
}

@media screen and (max-width: 500px) {
  .nav {
    padding: 12px;
  }

  .nav-button {
    margin-left: 12px;
  }

  .name {
    font-size: 16px;
  }
}

@media screen and (max-width: 400px) {
  .name {
    display: none;
  }

  .nav-list {
    display: flex;
    justify-content: center;
    width: 100%;
  }
}
