:root {
  --main_color: #2a3647;
  --main_color_lighter: #2A3D59;
  --main_color_dark: #091931;
  --background_main: #f6f7f8;
  --card_color: #ffffff;
  --lightgray_font: #a8a8a8;
  --placeholder_color: #d1d1d1;
  --lightblue_font: #29abe2;
  --main_font: "Inter", sans-serif;
  --backup_font: system-ui, sans-serif;
}

.current_page {
  background-color: var(--main_color_dark);
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  flex-shrink: 0;
  flex-direction: column;
  max-width: 200px;
  width: 100%;
  height: 100vh;
  background-color: var(--main_color);
  color: var(--lightgray_font);
}

.sidebar_logo {
  margin-top: 50px;
}

.sidebar_menu_container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 1rem;
  font-family: var(--main_font);
}

.sidebar_menu {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  margin-inline: auto;
  padding: 8px 0px;
  gap: 0.5rem;
  text-decoration: none;
  box-sizing: border-box;
}

.sidebar_menu:focus {
  background-color: var(--main_color_dark);
  border-radius: 10px;
}

.sidebar_menu :first-child {
  width: auto;
  text-decoration: none;
}

.sidebar_menu :nth-child(2) {
  width: 100px;
  text-decoration: none;
  color: var(--lightgray_font);
}

.sidebar_menu:hover {
  cursor: pointer;
  background-color: var(--main_color_lighter);
  border-radius: 10px;
}

.sidebar_menu span:hover {
  color: var(--card_color);
}

.sidebar_footer_link {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  width: 100%;
  margin-bottom: 50px;
  gap: 0.5rem;
  font-family: var(--main_font);
}

.sidebar_footer_link a {
  width: 100%;
  padding-top: 8px;
  padding-bottom: 8px;
  text-decoration: none;
  font-size: 16px;
  color: var(--lightgray_font);
}

.sidebar_footer_link a:hover {
  cursor: pointer;
  color: var(--lightblue_font);
}

/********** MEDIA QUERY **********/

@media (max-width: 1000px) {
  .sidebar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: unset;
    justify-content: space-between;
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
    font-size: 12px;
  }

  .sidebar img,
  .sidebar_footer_link {
    display: none;
  }

  .sidebar_menu_container {
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
  }

  .sidebar_menu {
    flex-direction: column;
    width: auto;
    height: auto;
    padding: 8px 12px;
    text-align: center;
  }

  .sidebar_menu :nth-child(2) {
    width: auto;
  }
  .sidebar_menu img {
    display: block;
  }
}
