:root {
  --color-primary: #4caf50;
  --color-text: #161c2d;
  --color-border: #ebeef1;
}

* {
  transition: all 0.5s;
}

body {
  font-family: "Nunito", sans-serif;
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: row;
  padding: 0px;
  margin: 0px;
  font-size: 16px;
}

a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem; /* Base text size */
}

a i {
  font-size: 1.25em;
}

a:hover,
a:focus,
a.active {
  color: var(--color-primary);
}

#main-sidebar {
  width: 10rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-inline: 1em;
  border-right: 1px solid var(--color-border);
  padding-block: 1rem;
}

#main-sidebar .logo img {
  width: 100%;
}

header {
  margin: -2em;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
}

#main-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#main-sidebar nav a {
  font-weight: 600;
}

#main-content {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

button {
  background: #4caf50;
  line-height: 2em;
  padding-inline: 1em;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: 500;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
